Skip to content

Commit

Permalink
Fix tab order in find/replace dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
guidotack committed Dec 13, 2019
1 parent 8f43bbb commit 1668c94
Showing 1 changed file with 75 additions and 63 deletions.
138 changes: 75 additions & 63 deletions MiniZincIDE/mainwindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -115,57 +115,17 @@
<property name="bottomMargin">
<number>0</number>
</property>
<item row="2" column="0">
<widget class="QLabel" name="not_found">
<property name="text">
<string>not found</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="0" column="8">
<widget class="QPushButton" name="b_next">
<property name="text">
<string>Next</string>
</property>
<property name="default">
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="8">
<widget class="QPushButton" name="b_replacefind">
<property name="text">
<string>Replace &amp;&amp; find</string>
</property>
</widget>
</item>
<item row="1" column="7">
<widget class="QPushButton" name="b_replace">
<property name="text">
<string>Replace</string>
</property>
</widget>
</item>
<item row="0" column="7">
<widget class="QPushButton" name="b_prev">
<property name="text">
<string>Previous</string>
</property>
</widget>
</item>
<item row="2" column="1" colspan="2">
<widget class="QCheckBox" name="check_re">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<item row="2" column="3">
<widget class="QCheckBox" name="check_case">
<property name="text">
<string>Regular expression</string>
<string>Ignore case</string>
</property>
</widget>
</item>
Expand All @@ -179,6 +139,20 @@
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Replace</string>
</property>
</widget>
</item>
<item row="1" column="7">
<widget class="QPushButton" name="b_replace">
<property name="text">
<string>Replace</string>
</property>
</widget>
</item>
<item row="0" column="1" colspan="6">
<widget class="EscLineEdit" name="find">
<property name="minimumSize">
Expand All @@ -189,49 +163,58 @@
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label">
<item row="1" column="10">
<widget class="QPushButton" name="b_replaceall">
<property name="text">
<string>Find</string>
<string>Replace all</string>
</property>
</widget>
</item>
<item row="2" column="4">
<widget class="QCheckBox" name="check_wrap">
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Wrap around</string>
<string>Find</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_3">
<item row="0" column="10">
<widget class="QPushButton" name="closeFindWidget">
<property name="text">
<string>Replace</string>
<string>Close</string>
</property>
</widget>
</item>
<item row="2" column="3">
<widget class="QCheckBox" name="check_case">
<item row="2" column="0">
<widget class="QLabel" name="not_found">
<property name="text">
<string>Ignore case</string>
<string>not found</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="1" column="9">
<widget class="QPushButton" name="b_replaceall">
<item row="2" column="1" colspan="2">
<widget class="QCheckBox" name="check_re">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Replace all</string>
<string>Regular expression</string>
</property>
</widget>
</item>
<item row="0" column="9">
<widget class="QPushButton" name="closeFindWidget">
<item row="2" column="4">
<widget class="QCheckBox" name="check_wrap">
<property name="text">
<string>Close</string>
<string>Wrap around</string>
</property>
</widget>
</item>
<item row="0" column="10">
<item row="0" column="11">
<spacer name="horizontalSpacer_8">
<property name="orientation">
<enum>Qt::Horizontal</enum>
Expand All @@ -244,6 +227,23 @@
</property>
</spacer>
</item>
<item row="0" column="7">
<widget class="QPushButton" name="b_next">
<property name="text">
<string>Next</string>
</property>
<property name="default">
<bool>true</bool>
</property>
</widget>
</item>
<item row="0" column="8">
<widget class="QPushButton" name="b_prev">
<property name="text">
<string>Previous</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
Expand Down Expand Up @@ -1833,12 +1833,24 @@
<tabstop>conf_solver_free</tabstop>
<tabstop>conf_solver_verbose</tabstop>
<tabstop>conf_stats</tabstop>
<tabstop>autoclear_output</tabstop>
<tabstop>conf_solver_timing</tabstop>
<tabstop>autoclear_output</tabstop>
<tabstop>conf_check_solutions</tabstop>
<tabstop>conf_compressSolutionLimit</tabstop>
<tabstop>projectView</tabstop>
<tabstop>outputConsole</tabstop>
<tabstop>find</tabstop>
<tabstop>replace</tabstop>
<tabstop>b_next</tabstop>
<tabstop>b_prev</tabstop>
<tabstop>closeFindWidget</tabstop>
<tabstop>b_replace</tabstop>
<tabstop>b_replacefind</tabstop>
<tabstop>b_replaceall</tabstop>
<tabstop>check_re</tabstop>
<tabstop>check_case</tabstop>
<tabstop>check_wrap</tabstop>
<tabstop>extraOptionsBox</tabstop>
</tabstops>
<resources>
<include location="minizincide.qrc"/>
Expand Down

0 comments on commit 1668c94

Please sign in to comment.