/
pi_coder
/
ByteMachine
Обзор
Документация
Войти
/
pi_coder
/
ByteMachine
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
src/forms/main_window.ui
712 строк
21 KB
pimenov-and
Восстановление функционала старой версии
28 июл 2026, 20:04
28 июл 2026, 20:04
98412d0
Код
Авторство
О чём код?
<?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>1031</width> <height>735</height> </rect> </property> <property name="sizePolicy"> <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="windowTitle"> <string>ByteMachine</string> </property> <widget class="QWidget" name="centralwidget"> <layout class="QHBoxLayout" name="horizontalLayout"> <item> <widget class="QSplitter" name="splitter_2"> <property name="orientation"> <enum>Qt::Orientation::Horizontal</enum> </property> <property name="opaqueResize"> <bool>true</bool> </property> <property name="handleWidth"> <number>5</number> </property> <property name="childrenCollapsible"> <bool>false</bool> </property> <widget class="QGroupBox" name="groupBoxNodes_"> <property name="sizePolicy"> <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>200</width> <height>0</height> </size> </property> <property name="contextMenuPolicy"> <enum>Qt::ContextMenuPolicy::NoContextMenu</enum> </property> <property name="title"> <string>Nodes</string> </property> <layout class="QVBoxLayout" name="verticalLayout_2"> <property name="topMargin"> <number>14</number> </property> <item> <layout class="QHBoxLayout" name="horizontalLayout_3"> <item> <widget class="QLineEdit" name="lineEdit"> <property name="enabled"> <bool>false</bool> </property> <property name="text"> <string>Filter</string> </property> </widget> </item> <item> <widget class="QPushButton" name="pushBtnResetFilter_"> <property name="enabled"> <bool>false</bool> </property> <property name="minimumSize"> <size> <width>28</width> <height>22</height> </size> </property> <property name="maximumSize"> <size> <width>28</width> <height>22</height> </size> </property> <property name="toolTip"> <string>Reset</string> </property> <property name="text"> <string/> </property> <property name="icon"> <iconset resource="../res.qrc"> <normaloff>:/res_images/images/reset_value_light.png</normaloff>:/res_images/images/reset_value_light.png</iconset> </property> </widget> </item> </layout> </item> <item> <widget class="QToolBox" name="toolBoxNodes_"> <property name="autoFillBackground"> <bool>false</bool> </property> <property name="styleSheet"> <string notr="true">QToolBox::tab { border: 1px solid rgb(160, 160, 160); }</string> </property> <property name="currentIndex"> <number>2</number> </property> <widget class="QWidget" name="pageStandartNodes_"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>265</width> <height>419</height> </rect> </property> <attribute name="icon"> <iconset resource="../res.qrc"> <normaloff>:/res_images/images/collapse_arrow_light.png</normaloff>:/res_images/images/collapse_arrow_light.png</iconset> </attribute> <attribute name="label"> <string>Standart</string> </attribute> </widget> <widget class="QWidget" name="pageVisualizationNodes_"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>265</width> <height>419</height> </rect> </property> <attribute name="icon"> <iconset resource="../res.qrc"> <normaloff>:/res_images/images/collapse_arrow_light.png</normaloff>:/res_images/images/collapse_arrow_light.png</iconset> </attribute> <attribute name="label"> <string>Visualization</string> </attribute> </widget> <widget class="QWidget" name="pageComunicationNodes_"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>265</width> <height>419</height> </rect> </property> <attribute name="label"> <string>Communication</string> </attribute> </widget> <widget class="QWidget" name="pageScript_"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>265</width> <height>419</height> </rect> </property> <attribute name="icon"> <iconset resource="../res.qrc"> <normaloff>:/res_images/images/collapse_arrow_light.png</normaloff>:/res_images/images/collapse_arrow_light.png</iconset> </attribute> <attribute name="label"> <string>Script</string> </attribute> </widget> <widget class="QWidget" name="page_4"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>265</width> <height>419</height> </rect> </property> <attribute name="icon"> <iconset resource="../res.qrc"> <normaloff>:/res_images/images/collapse_arrow_light.png</normaloff>:/res_images/images/collapse_arrow_light.png</iconset> </attribute> <attribute name="label"> <string>Other</string> </attribute> </widget> </widget> </item> </layout> </widget> <widget class="QSplitter" name="splitter"> <property name="orientation"> <enum>Qt::Orientation::Vertical</enum> </property> <property name="childrenCollapsible"> <bool>false</bool> </property> <widget class="QScrollArea" name="scrollArea"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> <horstretch>1</horstretch> <verstretch>1</verstretch> </sizepolicy> </property> <property name="widgetResizable"> <bool>true</bool> </property> <widget class="QWidget" name="scrollAreaWidgetContents"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>5000</width> <height>5000</height> </rect> </property> <property name="sizePolicy"> <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> <horstretch>1</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <layout class="QHBoxLayout" name="horizontalLayout_4"> <property name="leftMargin"> <number>0</number> </property> <property name="topMargin"> <number>0</number> </property> <property name="rightMargin"> <number>0</number> </property> <property name="bottomMargin"> <number>0</number> </property> <item> <widget class="FormDesigner" name="widget" native="true"> <property name="minimumSize"> <size> <width>5000</width> <height>5000</height> </size> </property> <property name="mouseTracking"> <bool>true</bool> </property> <property name="acceptDrops"> <bool>true</bool> </property> </widget> </item> </layout> </widget> </widget> <widget class="QGroupBox" name="groupBoxNodes_1"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="contextMenuPolicy"> <enum>Qt::ContextMenuPolicy::NoContextMenu</enum> </property> <property name="title"> <string>Output</string> </property> <layout class="QHBoxLayout" name="horizontalLayout_2"> <item> <widget class="QTableView" name="tableView"> <property name="minimumSize"> <size> <width>200</width> <height>200</height> </size> </property> </widget> </item> </layout> </widget> </widget> <widget class="QGroupBox" name="groupBoxSettings_"> <property name="sizePolicy"> <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>200</width> <height>0</height> </size> </property> <property name="contextMenuPolicy"> <enum>Qt::ContextMenuPolicy::NoContextMenu</enum> </property> <property name="title"> <string>Settings</string> </property> <layout class="QVBoxLayout" name="verticalLayout"> <property name="topMargin"> <number>14</number> </property> <item> <widget class="QComboBox" name="comboBoxObjects_"> <property name="font"> <font> <bold>true</bold> </font> </property> <property name="toolTip"> <string>Project</string> </property> <item> <property name="text"> <string>Project</string> </property> </item> </widget> </item> <item> <widget class="QScrollArea" name="scrollAreaSettings_"> <property name="frameShape"> <enum>QFrame::Shape::NoFrame</enum> </property> <property name="widgetResizable"> <bool>true</bool> </property> <widget class="QWidget" name="scrollAreaWidgetContents_2"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>282</width> <height>571</height> </rect> </property> </widget> </widget> </item> </layout> </widget> </widget> </item> </layout> </widget> <widget class="QMenuBar" name="menu_"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>1031</width> <height>22</height> </rect> </property> <widget class="QMenu" name="menuFile_"> <property name="title"> <string>File</string> </property> <addaction name="actNew_"/> <addaction name="actOpen_"/> <addaction name="actAdd_"/> <addaction name="actSave_"/> <addaction name="actSaveAs_"/> <addaction name="separator"/> <addaction name="actExamples"/> <addaction name="separator"/> <addaction name="actExit_"/> </widget> <widget class="QMenu" name="menuHelp_"> <property name="title"> <string>Help</string> </property> <addaction name="actionHelp_"/> <addaction name="actAboutProg_"/> </widget> <widget class="QMenu" name="menuEdit_"> <property name="title"> <string>Edit</string> </property> <addaction name="actUndo_"/> <addaction name="actRedo_"/> <addaction name="separator"/> <addaction name="actCut_"/> <addaction name="actCopy_"/> <addaction name="actPaste_"/> </widget> <widget class="QMenu" name="menuTools_"> <property name="title"> <string>Tools</string> </property> <addaction name="actScriptEditor_"/> </widget> <widget class="QMenu" name="menuView_"> <property name="title"> <string>View</string> </property> <addaction name="actNodePanel_"/> <addaction name="actSettingsPanel_"/> <addaction name="actOutputPanel_"/> <addaction name="actVisibleDesignerGrid_"/> <addaction name="actNodeComments_"/> </widget> <widget class="QMenu" name="menuSettings_"> <property name="title"> <string>Settings</string> </property> <widget class="QMenu" name="menuLanguages"> <property name="title"> <string>Languages</string> </property> <addaction name="actionEnglish"/> <addaction name="actionRussian"/> </widget> <widget class="QMenu" name="menuColor_Themes"> <property name="title"> <string>Color Themes</string> </property> <addaction name="actionLight"/> <addaction name="actionDark"/> </widget> <addaction name="menuLanguages"/> <addaction name="menuColor_Themes"/> </widget> <addaction name="menuFile_"/> <addaction name="menuEdit_"/> <addaction name="menuTools_"/> <addaction name="menuView_"/> <addaction name="menuSettings_"/> <addaction name="menuHelp_"/> </widget> <widget class="StatusBar" name="statusBar_"/> <widget class="QToolBar" name="toolBar_"> <property name="windowTitle"> <string>toolBar</string> </property> <property name="movable"> <bool>false</bool> </property> <attribute name="toolBarArea"> <enum>TopToolBarArea</enum> </attribute> <attribute name="toolBarBreak"> <bool>false</bool> </attribute> <addaction name="actNew_"/> <addaction name="actOpen_"/> <addaction name="actAdd_"/> <addaction name="actSave_"/> <addaction name="separator"/> <addaction name="actUndo_"/> <addaction name="actRedo_"/> <addaction name="separator"/> <addaction name="actCut_"/> <addaction name="actCopy_"/> <addaction name="actPaste_"/> <addaction name="separator"/> <addaction name="actNodePanel_"/> <addaction name="actSettingsPanel_"/> <addaction name="actOutputPanel_"/> <addaction name="actVisibleDesignerGrid_"/> <addaction name="actNodeComments_"/> <addaction name="separator"/> <addaction name="actionHelp_"/> </widget> <action name="actExit_"> <property name="text"> <string>Exit</string> </property> </action> <action name="actNew_"> <property name="icon"> <iconset resource="../res.qrc"> <normaloff>:/res_images/images/new_light.png</normaloff>:/res_images/images/new_light.png</iconset> </property> <property name="text"> <string>New</string> </property> <property name="iconText"> <string>New</string> </property> </action> <action name="actOpen_"> <property name="icon"> <iconset resource="../res.qrc"> <normaloff>:/res_images/images/open_light.png</normaloff>:/res_images/images/open_light.png</iconset> </property> <property name="text"> <string>Open...</string> </property> </action> <action name="actAdd_"> <property name="icon"> <iconset resource="../res.qrc"> <normaloff>:/res_images/images/add_light.png</normaloff>:/res_images/images/add_light.png</iconset> </property> <property name="text"> <string>Add...</string> </property> </action> <action name="actSave_"> <property name="icon"> <iconset resource="../res.qrc"> <normaloff>:/res_images/images/save_light.png</normaloff>:/res_images/images/save_light.png</iconset> </property> <property name="text"> <string>Save</string> </property> </action> <action name="actSaveAs_"> <property name="text"> <string>Save As...</string> </property> </action> <action name="actAboutProg_"> <property name="text"> <string>About Program...</string> </property> </action> <action name="actExamples"> <property name="text"> <string>Examples</string> </property> </action> <action name="actUndo_"> <property name="icon"> <iconset resource="../res.qrc"> <normaloff>:/res_images/images/undo_light.png</normaloff>:/res_images/images/undo_light.png</iconset> </property> <property name="text"> <string>Undo</string> </property> </action> <action name="actRedo_"> <property name="icon"> <iconset resource="../res.qrc"> <normaloff>:/res_images/images/redo_light.png</normaloff>:/res_images/images/redo_light.png</iconset> </property> <property name="text"> <string>Redo</string> </property> </action> <action name="actCut_"> <property name="icon"> <iconset resource="../res.qrc"> <normaloff>:/res_images/images/cut_light.png</normaloff>:/res_images/images/cut_light.png</iconset> </property> <property name="text"> <string>Cut</string> </property> </action> <action name="actCopy_"> <property name="icon"> <iconset resource="../res.qrc"> <normaloff>:/res_images/images/copy_light.png</normaloff>:/res_images/images/copy_light.png</iconset> </property> <property name="text"> <string>Copy</string> </property> </action> <action name="actPaste_"> <property name="icon"> <iconset resource="../res.qrc"> <normaloff>:/res_images/images/paste_light.png</normaloff>:/res_images/images/paste_light.png</iconset> </property> <property name="text"> <string>Paste</string> </property> </action> <action name="actScriptEditor_"> <property name="text"> <string>Script Editor...</string> </property> </action> <action name="actNodePanel_"> <property name="checkable"> <bool>true</bool> </property> <property name="icon"> <iconset resource="../res.qrc"> <normaloff>:/res_images/images/visible_nodes_panel_light.png</normaloff>:/res_images/images/visible_nodes_panel_light.png</iconset> </property> <property name="text"> <string>Node Panel</string> </property> </action> <action name="actSettingsPanel_"> <property name="checkable"> <bool>true</bool> </property> <property name="icon"> <iconset resource="../res.qrc"> <normaloff>:/res_images/images/visible_settings_panel_light.png</normaloff>:/res_images/images/visible_settings_panel_light.png</iconset> </property> <property name="text"> <string>Settings Panel</string> </property> </action> <action name="actOutputPanel_"> <property name="checkable"> <bool>true</bool> </property> <property name="icon"> <iconset resource="../res.qrc"> <normaloff>:/res_images/images/visible_output_panel_light.png</normaloff>:/res_images/images/visible_output_panel_light.png</iconset> </property> <property name="text"> <string>Output Panel</string> </property> </action> <action name="actVisibleDesignerGrid_"> <property name="checkable"> <bool>true</bool> </property> <property name="icon"> <iconset resource="../res.qrc"> <normaloff>:/res_images/images/visible_designer_grid_light.png</normaloff>:/res_images/images/visible_designer_grid_light.png</iconset> </property> <property name="text"> <string>Designer Grid</string> </property> </action> <action name="actNodeComments_"> <property name="checkable"> <bool>true</bool> </property> <property name="icon"> <iconset resource="../res.qrc"> <normaloff>:/res_images/images/visible_node_comments_light.png</normaloff>:/res_images/images/visible_node_comments_light.png</iconset> </property> <property name="text"> <string>Node Comments</string> </property> </action> <action name="actionHelp_"> <property name="icon"> <iconset resource="../res.qrc"> <normaloff>:/res_images/images/help_light.png</normaloff>:/res_images/images/help_light.png</iconset> </property> <property name="text"> <string>Help</string> </property> </action> <action name="actionEnglish"> <property name="text"> <string>English</string> </property> </action> <action name="actionRussian"> <property name="text"> <string>Russian</string> </property> </action> <action name="actionLight"> <property name="text"> <string>Light</string> </property> </action> <action name="actionDark"> <property name="text"> <string>Dark</string> </property> </action> </widget> <customwidgets> <customwidget> <class>StatusBar</class> <extends>QStatusBar</extends> <header>status_bar.h</header> </customwidget> <customwidget> <class>FormDesigner</class> <extends>QWidget</extends> <header>form_designer.h</header> <container>1</container> </customwidget> </customwidgets> <resources> <include location="../res.qrc"/> <include location="../../../ByteMachine_3/ByteMachine/res.qrc"/> </resources> <connections> <connection> <sender>actExit_</sender> <signal>triggered()</signal> <receiver>MainWindow</receiver> <slot>close()</slot> <hints> <hint type="sourcelabel"> <x>-1</x> <y>-1</y> </hint> <hint type="destinationlabel"> <x>399</x> <y>299</y> </hint> </hints> </connection> </connections> </ui>