/
SkyThor
/
FitGraph
Обзор
Документация
Войти
/
SkyThor
/
FitGraph
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
3
CI/CD
Аналитика
Безопасность
patch
fitgraphmainwindow.ui
817 строк
25 KB
SkyThor
upload files
05 окт 2025, 16:03
05 окт 2025, 16:03
1b311e5
Код
Авторство
О чём код?
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>FitGraphMainWindow</class> <widget class="QMainWindow" name="FitGraphMainWindow"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>800</width> <height>624</height> </rect> </property> <property name="windowTitle"> <string>FitGraph</string> </property> <widget class="QWidget" name="centralwidget"> <property name="enabled"> <bool>true</bool> </property> <layout class="QFormLayout" name="formLayout_2"> <property name="horizontalSpacing"> <number>0</number> </property> <property name="verticalSpacing"> <number>0</number> </property> <property name="leftMargin"> <number>6</number> </property> <item row="0" column="0"> <widget class="QSplitter" name="splitter"> <property name="sizePolicy"> <sizepolicy hsizetype="Preferred" vsizetype="Expanding"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="orientation"> <enum>Qt::Orientation::Vertical</enum> </property> <widget class="QWidget" name="layoutWidget"> <layout class="QVBoxLayout" name="verticalLayout"> <item> <layout class="QHBoxLayout" name="horizontalLayout"> <property name="spacing"> <number>0</number> </property> <item> <widget class="QPushButton" name="pushButton_Open"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="maximumSize"> <size> <width>35</width> <height>20</height> </size> </property> <property name="font"> <font> <pointsize>8</pointsize> <bold>true</bold> </font> </property> <property name="text"> <string>Open</string> </property> <property name="autoDefault"> <bool>false</bool> </property> <property name="default"> <bool>false</bool> </property> <property name="flat"> <bool>false</bool> </property> </widget> </item> <item> <widget class="QPushButton" name="pushButton_Add"> <property name="enabled"> <bool>false</bool> </property> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="maximumSize"> <size> <width>35</width> <height>20</height> </size> </property> <property name="font"> <font> <pointsize>8</pointsize> <bold>true</bold> </font> </property> <property name="text"> <string>Add</string> </property> </widget> </item> <item> <widget class="QPushButton" name="pushButton_Save"> <property name="enabled"> <bool>false</bool> </property> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="maximumSize"> <size> <width>35</width> <height>20</height> </size> </property> <property name="font"> <font> <pointsize>8</pointsize> <bold>true</bold> </font> </property> <property name="text"> <string>Save</string> </property> </widget> </item> </layout> </item> <item> <widget class="QRadioButton" name="radioButton_He_I"> <property name="enabled"> <bool>false</bool> </property> <property name="sizePolicy"> <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="font"> <font> <pointsize>8</pointsize> <bold>true</bold> </font> </property> <property name="text"> <string>He I (21.2 eV)</string> </property> <property name="checkable"> <bool>true</bool> </property> <property name="checked"> <bool>true</bool> </property> <attribute name="buttonGroup"> <string notr="true">buttonGroup</string> </attribute> </widget> </item> <item> <widget class="QRadioButton" name="radioButton_He_II"> <property name="enabled"> <bool>false</bool> </property> <property name="sizePolicy"> <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="font"> <font> <pointsize>8</pointsize> <bold>true</bold> </font> </property> <property name="text"> <string>He II (40.8 eV)</string> </property> <property name="checked"> <bool>false</bool> </property> <attribute name="buttonGroup"> <string notr="true">buttonGroup</string> </attribute> </widget> </item> <item> <widget class="QRadioButton" name="radioButton_Mg"> <property name="enabled"> <bool>false</bool> </property> <property name="font"> <font> <pointsize>8</pointsize> <bold>true</bold> </font> </property> <property name="text"> <string>Mg Kα (1253.6 eV)</string> </property> <attribute name="buttonGroup"> <string notr="true">buttonGroup</string> </attribute> </widget> </item> <item> <widget class="QRadioButton" name="radioButton_Al"> <property name="enabled"> <bool>false</bool> </property> <property name="sizePolicy"> <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="font"> <font> <pointsize>8</pointsize> <bold>true</bold> </font> </property> <property name="text"> <string>Al Kα (1486.6 eV)</string> </property> <attribute name="buttonGroup"> <string notr="true">buttonGroup</string> </attribute> </widget> </item> <item> <widget class="Line" name="line"> <property name="orientation"> <enum>Qt::Orientation::Horizontal</enum> </property> </widget> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout_3" stretch="0,0,0"> <property name="spacing"> <number>4</number> </property> <item> <widget class="QRadioButton" name="radioButton_Simple"> <property name="enabled"> <bool>false</bool> </property> <property name="sizePolicy"> <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="maximumSize"> <size> <width>35</width> <height>16777215</height> </size> </property> <property name="font"> <font> <pointsize>7</pointsize> <bold>true</bold> </font> </property> <property name="text"> <string>Simple</string> </property> <property name="checked"> <bool>true</bool> </property> <attribute name="buttonGroup"> <string notr="true">buttonGroup_3</string> </attribute> </widget> </item> <item> <widget class="QRadioButton" name="radioButton_Mulliken"> <property name="enabled"> <bool>false</bool> </property> <property name="maximumSize"> <size> <width>35</width> <height>16777215</height> </size> </property> <property name="font"> <font> <pointsize>7</pointsize> <bold>true</bold> </font> </property> <property name="text"> <string>Mulliken</string> </property> <attribute name="buttonGroup"> <string notr="true">buttonGroup_3</string> </attribute> </widget> </item> <item> <widget class="QRadioButton" name="radioButton_Lowdin"> <property name="enabled"> <bool>false</bool> </property> <property name="maximumSize"> <size> <width>35</width> <height>16777215</height> </size> </property> <property name="font"> <font> <pointsize>7</pointsize> <bold>true</bold> </font> </property> <property name="text"> <string>Lowdin</string> </property> <attribute name="buttonGroup"> <string notr="true">buttonGroup_3</string> </attribute> </widget> </item> </layout> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout_7"> <property name="bottomMargin"> <number>8</number> </property> <item> <widget class="QRadioButton" name="radioButton_Alpha"> <property name="enabled"> <bool>false</bool> </property> <property name="text"> <string>Alpha</string> </property> <property name="checked"> <bool>true</bool> </property> <property name="autoRepeat"> <bool>false</bool> </property> <attribute name="buttonGroup"> <string notr="true">buttonGroup_2</string> </attribute> </widget> </item> <item> <widget class="QRadioButton" name="radioButton_Beta"> <property name="enabled"> <bool>false</bool> </property> <property name="text"> <string>Beta</string> </property> <attribute name="buttonGroup"> <string notr="true">buttonGroup_2</string> </attribute> </widget> </item> </layout> </item> <item> <widget class="QPushButton" name="pushButton_Contributions"> <property name="enabled"> <bool>false</bool> </property> <property name="text"> <string>Contributions</string> </property> <property name="checkable"> <bool>true</bool> </property> </widget> </item> <item> <widget class="QPushButton" name="pushButton_Adjustment"> <property name="enabled"> <bool>false</bool> </property> <property name="maximumSize"> <size> <width>16777215</width> <height>20</height> </size> </property> <property name="text"> <string>Adjustment</string> </property> <property name="checkable"> <bool>true</bool> </property> <attribute name="buttonGroup"> <string notr="true">buttonGroup_4</string> </attribute> </widget> </item> <item> <layout class="QGridLayout" name="gridLayout"> <property name="rightMargin"> <number>0</number> </property> <property name="bottomMargin"> <number>8</number> </property> <item row="0" column="0"> <widget class="QPushButton" name="pushButton_Shift"> <property name="enabled"> <bool>false</bool> </property> <property name="maximumSize"> <size> <width>35</width> <height>20</height> </size> </property> <property name="text"> <string>Shift</string> </property> <attribute name="buttonGroup"> <string notr="true">buttonGroup_4</string> </attribute> </widget> </item> <item row="0" column="2"> <widget class="QPushButton" name="pushButton_Fit"> <property name="enabled"> <bool>false</bool> </property> <property name="maximumSize"> <size> <width>35</width> <height>20</height> </size> </property> <property name="text"> <string>Fit</string> </property> <attribute name="buttonGroup"> <string notr="true">buttonGroup_4</string> </attribute> </widget> </item> <item row="0" column="1"> <widget class="QPushButton" name="pushButton_Vise"> <property name="enabled"> <bool>false</bool> </property> <property name="maximumSize"> <size> <width>35</width> <height>20</height> </size> </property> <property name="text"> <string>Vise</string> </property> <attribute name="buttonGroup"> <string notr="true">buttonGroup_4</string> </attribute> </widget> </item> <item row="1" column="0"> <widget class="QLineEdit" name="lineEdit_Shift"> <property name="enabled"> <bool>false</bool> </property> <property name="maximumSize"> <size> <width>35</width> <height>20</height> </size> </property> </widget> </item> </layout> </item> <item> <spacer name="verticalSpacer"> <property name="orientation"> <enum>Qt::Orientation::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>13</width> <height>13</height> </size> </property> </spacer> </item> <item> <widget class="QCheckBox" name="checkBox_Transparent"> <property name="maximumSize"> <size> <width>114</width> <height>16777215</height> </size> </property> <property name="font"> <font> <pointsize>8</pointsize> <bold>true</bold> </font> </property> <property name="text"> <string>Transparent</string> </property> </widget> </item> <item> <widget class="QLabel" name="label_Number_of_point"> <property name="sizePolicy"> <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="font"> <font> <pointsize>8</pointsize> <bold>true</bold> </font> </property> <property name="text"> <string>Number of points</string> </property> </widget> </item> <item> <widget class="QLineEdit" name="lineEdit_Number_of_point"> <property name="enabled"> <bool>false</bool> </property> <property name="maximumSize"> <size> <width>114</width> <height>20</height> </size> </property> <property name="font"> <font> <pointsize>8</pointsize> </font> </property> </widget> </item> <item> <layout class="QFormLayout" name="formLayout_3"> <property name="horizontalSpacing"> <number>4</number> </property> <property name="verticalSpacing"> <number>2</number> </property> <item row="0" column="0"> <widget class="QLabel" name="label_Min"> <property name="font"> <font> <pointsize>8</pointsize> <bold>true</bold> </font> </property> <property name="text"> <string>Min, eV</string> </property> </widget> </item> <item row="0" column="1"> <widget class="QLabel" name="label_Max"> <property name="sizePolicy"> <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="font"> <font> <pointsize>8</pointsize> <bold>true</bold> </font> </property> <property name="text"> <string>Max, eV</string> </property> </widget> </item> <item row="1" column="0"> <widget class="QLineEdit" name="lineEdit_Min"> <property name="enabled"> <bool>false</bool> </property> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="maximumSize"> <size> <width>55</width> <height>20</height> </size> </property> <property name="font"> <font> <pointsize>8</pointsize> </font> </property> <property name="alignment"> <set>Qt::AlignmentFlag::AlignLeading|Qt::AlignmentFlag::AlignLeft|Qt::AlignmentFlag::AlignVCenter</set> </property> </widget> </item> <item row="1" column="1"> <widget class="QLineEdit" name="lineEdit_Max"> <property name="enabled"> <bool>false</bool> </property> <property name="maximumSize"> <size> <width>55</width> <height>20</height> </size> </property> <property name="font"> <font> <pointsize>8</pointsize> </font> </property> </widget> </item> </layout> </item> <item> <widget class="QLabel" name="label_Bandwidth"> <property name="sizePolicy"> <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="font"> <font> <pointsize>8</pointsize> <bold>true</bold> </font> </property> <property name="text"> <string>Bandwidth</string> </property> <property name="scaledContents"> <bool>false</bool> </property> </widget> </item> <item> <widget class="QSlider" name="horizontalSlider_Bandwidth"> <property name="enabled"> <bool>false</bool> </property> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="maximumSize"> <size> <width>114</width> <height>16777215</height> </size> </property> <property name="minimum"> <number>1</number> </property> <property name="maximum"> <number>200</number> </property> <property name="pageStep"> <number>200</number> </property> <property name="value"> <number>1</number> </property> <property name="sliderPosition"> <number>1</number> </property> <property name="orientation"> <enum>Qt::Orientation::Horizontal</enum> </property> <property name="tickPosition"> <enum>QSlider::TickPosition::NoTicks</enum> </property> </widget> </item> <item> <widget class="QLabel" name="label_Bandwidth_Count"> <property name="sizePolicy"> <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="font"> <font> <pointsize>8</pointsize> <bold>true</bold> </font> </property> <property name="layoutDirection"> <enum>Qt::LayoutDirection::LeftToRight</enum> </property> <property name="autoFillBackground"> <bool>false</bool> </property> <property name="frameShape"> <enum>QFrame::Shape::StyledPanel</enum> </property> <property name="text"> <string>0.01</string> </property> <property name="alignment"> <set>Qt::AlignmentFlag::AlignCenter</set> </property> </widget> </item> </layout> </widget> </widget> </item> <item row="0" column="1"> <widget class="QCustomPlot" name="widgetPlot" native="true"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="acceptDrops"> <bool>false</bool> </property> <property name="autoFillBackground"> <bool>false</bool> </property> </widget> </item> </layout> </widget> <widget class="QMenuBar" name="menuBar"> <property name="enabled"> <bool>true</bool> </property> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>800</width> <height>25</height> </rect> </property> <property name="defaultUp"> <bool>false</bool> </property> </widget> <widget class="QStatusBar" name="statusBar"> <property name="sizePolicy"> <sizepolicy hsizetype="Preferred" vsizetype="Minimum"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="maximumSize"> <size> <width>16777215</width> <height>20</height> </size> </property> </widget> </widget> <customwidgets> <customwidget> <class>QCustomPlot</class> <extends>QWidget</extends> <header>qcustomplot.h</header> <container>1</container> </customwidget> </customwidgets> <resources/> <connections/> <buttongroups> <buttongroup name="buttonGroup_2"/> <buttongroup name="buttonGroup"/> <buttongroup name="buttonGroup_4"> <property name="exclusive"> <bool>false</bool> </property> </buttongroup> <buttongroup name="buttonGroup_3"/> </buttongroups> </ui>