mirea-projects/Third term/Industrial programming technologies/10_Tables/tables.ui
2024-09-27 08:31:03 +03:00

412 lines
9.1 KiB
XML
Executable File

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Tables</class>
<widget class="QMainWindow" name="Tables">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1000</width>
<height>600</height>
</rect>
</property>
<property name="windowTitle">
<string>Tables</string>
</property>
<widget class="QWidget" name="centralwidget">
<widget class="QTableWidget" name="tableWidget">
<property name="geometry">
<rect>
<x>20</x>
<y>60</y>
<width>771</width>
<height>521</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<attribute name="horizontalHeaderDefaultSectionSize">
<number>120</number>
</attribute>
<attribute name="horizontalHeaderShowSortIndicator" stdset="0">
<bool>false</bool>
</attribute>
<attribute name="verticalHeaderVisible">
<bool>false</bool>
</attribute>
</widget>
<widget class="QLabel" name="label">
<property name="geometry">
<rect>
<x>20</x>
<y>20</y>
<width>121</width>
<height>30</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="text">
<string>Кол-во строк:</string>
</property>
</widget>
<widget class="QLineEdit" name="rowsCountInput">
<property name="geometry">
<rect>
<x>150</x>
<y>20</y>
<width>113</width>
<height>30</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="inputMethodHints">
<set>Qt::InputMethodHint::ImhPreferNumbers</set>
</property>
<property name="text">
<string>0</string>
</property>
</widget>
<widget class="QPushButton" name="setRowsButton">
<property name="geometry">
<rect>
<x>270</x>
<y>20</y>
<width>80</width>
<height>30</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="text">
<string>Задать</string>
</property>
</widget>
<widget class="QPushButton" name="setRandomDataButton">
<property name="geometry">
<rect>
<x>370</x>
<y>20</y>
<width>291</width>
<height>30</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="text">
<string>Рандомно заполнить</string>
</property>
</widget>
<widget class="QPushButton" name="minButton">
<property name="geometry">
<rect>
<x>810</x>
<y>60</y>
<width>171</width>
<height>30</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="text">
<string>Минимум</string>
</property>
</widget>
<widget class="QPushButton" name="avgButton">
<property name="geometry">
<rect>
<x>810</x>
<y>100</y>
<width>171</width>
<height>30</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="text">
<string>Среднее</string>
</property>
</widget>
<widget class="QPushButton" name="maxButton">
<property name="geometry">
<rect>
<x>810</x>
<y>140</y>
<width>171</width>
<height>30</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="text">
<string>Максимум</string>
</property>
</widget>
<widget class="QRadioButton" name="descendingRadio">
<property name="geometry">
<rect>
<x>810</x>
<y>250</y>
<width>171</width>
<height>20</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="text">
<string>По убыванию</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="QRadioButton" name="ascendingRadio">
<property name="geometry">
<rect>
<x>810</x>
<y>280</y>
<width>171</width>
<height>20</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="text">
<string>По возрастанию</string>
</property>
</widget>
<widget class="QPushButton" name="sortButton">
<property name="geometry">
<rect>
<x>810</x>
<y>310</y>
<width>171</width>
<height>30</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="text">
<string>Сортировка</string>
</property>
</widget>
<widget class="QLabel" name="label_2">
<property name="geometry">
<rect>
<x>810</x>
<y>370</y>
<width>171</width>
<height>30</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="text">
<string>Искомое:</string>
</property>
</widget>
<widget class="QLineEdit" name="searchInput">
<property name="geometry">
<rect>
<x>810</x>
<y>400</y>
<width>171</width>
<height>30</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
</widget>
<widget class="QPushButton" name="searchButton">
<property name="geometry">
<rect>
<x>810</x>
<y>440</y>
<width>171</width>
<height>30</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="text">
<string>Поиск</string>
</property>
</widget>
<widget class="QPushButton" name="loadButton">
<property name="geometry">
<rect>
<x>810</x>
<y>510</y>
<width>171</width>
<height>30</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="text">
<string>Загрузить</string>
</property>
</widget>
<widget class="QPushButton" name="saveButton">
<property name="geometry">
<rect>
<x>810</x>
<y>550</y>
<width>171</width>
<height>30</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="text">
<string>Сохранить</string>
</property>
</widget>
<widget class="Line" name="line">
<property name="geometry">
<rect>
<x>810</x>
<y>180</y>
<width>171</width>
<height>16</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="orientation">
<enum>Qt::Orientation::Horizontal</enum>
</property>
</widget>
<widget class="Line" name="line_2">
<property name="geometry">
<rect>
<x>810</x>
<y>480</y>
<width>171</width>
<height>16</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="orientation">
<enum>Qt::Orientation::Horizontal</enum>
</property>
</widget>
<widget class="QLabel" name="label_3">
<property name="geometry">
<rect>
<x>810</x>
<y>200</y>
<width>171</width>
<height>30</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="text">
<string>Столбец:</string>
</property>
</widget>
<widget class="QSpinBox" name="columnNumberInput">
<property name="geometry">
<rect>
<x>910</x>
<y>200</y>
<width>61</width>
<height>30</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>6</number>
</property>
</widget>
<widget class="Line" name="line_3">
<property name="geometry">
<rect>
<x>810</x>
<y>350</y>
<width>171</width>
<height>16</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="orientation">
<enum>Qt::Orientation::Horizontal</enum>
</property>
</widget>
</widget>
</widget>
<resources/>
<connections/>
</ui>