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 |