src/gui.h

changeset 540
0334789cb4d7
parent 539
72ad83a67165
child 542
46a33bdc0b36
equal deleted inserted replaced
539:72ad83a67165 540:0334789cb4d7
57 #define SHIFT(N) (Qt::SHIFT | Qt::Key_##N) 57 #define SHIFT(N) (Qt::SHIFT | Qt::Key_##N)
58 #define CTRL_SHIFT(N) (Qt::CTRL | Qt::SHIFT | Qt::Key_##N) 58 #define CTRL_SHIFT(N) (Qt::CTRL | Qt::SHIFT | Qt::Key_##N)
59 59
60 // ============================================================================= 60 // =============================================================================
61 class LDQuickColor 61 class LDQuickColor
62 { PROPERTY (public, LDColor*, Color, NO_OPS, NO_CB) 62 { PROPERTY (public, LDColor*, Color, NO_OPS, STOCK_WRITE)
63 PROPERTY (public, QToolButton*, ToolButton, NO_OPS, NO_CB) 63 PROPERTY (public, QToolButton*, ToolButton, NO_OPS, STOCK_WRITE)
64 64
65 public: 65 public:
66 LDQuickColor (LDColor* color, QToolButton* toolButton); 66 LDQuickColor (LDColor* color, QToolButton* toolButton);
67 bool isSeparator() const; 67 bool isSeparator() const;
68 68

mercurial