66 // ========================================================================= |
66 // ========================================================================= |
67 // Quick color toolbar tab |
67 // Quick color toolbar tab |
68 QListWidget* lw_quickColors; |
68 QListWidget* lw_quickColors; |
69 QPushButton* pb_addColor, *pb_delColor, *pb_changeColor, *pb_addColorSeparator, |
69 QPushButton* pb_addColor, *pb_delColor, *pb_changeColor, *pb_addColorSeparator, |
70 *pb_moveColorUp, *pb_moveColorDown, *pb_clearColors; |
70 *pb_moveColorUp, *pb_moveColorDown, *pb_clearColors; |
71 std::vector<QListWidgetItem*> quickColorItems; |
71 vector<QListWidgetItem*> quickColorItems; |
72 std::vector<quickColorMetaEntry> quickColorMeta; |
72 vector<quickColorMetaEntry> quickColorMeta; |
73 |
73 |
74 // ========================================================================= |
74 // ========================================================================= |
75 // Grid tab |
75 // Grid tab |
76 QLabel* lb_gridLabels[3]; |
76 QLabel* lb_gridLabels[3]; |
77 QLabel* lb_gridIcons[3]; |
77 QLabel* lb_gridIcons[3]; |
93 void makeSlider (QSlider*& slider, short min, short max, short defval); |
93 void makeSlider (QSlider*& slider, short min, short max, short defval); |
94 void setButtonBackground (QPushButton* qButton, str zValue); |
94 void setButtonBackground (QPushButton* qButton, str zValue); |
95 void pickColor (strconfig& cfg, QPushButton* qButton); |
95 void pickColor (strconfig& cfg, QPushButton* qButton); |
96 void updateQuickColorList (quickColorMetaEntry* pSel = null); |
96 void updateQuickColorList (quickColorMetaEntry* pSel = null); |
97 void setShortcutText (QListWidgetItem* qItem, actionmeta meta); |
97 void setShortcutText (QListWidgetItem* qItem, actionmeta meta); |
98 long getItemRow (QListWidgetItem* qItem, std::vector<QListWidgetItem*>& haystack); |
98 long getItemRow (QListWidgetItem* qItem, vector<QListWidgetItem*>& haystack); |
99 str makeColorToolBarString (); |
99 str makeColorToolBarString (); |
100 QListWidgetItem* getSelectedQuickColor (); |
100 QListWidgetItem* getSelectedQuickColor (); |
101 QList<ShortcutListItem*> getShortcutSelection (); |
101 QList<ShortcutListItem*> getShortcutSelection (); |
102 |
102 |
103 private slots: |
103 private slots: |