Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
690 lines (689 sloc) 27.4 KB
<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
<class>MainWindow</class>
<widget class="Dialog">
<property name="name">
<cstring>MainWindow</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>328</width>
<height>240</height>
</rect>
</property>
<property name="caption">
<string>Cifras</string>
</property>
<widget class="QLayoutWidget">
<property name="name">
<cstring>Layout8</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>328</width>
<height>240</height>
</rect>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="QLayoutWidget">
<property name="name">
<cstring>Layout7</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="SpinBoxInt">
<property name="name">
<cstring>TargetSpinBox</cstring>
</property>
<property name="maxValue">
<number>999</number>
</property>
<property name="minValue">
<number>100</number>
</property>
<property name="toolTip" stdset="0">
<string>Target number</string>
</property>
</widget>
<widget class="ExecButton">
<property name="name">
<cstring>LaunchButton</cstring>
</property>
<property name="text">
<string>F&amp;ind Number</string>
</property>
<property name="associations" stdset="0">
<stringlist>
<string></string>
</stringlist>
</property>
<property name="toolTip" stdset="0">
<string>Try to find the target number</string>
</property>
</widget>
</hbox>
</widget>
<widget class="QLayoutWidget">
<property name="name">
<cstring>Layout6</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="ComboBox">
<item>
<property name="text">
<string>1</string>
</property>
</item>
<item>
<property name="text">
<string>2</string>
</property>
</item>
<item>
<property name="text">
<string>3</string>
</property>
</item>
<item>
<property name="text">
<string>4</string>
</property>
</item>
<item>
<property name="text">
<string>5</string>
</property>
</item>
<item>
<property name="text">
<string>6</string>
</property>
</item>
<item>
<property name="text">
<string>7</string>
</property>
</item>
<item>
<property name="text">
<string>8</string>
</property>
</item>
<item>
<property name="text">
<string>9</string>
</property>
</item>
<item>
<property name="text">
<string>10</string>
</property>
</item>
<item>
<property name="text">
<string>25</string>
</property>
</item>
<item>
<property name="text">
<string>50</string>
</property>
</item>
<item>
<property name="text">
<string>75</string>
</property>
</item>
<item>
<property name="text">
<string>100</string>
</property>
</item>
<property name="name">
<cstring>NumberCombo_1</cstring>
</property>
<property name="associations" stdset="0">
<stringlist>
<string></string>
</stringlist>
</property>
<property name="toolTip" stdset="0">
<string>Basic numbers</string>
</property>
</widget>
<widget class="ComboBox">
<item>
<property name="text">
<string>1</string>
</property>
</item>
<item>
<property name="text">
<string>2</string>
</property>
</item>
<item>
<property name="text">
<string>3</string>
</property>
</item>
<item>
<property name="text">
<string>4</string>
</property>
</item>
<item>
<property name="text">
<string>5</string>
</property>
</item>
<item>
<property name="text">
<string>6</string>
</property>
</item>
<item>
<property name="text">
<string>7</string>
</property>
</item>
<item>
<property name="text">
<string>8</string>
</property>
</item>
<item>
<property name="text">
<string>9</string>
</property>
</item>
<item>
<property name="text">
<string>10</string>
</property>
</item>
<item>
<property name="text">
<string>25</string>
</property>
</item>
<item>
<property name="text">
<string>50</string>
</property>
</item>
<item>
<property name="text">
<string>75</string>
</property>
</item>
<item>
<property name="text">
<string>100</string>
</property>
</item>
<property name="name">
<cstring>NumberCombo_2</cstring>
</property>
<property name="associations" stdset="0">
<stringlist>
<string></string>
</stringlist>
</property>
<property name="toolTip" stdset="0">
<string>Basic numbers</string>
</property>
</widget>
<widget class="ComboBox">
<item>
<property name="text">
<string>1</string>
</property>
</item>
<item>
<property name="text">
<string>2</string>
</property>
</item>
<item>
<property name="text">
<string>3</string>
</property>
</item>
<item>
<property name="text">
<string>4</string>
</property>
</item>
<item>
<property name="text">
<string>5</string>
</property>
</item>
<item>
<property name="text">
<string>6</string>
</property>
</item>
<item>
<property name="text">
<string>7</string>
</property>
</item>
<item>
<property name="text">
<string>8</string>
</property>
</item>
<item>
<property name="text">
<string>9</string>
</property>
</item>
<item>
<property name="text">
<string>10</string>
</property>
</item>
<item>
<property name="text">
<string>25</string>
</property>
</item>
<item>
<property name="text">
<string>50</string>
</property>
</item>
<item>
<property name="text">
<string>75</string>
</property>
</item>
<item>
<property name="text">
<string>100</string>
</property>
</item>
<property name="name">
<cstring>NumberCombo_3</cstring>
</property>
<property name="associations" stdset="0">
<stringlist>
<string></string>
</stringlist>
</property>
<property name="toolTip" stdset="0">
<string>Basic numbers</string>
</property>
</widget>
<widget class="ComboBox">
<item>
<property name="text">
<string>1</string>
</property>
</item>
<item>
<property name="text">
<string>2</string>
</property>
</item>
<item>
<property name="text">
<string>3</string>
</property>
</item>
<item>
<property name="text">
<string>4</string>
</property>
</item>
<item>
<property name="text">
<string>5</string>
</property>
</item>
<item>
<property name="text">
<string>6</string>
</property>
</item>
<item>
<property name="text">
<string>7</string>
</property>
</item>
<item>
<property name="text">
<string>8</string>
</property>
</item>
<item>
<property name="text">
<string>9</string>
</property>
</item>
<item>
<property name="text">
<string>10</string>
</property>
</item>
<item>
<property name="text">
<string>25</string>
</property>
</item>
<item>
<property name="text">
<string>50</string>
</property>
</item>
<item>
<property name="text">
<string>75</string>
</property>
</item>
<item>
<property name="text">
<string>100</string>
</property>
</item>
<property name="name">
<cstring>NumberCombo_4</cstring>
</property>
<property name="associations" stdset="0">
<stringlist>
<string></string>
</stringlist>
</property>
<property name="toolTip" stdset="0">
<string>Basic numbers</string>
</property>
</widget>
<widget class="ComboBox">
<item>
<property name="text">
<string>1</string>
</property>
</item>
<item>
<property name="text">
<string>2</string>
</property>
</item>
<item>
<property name="text">
<string>3</string>
</property>
</item>
<item>
<property name="text">
<string>4</string>
</property>
</item>
<item>
<property name="text">
<string>5</string>
</property>
</item>
<item>
<property name="text">
<string>6</string>
</property>
</item>
<item>
<property name="text">
<string>7</string>
</property>
</item>
<item>
<property name="text">
<string>8</string>
</property>
</item>
<item>
<property name="text">
<string>9</string>
</property>
</item>
<item>
<property name="text">
<string>10</string>
</property>
</item>
<item>
<property name="text">
<string>25</string>
</property>
</item>
<item>
<property name="text">
<string>50</string>
</property>
</item>
<item>
<property name="text">
<string>75</string>
</property>
</item>
<item>
<property name="text">
<string>100</string>
</property>
</item>
<property name="name">
<cstring>NumberCombo_5</cstring>
</property>
<property name="associations" stdset="0">
<stringlist>
<string></string>
</stringlist>
</property>
<property name="toolTip" stdset="0">
<string>Basic numbers</string>
</property>
</widget>
<widget class="ComboBox">
<item>
<property name="text">
<string>1</string>
</property>
</item>
<item>
<property name="text">
<string>2</string>
</property>
</item>
<item>
<property name="text">
<string>3</string>
</property>
</item>
<item>
<property name="text">
<string>4</string>
</property>
</item>
<item>
<property name="text">
<string>5</string>
</property>
</item>
<item>
<property name="text">
<string>6</string>
</property>
</item>
<item>
<property name="text">
<string>7</string>
</property>
</item>
<item>
<property name="text">
<string>8</string>
</property>
</item>
<item>
<property name="text">
<string>9</string>
</property>
</item>
<item>
<property name="text">
<string>10</string>
</property>
</item>
<item>
<property name="text">
<string>25</string>
</property>
</item>
<item>
<property name="text">
<string>50</string>
</property>
</item>
<item>
<property name="text">
<string>75</string>
</property>
</item>
<item>
<property name="text">
<string>100</string>
</property>
</item>
<property name="name">
<cstring>NumberCombo_6</cstring>
</property>
<property name="associations" stdset="0">
<stringlist>
<string></string>
</stringlist>
</property>
<property name="toolTip" stdset="0">
<string>Basic numbers</string>
</property>
</widget>
</hbox>
</widget>
<widget class="TextEdit">
<property name="name">
<cstring>ResultEdit</cstring>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
<property name="populationText">
<string>@execBegin(sh)
@ProgramSelector.text \
@NumberCombo_1.text \
@NumberCombo_2.text \
@NumberCombo_3.text \
@NumberCombo_4.text \
@NumberCombo_5.text \
@NumberCombo_6.text \
@TargetSpinBox.text \
|| echo ERROR: could not run @ProgramSelector.text
@execEnd</string>
</property>
<property name="associations" stdset="0">
<stringlist>
<string></string>
</stringlist>
</property>
<property name="toolTip" stdset="0">
<string>Search results</string>
</property>
</widget>
<widget class="FileSelector">
<property name="name">
<cstring>ProgramSelector</cstring>
</property>
<property name="acceptDrops">
<bool>true</bool>
</property>
<property name="populationText">
<string>@CMAKE_INSTALL_PREFIX@/@PROJECT_BIN_DIR@/cifras</string>
</property>
<property name="associations" stdset="0">
<stringlist>
<string></string>
</stringlist>
</property>
<property name="showEditor">
<bool>true</bool>
</property>
<property name="buttonCaption" stdset="0">
<string>Ch&amp;oose Program...</string>
</property>
<property name="selectionCaption">
<string>Choose Program</string>
</property>
<property name="toolTip" stdset="0">
<string>Program name</string>
</property>
<property name="whatsThis" stdset="0">
<string>This input field lets you select a program that can be used to solve the "Cifras" problem. It must be able to receive, as its arguments, the six basic numbers and the target number, in that order. By default, the "cifras" program from the current directory is used.</string>
</property>
</widget>
</vbox>
</widget>
</widget>
<connections>
<connection>
<sender>LaunchButton</sender>
<signal>clicked()</signal>
<receiver>ResultEdit</receiver>
<slot>populate()</slot>
</connection>
<connection>
<sender>MainWindow</sender>
<signal>widgetOpened()</signal>
<receiver>ProgramSelector</receiver>
<slot>populate()</slot>
</connection>
</connections>
<tabstops>
<tabstop>NumberCombo_1</tabstop>
<tabstop>NumberCombo_2</tabstop>
<tabstop>NumberCombo_3</tabstop>
<tabstop>NumberCombo_4</tabstop>
<tabstop>NumberCombo_5</tabstop>
<tabstop>NumberCombo_6</tabstop>
<tabstop>TargetSpinBox</tabstop>
<tabstop>LaunchButton</tabstop>
<tabstop>ResultEdit</tabstop>
</tabstops>
<layoutdefaults spacing="6" margin="11"/>
</UI>