/
pmtk
/
Epstein
Обзор
Документация
Войти
/
pmtk
/
Epstein
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
main
epsdesign.ui
331 строка
9 KB
Stepan Martyushov
3
18 апр 2025, 12:24
18 апр 2025, 12:24
d6c95d8
Код
Авторство
О чём код?
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>MainWindow</class> <widget class="QMainWindow" name="MainWindow"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>600</width> <height>800</height> </rect> </property> <property name="windowTitle"> <string>Epstein frame</string> </property> <property name="windowIcon"> <iconset> <normaloff>AMTClogo-M.ico</normaloff>AMTClogo-M.ico</iconset> </property> <property name="styleSheet"> <string notr="true"/> </property> <widget class="QWidget" name="centralwidget"> <layout class="QVBoxLayout" name="verticalLayout_3" stretch="0,3,5,0,1"> <item> <spacer name="verticalSpacer"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>10</height> </size> </property> </spacer> </item> <item> <layout class="QHBoxLayout" name="hLayout_1" stretch="1,1"> <item> <widget class="QGroupBox" name="gBox_WorkParam"> <property name="title"> <string>Параметры работы</string> </property> <layout class="QVBoxLayout" name="verticalLayout_2"> <item> <layout class="QHBoxLayout" name="horizontalLayout_2"> <item> <widget class="QLabel" name="lbl_f"> <property name="text"> <string>f, Гц =</string> </property> </widget> </item> <item> <widget class="QLineEdit" name="lEd_f"> <property name="sizePolicy"> <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>100</width> <height>0</height> </size> </property> <property name="text"> <string>50</string> </property> </widget> </item> </layout> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout_3"> <item> <widget class="QLabel" name="lbl_B"> <property name="text"> <string>B, Тл =</string> </property> </widget> </item> <item> <widget class="QLineEdit" name="lEd_B"> <property name="sizePolicy"> <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>100</width> <height>0</height> </size> </property> <property name="text"> <string>1.5</string> </property> </widget> </item> </layout> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout_4"> <item> <widget class="QLabel" name="lbl_conf"> <property name="text"> <string>Конфигурация:</string> </property> </widget> </item> <item> <widget class="QComboBox" name="cBox_conf"/> </item> </layout> </item> <item> <widget class="QPushButton" name="pBtn_init"> <property name="text"> <string>Инициализация АЦП и генератора</string> </property> </widget> </item> </layout> </widget> </item> <item> <widget class="QGroupBox" name="gBox_SampleParam"> <property name="title"> <string>Параметры образца</string> </property> <layout class="QVBoxLayout" name="verticalLayout"> <item> <layout class="QHBoxLayout" name="horizontalLayout_5"> <item> <widget class="QLabel" name="lbl_x"> <property name="text"> <string>Толщина полосы (x), мм =</string> </property> </widget> </item> <item> <widget class="QLineEdit" name="lEd_x"> <property name="text"> <string>0.25</string> </property> </widget> </item> </layout> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout_6"> <item> <widget class="QLabel" name="lbl_y"> <property name="text"> <string>Ширина полосы (y), мм =</string> </property> </widget> </item> <item> <widget class="QLineEdit" name="lEd_y"> <property name="text"> <string>30</string> </property> </widget> </item> </layout> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout_7"> <item> <widget class="QLabel" name="lbl_N"> <property name="text"> <string>Количество слоев (N) =</string> </property> </widget> </item> <item> <widget class="QLineEdit" name="lEd_N"> <property name="text"> <string>1</string> </property> </widget> </item> </layout> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout_8"> <item> <widget class="QLabel" name="lbl_ro"> <property name="text"> <string>Плотность (ρ), кг/м3 =</string> </property> </widget> </item> <item> <widget class="QLineEdit" name="lEd_ro"> <property name="text"> <string>7630</string> </property> </widget> </item> </layout> </item> </layout> </widget> </item> </layout> </item> <item> <layout class="QHBoxLayout" name="hLayout_2"> <item> <widget class="PlotWidget" name="graphWidget" native="true"/> </item> </layout> </item> <item> <widget class="QFrame" name="frame"> <property name="frameShape"> <enum>QFrame::StyledPanel</enum> </property> <property name="frameShadow"> <enum>QFrame::Raised</enum> </property> <layout class="QHBoxLayout" name="horizontalLayout"> <item> <widget class="QLabel" name="lbl_Bmax"> <property name="text"> <string/> </property> </widget> </item> <item> <widget class="QLabel" name="lbl_powerLosses"> <property name="text"> <string/> </property> </widget> </item> <item> <widget class="QPushButton" name="pBtn_clear"> <property name="minimumSize"> <size> <width>50</width> <height>50</height> </size> </property> <property name="maximumSize"> <size> <width>50</width> <height>50</height> </size> </property> <property name="toolTip"> <string>Стереть график</string> </property> <property name="toolTipDuration"> <number>-1</number> </property> <property name="text"> <string/> </property> <property name="icon"> <iconset> <normaloff>btn_erase.svg</normaloff>btn_erase.svg</iconset> </property> <property name="iconSize"> <size> <width>40</width> <height>40</height> </size> </property> </widget> </item> </layout> </widget> </item> <item> <layout class="QHBoxLayout" name="hLayout_4"> <item> <widget class="QPushButton" name="pBtn_start"> <property name="minimumSize"> <size> <width>200</width> <height>0</height> </size> </property> <property name="cursor"> <cursorShape>OpenHandCursor</cursorShape> </property> <property name="text"> <string>Начать измерения</string> </property> </widget> </item> <item> <widget class="QPushButton" name="pBtn_save"> <property name="minimumSize"> <size> <width>200</width> <height>0</height> </size> </property> <property name="cursor"> <cursorShape>OpenHandCursor</cursorShape> </property> <property name="text"> <string>Сохранить результаты</string> </property> </widget> </item> </layout> </item> </layout> </widget> <widget class="QStatusBar" name="statusBar"/> </widget> <customwidgets> <customwidget> <class>PlotWidget</class> <extends>QWidget</extends> <header location="global">pyqtgraph</header> <container>1</container> </customwidget> </customwidgets> <resources/> <connections/> </ui>