75 # templates for Qt4 |
75 # templates for Qt4 |
76 # these two lists have to stay in sync |
76 # these two lists have to stay in sync |
77 self.templates4 = ['dialog4.tmpl', 'widget4.tmpl', 'mainwindow4.tmpl', |
77 self.templates4 = ['dialog4.tmpl', 'widget4.tmpl', 'mainwindow4.tmpl', |
78 'dialogbuttonboxbottom4.tmpl', 'dialogbuttonboxright4.tmpl', |
78 'dialogbuttonboxbottom4.tmpl', 'dialogbuttonboxright4.tmpl', |
79 'dialogbuttonsbottom4.tmpl', 'dialogbuttonsbottomcenter4.tmpl', |
79 'dialogbuttonsbottom4.tmpl', 'dialogbuttonsbottomcenter4.tmpl', |
80 'dialogbuttonsright4.tmpl', 'wizard4.tmpl', 'wizardpage4.tmpl'] |
80 'dialogbuttonsright4.tmpl', '', 'wizard4.tmpl', 'wizardpage4.tmpl', |
|
81 'qdockwidget4.tmpl', 'qframe4.tmpl', 'qgroupbox4.tmpl', |
|
82 'qscrollarea4.tmpl', 'qmdiarea4.tmpl', 'qtabwidget4.tmpl', |
|
83 'qtoolbox4.tmpl', 'qstackedwidget4.tmpl'] |
81 self.templateTypes4 = [ |
84 self.templateTypes4 = [ |
82 self.trUtf8("Dialog"), |
85 self.trUtf8("Dialog"), |
83 self.trUtf8("Widget"), |
86 self.trUtf8("Widget"), |
84 self.trUtf8("Main Window"), |
87 self.trUtf8("Main Window"), |
85 self.trUtf8("Dialog with Buttonbox (Bottom)"), |
88 self.trUtf8("Dialog with Buttonbox (Bottom)"), |
86 self.trUtf8("Dialog with Buttonbox (Right)"), |
89 self.trUtf8("Dialog with Buttonbox (Right)"), |
87 self.trUtf8("Dialog with Buttons (Bottom)"), |
90 self.trUtf8("Dialog with Buttons (Bottom)"), |
88 self.trUtf8("Dialog with Buttons (Bottom-Center)"), |
91 self.trUtf8("Dialog with Buttons (Bottom-Center)"), |
89 self.trUtf8("Dialog with Buttons (Right)"), |
92 self.trUtf8("Dialog with Buttons (Right)"), |
90 self.trUtf8("Wizard"), |
93 '', |
91 self.trUtf8("Wizard Page"), |
94 self.trUtf8("QWizard"), |
|
95 self.trUtf8("QWizardPage"), |
|
96 self.trUtf8("QDockWidget"), |
|
97 self.trUtf8("QFrame"), |
|
98 self.trUtf8("QGroupBox"), |
|
99 self.trUtf8("QScrollArea"), |
|
100 self.trUtf8("QMdiArea"), |
|
101 self.trUtf8("QTabWidget"), |
|
102 self.trUtf8("QToolBox"), |
|
103 self.trUtf8("QStackedWidget"), |
92 ] |
104 ] |
93 |
105 |
94 self.compileProc = None |
106 self.compileProc = None |
95 |
107 |
96 def _createPopupMenus(self): |
108 def _createPopupMenus(self): |