Differences From Artifact [c64a4c6e90]:
- File QtWidgets/QtAction.h — part of check-in [d43a881019] at 2017-04-15 02:16:34 on branch trunk — Add QtAction and add more methods to QtWidget (user: js, size: 2532) [annotate] [blame] [check-ins using]
To Artifact [f6acd86617]:
- File QtWidgets/QtAction.h — part of check-in [3ece549448] at 2017-04-15 17:18:52 on branch trunk — Make toOF/toQt more powerful and complete QtWidget (user: js, size: 2796) [annotate] [blame] [check-ins using]
- File
src/QtWidgets/QtAction.h
— part of check-in
[baf52ea3b1]
at
2017-04-17 23:25:45
on branch trunk
— Add a proper build system
Also lowers the minimum required Qt version to 5.5. (user: js, size: 2796) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
52 53 54 55 56 57 58 59 60 61 62 63 64 65 | - (QList<QGraphicsWidget*>)associatedGraphicsWidgets; - (OFArray OF_GENERIC(QtWidget*)*)associatedWidgets; - (QVariant)data; - (bool)isSeparator; - (QMenu*)menu; - (QtWidget*)parentWidget; - (void)setActionGroup: (QActionGroup*)group; - (void)setMenu: (QMenu*)menu; - (void)setSeparator: (bool)isSeparator; - (void)setShortcuts: (const QList<QKeySequence>&)shortcuts; - (void)setShortcutsWithStandardKey: (QKeySequence::StandardKey)key; - (QList<QKeySequence>)shortcuts; - (bool)showStatusText: (QtWidget*)widget; @end | > > > > > > > > > > > > > > > > > | 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | - (QList<QGraphicsWidget*>)associatedGraphicsWidgets; - (OFArray OF_GENERIC(QtWidget*)*)associatedWidgets; - (QVariant)data; - (bool)isSeparator; - (QMenu*)menu; - (QtWidget*)parentWidget; - (void)setActionGroup: (QActionGroup*)group; - (void)setData: (const QVariant&)data; - (void)setMenu: (QMenu*)menu; - (void)setSeparator: (bool)isSeparator; - (void)setShortcuts: (const QList<QKeySequence>&)shortcuts; - (void)setShortcutsWithStandardKey: (QKeySequence::StandardKey)key; - (QList<QKeySequence>)shortcuts; - (bool)showStatusText: (QtWidget*)widget; @end namespace ObjQt { static OF_INLINE QtAction* toOF(QAction *qAction) { return [[[QtAction alloc] initWithQAction: qAction] autorelease]; } static OF_INLINE QAction* toQt(QtAction *action) { return [action qAction]; } } |