63 MAKE_ACTION (copy, "Copy", "copy", "Copy the current selection to clipboard.") |
63 MAKE_ACTION (copy, "Copy", "copy", "Copy the current selection to clipboard.") |
64 MAKE_ACTION (paste, "Paste", "paste", "Paste clipboard contents.") |
64 MAKE_ACTION (paste, "Paste", "paste", "Paste clipboard contents.") |
65 MAKE_ACTION (about, sAboutText, "about", "Shows information about " APPNAME_DISPLAY ".") |
65 MAKE_ACTION (about, sAboutText, "about", "Shows information about " APPNAME_DISPLAY ".") |
66 MAKE_ACTION (aboutQt, "About Qt", "aboutQt", "Shows information about Qt.") |
66 MAKE_ACTION (aboutQt, "About Qt", "aboutQt", "Shows information about Qt.") |
67 |
67 |
|
68 MAKE_ACTION (inline, "Inline", "inline", "Inline selected subfiles.") |
68 MAKE_ACTION (splitQuads, "Split Quads", "quad-split", "Split quads into triangles.") |
69 MAKE_ACTION (splitQuads, "Split Quads", "quad-split", "Split quads into triangles.") |
69 MAKE_ACTION (setContents, "Set Contents", "set-contents", "Set the raw code of this object.") |
70 MAKE_ACTION (setContents, "Set Contents", "set-contents", "Set the raw code of this object.") |
70 |
71 |
71 MAKE_ACTION (newSubfile, "New Subfile", "add-subfile", "Creates a new subfile reference.") |
72 MAKE_ACTION (newSubfile, "New Subfile", "add-subfile", "Creates a new subfile reference.") |
72 MAKE_ACTION (newLine, "New Line", "add-line", "Creates a new line.") |
73 MAKE_ACTION (newLine, "New Line", "add-line", "Creates a new line.") |
131 qEditMenu = menuBar ()->addMenu (tr ("&Edit")); |
133 qEditMenu = menuBar ()->addMenu (tr ("&Edit")); |
132 qEditMenu->addAction (qAct_cut); // Cut |
134 qEditMenu->addAction (qAct_cut); // Cut |
133 qEditMenu->addAction (qAct_copy); // Copy |
135 qEditMenu->addAction (qAct_copy); // Copy |
134 qEditMenu->addAction (qAct_paste); // Paste |
136 qEditMenu->addAction (qAct_paste); // Paste |
135 qEditMenu->addSeparator (); // ----- |
137 qEditMenu->addSeparator (); // ----- |
|
138 qEditMenu->addAction (qAct_inline); // Inline |
136 qEditMenu->addAction (qAct_splitQuads); // Split Quads |
139 qEditMenu->addAction (qAct_splitQuads); // Split Quads |
137 qEditMenu->addAction (qAct_setContents); // Set Contents |
140 qEditMenu->addAction (qAct_setContents); // Set Contents |
138 |
141 |
139 // Help menu |
142 // Help menu |
140 qHelpMenu = menuBar ()->addMenu (tr ("&Help")); |
143 qHelpMenu = menuBar ()->addMenu (tr ("&Help")); |
163 |
166 |
164 qEditToolBar = new QToolBar ("Edit"); |
167 qEditToolBar = new QToolBar ("Edit"); |
165 qEditToolBar->addAction (qAct_cut); |
168 qEditToolBar->addAction (qAct_cut); |
166 qEditToolBar->addAction (qAct_copy); |
169 qEditToolBar->addAction (qAct_copy); |
167 qEditToolBar->addAction (qAct_paste); |
170 qEditToolBar->addAction (qAct_paste); |
|
171 qEditToolBar->addAction (qAct_inline); |
168 qEditToolBar->addAction (qAct_splitQuads); |
172 qEditToolBar->addAction (qAct_splitQuads); |
169 qEditToolBar->addAction (qAct_setContents); |
173 qEditToolBar->addAction (qAct_setContents); |
170 addToolBar (qEditToolBar); |
174 addToolBar (qEditToolBar); |
171 } |
175 } |
172 |
176 |