src/gui.h

changeset 266
12e7302f14e9
parent 255
67d4aedf1041
child 283
c5401af41685
equal deleted inserted replaced
265:955c0aabfebf 266:12e7302f14e9
27 27
28 class QComboBox; 28 class QComboBox;
29 class ForgeWindow; 29 class ForgeWindow;
30 class color; 30 class color;
31 class QSplitter; 31 class QSplitter;
32 class DelHistory;
33 class QToolButton; 32 class QToolButton;
34 class QDialogButtonBox; 33 class QDialogButtonBox;
35 class GLRenderer; 34 class GLRenderer;
36 class CheckBoxGroup; 35 class CheckBoxGroup;
37 36
107 void buildObjList (); 106 void buildObjList ();
108 void updateTitle (); 107 void updateTitle ();
109 void fullRefresh (); 108 void fullRefresh ();
110 void refresh (); 109 void refresh ();
111 ulong getInsertionPoint (); 110 ulong getInsertionPoint ();
112 void deleteSelection (vector<ulong>* ulapIndices, vector<LDObject*>* papObjects);
113 void updateToolBars (); 111 void updateToolBars ();
114 void updateRecentFilesMenu (); 112 void updateRecentFilesMenu ();
115 void updateSelection (); 113 void updateSelection ();
116 void updateGridToolBar (); 114 void updateGridToolBar ();
117 void updateEditModeActions (); 115 void updateEditModeActions ();
118 bool isSelected (LDObject* obj); 116 bool isSelected (LDObject* obj);
119 short getSelectedColor(); 117 short getSelectedColor();
120 LDObject::Type uniformSelectedType (); 118 LDObject::Type uniformSelectedType ();
121 void scrollToSelection (); 119 void scrollToSelection ();
122 void spawnContextMenu (const QPoint pos); 120 void spawnContextMenu (const QPoint pos);
123 DelHistory* deleteObjVector (vector<LDObject*> objs); 121 void deleteObjVector (vector< LDObject* > objs);
124 DelHistory* deleteSelection (); 122 void deleteSelection ();
125 DelHistory* deleteByColor (const short colnum); 123 void deleteByColor (const short int colnum);
126 GLRenderer* R () { return m_renderer; } 124 GLRenderer* R () { return m_renderer; }
127 vector<LDObject*>& sel () { return m_sel; } 125 vector<LDObject*>& sel () { return m_sel; }
128 void setQuickColorMeta (vector<quickColor>& quickColorMeta) { 126 void setQuickColorMeta (vector<quickColor>& quickColorMeta) {
129 m_colorMeta = quickColorMeta; 127 m_colorMeta = quickColorMeta;
130 } 128 }

mercurial