gui.h

changeset 177
4cdd408f2863
parent 176
84132e178d46
equal deleted inserted replaced
176:84132e178d46 177:4cdd408f2863
138 LDObject::Type uniformSelectedType (); 138 LDObject::Type uniformSelectedType ();
139 void scrollToSelection (); 139 void scrollToSelection ();
140 void spawnContextMenu (const QPoint pos); 140 void spawnContextMenu (const QPoint pos);
141 DelHistory* deleteObjVector (const std::vector<LDObject*> objs); 141 DelHistory* deleteObjVector (const std::vector<LDObject*> objs);
142 DelHistory* deleteSelection (); 142 DelHistory* deleteSelection ();
143 DelHistory* deleteGroup (const LDObject::Group group); 143 DelHistory* deleteByColor (const short colnum);
144 GLRenderer* R () { return m_renderer; } 144 GLRenderer* R () { return m_renderer; }
145 std::vector<LDObject*>& sel () { return m_sel; } 145 std::vector<LDObject*>& sel () { return m_sel; }
146 void setQuickColorMeta (std::vector<quickColorMetaEntry>& quickColorMeta) { 146 void setQuickColorMeta (std::vector<quickColorMetaEntry>& quickColorMeta) {
147 m_colorMeta = quickColorMeta; 147 m_colorMeta = quickColorMeta;
148 } 148 }
242 std::vector<quickColorMetaEntry> parseQuickColorMeta (); 242 std::vector<quickColorMetaEntry> parseQuickColorMeta ();
243 bool confirm (str title, str msg); 243 bool confirm (str title, str msg);
244 bool confirm (str msg); 244 bool confirm (str msg);
245 void critical (str msg); 245 void critical (str msg);
246 QAction* findAction (str name); 246 QAction* findAction (str name);
247 void makeGroupSelector (QComboBox* box); 247 void makeColorSelector (QComboBox* box);
248 248
249 // ----------------------------------------------------------------------------- 249 // -----------------------------------------------------------------------------
250 // Pointer to the instance of ForgeWindow. 250 // Pointer to the instance of ForgeWindow.
251 extern ForgeWindow* g_win; 251 extern ForgeWindow* g_win;
252 252

mercurial