Skip to content

Commit

Permalink
Print option dialog - resize to minimal size on exec, name of dialog …
Browse files Browse the repository at this point in the history
…in title
  • Loading branch information
arnost00 committed Apr 3, 2022
1 parent 07538ae commit 949ee11
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions libquickevent/libquickeventgui/src/reportoptionsdialog.cpp
Expand Up @@ -170,6 +170,7 @@ void ReportOptionsDialog::showEvent(QShowEvent *event)

int ReportOptionsDialog::exec()
{
resize(size().width(),minimumSize().height());
//ui->grpClassFilter->setVisible(isClassFilterVisible());
return Super::exec();
}
Expand Down
4 changes: 2 additions & 2 deletions libquickevent/libquickeventgui/src/reportoptionsdialog.ui
Expand Up @@ -11,7 +11,7 @@
</rect>
</property>
<property name="windowTitle">
<string>Dialog</string>
<string>Print Report Options</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
Expand Down Expand Up @@ -142,7 +142,7 @@
<property name="title">
<string>Result options</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_41">
<layout class="QHBoxLayout" name="horizontalLayout_41">
<item>
<widget class="QLabel" name="label_9">
<property name="text">
Expand Down

0 comments on commit 949ee11

Please sign in to comment.