mirror of https://github.com/KLayout/klayout.git
Fixed #2315: Changing dialog title and 'cancel' button to 'close'
This commit is contained in:
parent
63a948a77b
commit
5e52c78e1d
|
|
@ -40,7 +40,7 @@
|
|||
<item>
|
||||
<widget class="QDialogButtonBox" name="buttonBox">
|
||||
<property name="standardButtons">
|
||||
<set>QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
||||
<set>QDialogButtonBox::Apply|QDialogButtonBox::Close|QDialogButtonBox::Ok</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
|
|
|||
|
|
@ -384,12 +384,12 @@ END_PROTECTED;
|
|||
LayoutViewFunctionDialog::LayoutViewFunctionDialog (QWidget *parent, const QString &title, const QString &label)
|
||||
: QDialog (parent)
|
||||
{
|
||||
setObjectName (QString::fromUtf8 ("layout_view_function_dialog"));
|
||||
setWindowTitle (title);
|
||||
|
||||
mp_ui = new Ui::LayoutViewFunctionDialog ();
|
||||
mp_ui->setupUi (this);
|
||||
|
||||
setObjectName (QString::fromUtf8 ("layout_view_function_dialog"));
|
||||
setWindowTitle (title);
|
||||
|
||||
mp_ui->label->setText (label);
|
||||
|
||||
connect (mp_ui->buttonBox->button (QDialogButtonBox::Apply), SIGNAL (pressed ()), this, SLOT (apply_clicked ()));
|
||||
|
|
|
|||
Loading…
Reference in New Issue