99 layout1.addItem(spacer2) |
99 layout1.addItem(spacer2) |
100 |
100 |
101 self.TemplateMultipleVariablesDialogLayout.addLayout(layout1) |
101 self.TemplateMultipleVariablesDialogLayout.addLayout(layout1) |
102 |
102 |
103 # set the texts of the standard widgets |
103 # set the texts of the standard widgets |
104 self.setWindowTitle(self.trUtf8("Enter Template Variables")) |
104 self.setWindowTitle(self.tr("Enter Template Variables")) |
105 self.okButton.setText(self.trUtf8("&OK")) |
105 self.okButton.setText(self.tr("&OK")) |
106 self.cancelButton.setText(self.trUtf8("&Cancel")) |
106 self.cancelButton.setText(self.tr("&Cancel")) |
107 |
107 |
108 # polish up the dialog |
108 # polish up the dialog |
109 self.resize(QSize(400, 480).expandedTo(self.minimumSizeHint())) |
109 self.resize(QSize(400, 480).expandedTo(self.minimumSizeHint())) |
110 |
110 |
111 self.okButton.clicked[()].connect(self.accept) |
111 self.okButton.clicked[()].connect(self.accept) |