gui.h

changeset 55
b08f10e668e5
parent 50
7fd213c6b844
child 57
6e89589f1fe8
equal deleted inserted replaced
54:60f328f352c9 55:b08f10e668e5
54 // Toolbars 54 // Toolbars
55 QToolBar* qFileToolBar, *qEditToolBar, *qInsertToolBar; 55 QToolBar* qFileToolBar, *qEditToolBar, *qInsertToolBar;
56 56
57 // ACTION ARMADA 57 // ACTION ARMADA
58 QAction* qAct_new, *qAct_open, *qAct_save, *qAct_saveAs, *qAct_exit; 58 QAction* qAct_new, *qAct_open, *qAct_save, *qAct_saveAs, *qAct_exit;
59 QAction* qAct_cut, *qAct_copy, *qAct_paste; 59 QAction* qAct_cut, *qAct_copy, *qAct_paste, *qAct_delete;
60 QAction* qAct_newSubfile, *qAct_newLine, *qAct_newTriangle, *qAct_newQuad; 60 QAction* qAct_newSubfile, *qAct_newLine, *qAct_newTriangle, *qAct_newQuad;
61 QAction* qAct_newCondLine, *qAct_newComment, *qAct_newVertex; 61 QAction* qAct_newCondLine, *qAct_newComment, *qAct_newVertex;
62 QAction* qAct_splitQuads, *qAct_setContents, *qAct_inline; 62 QAction* qAct_splitQuads, *qAct_setContents, *qAct_inline;
63 QAction* qAct_settings; 63 QAction* qAct_settings;
64 QAction* qAct_help, *qAct_about, *qAct_aboutQt; 64 QAction* qAct_help, *qAct_about, *qAct_aboutQt;
75 75
76 private: 76 private:
77 void createMenuActions (); 77 void createMenuActions ();
78 void createMenus (); 78 void createMenus ();
79 void createToolbars (); 79 void createToolbars ();
80 bool copyToClipboard ();
81 void deleteSelection ();
80 82
81 private slots: 83 private slots:
82 void slot_selectionChanged (); 84 void slot_selectionChanged ();
83 85
84 void slot_new (); 86 void slot_new ();
100 void slot_setContents (); 102 void slot_setContents ();
101 103
102 void slot_cut (); 104 void slot_cut ();
103 void slot_copy (); 105 void slot_copy ();
104 void slot_paste (); 106 void slot_paste ();
107 void slot_delete ();
105 108
106 void slot_settings (); 109 void slot_settings ();
107 110
108 void slot_help (); 111 void slot_help ();
109 void slot_about (); 112 void slot_about ();

mercurial