src/gui.h

changeset 604
01bdac75994a
parent 603
47e7773c7841
child 606
3dd6f343ec06
equal deleted inserted replaced
603:47e7773c7841 604:01bdac75994a
90 // Large and in charge. 90 // Large and in charge.
91 // ============================================================================= 91 // =============================================================================
92 class ForgeWindow : public QMainWindow 92 class ForgeWindow : public QMainWindow
93 { 93 {
94 Q_OBJECT 94 Q_OBJECT
95
96 typedefs:
97 using ActionMethodType = void (ForgeWindow::*)();
98 95
99 public: 96 public:
100 ForgeWindow(); 97 ForgeWindow();
101 void buildObjList(); 98 void buildObjList();
102 void updateTitle(); 99 void updateTitle();
128 inline void setQuickColors (QList<LDQuickColor>& colors) 125 inline void setQuickColors (QList<LDQuickColor>& colors)
129 { 126 {
130 m_quickColors = colors; 127 m_quickColors = colors;
131 } 128 }
132 129
133 void setStatusBarText (str text);
134 void addMessage (str msg); 130 void addMessage (str msg);
135 Ui_LDForgeUI* getInterface() const;
136 void refreshObjectList(); 131 void refreshObjectList();
137 void updateActionShortcuts(); 132 void updateActionShortcuts();
138 KeySequenceConfig* shortcutForAction (QAction* act); 133 KeySequenceConfig* shortcutForAction (QAction* act);
139 void endAction(); 134 void endAction();
140 135

mercurial