gui_actions.cpp

changeset 180
16306e69a895
parent 177
4cdd408f2863
equal deleted inserted replaced
179:f98391b179ab 180:16306e69a895
24 #include "zz_newPartDialog.h" 24 #include "zz_newPartDialog.h"
25 #include "zz_configDialog.h" 25 #include "zz_configDialog.h"
26 #include "zz_addObjectDialog.h" 26 #include "zz_addObjectDialog.h"
27 #include "zz_aboutDialog.h" 27 #include "zz_aboutDialog.h"
28 #include "misc.h" 28 #include "misc.h"
29 #include "zz_ldrawPathDialog.h"
29 30
30 // ============================================================================= 31 // =============================================================================
31 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 32 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
32 // ============================================================================= 33 // =============================================================================
33 MAKE_ACTION (newFile, "&New", "brick", "Create a new part model.", CTRL (N)) { 34 MAKE_ACTION (newFile, "&New", "brick", "Create a new part model.", CTRL (N)) {
104 // ============================================================================= 105 // =============================================================================
105 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 106 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
106 // ============================================================================= 107 // =============================================================================
107 MAKE_ACTION (settings, "Settin&gs", "settings", "Edit the settings of " APPNAME ".", (0)) { 108 MAKE_ACTION (settings, "Settin&gs", "settings", "Edit the settings of " APPNAME ".", (0)) {
108 ConfigDialog::staticDialog (); 109 ConfigDialog::staticDialog ();
110 }
111
112 MAKE_ACTION (setLDrawPath, "Set LDraw Path", "settings", "Change the LDraw directory path.", (0)) {
113 LDrawPathDialog dlg (true);
114 dlg.exec ();
109 } 115 }
110 116
111 // ============================================================================= 117 // =============================================================================
112 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 118 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
113 // ============================================================================= 119 // =============================================================================

mercurial