593 lines
17 KiB
XML
593 lines
17 KiB
XML
<?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>1100</width>
|
|
<height>700</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Valentina</string>
|
|
</property>
|
|
<widget class="QWidget" name="centralWidget">
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<widget class="QToolBox" name="toolBox">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Minimum">
|
|
<horstretch>1</horstretch>
|
|
<verstretch>1</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>150</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="currentIndex">
|
|
<number>0</number>
|
|
</property>
|
|
<widget class="QWidget" name="page">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>150</width>
|
|
<height>104</height>
|
|
</rect>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Maximum">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<attribute name="label">
|
|
<string>Точка</string>
|
|
</attribute>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<item row="1" column="0">
|
|
<widget class="QToolButton" name="toolButtonNormal">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="icon.qrc">
|
|
<normaloff>:/icon/32x32/normal.png</normaloff>:/icon/32x32/normal.png</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>32</width>
|
|
<height>32</height>
|
|
</size>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QToolButton" name="toolButtonShoulderPoint">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="icon.qrc">
|
|
<normaloff>:/icon/32x32/shoulder.png</normaloff>:/icon/32x32/shoulder.png</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>32</width>
|
|
<height>32</height>
|
|
</size>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="QToolButton" name="toolButtonEndLine">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="icon.qrc">
|
|
<normaloff>:/icon/32x32/segment.png</normaloff>:/icon/32x32/segment.png</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>32</width>
|
|
<height>32</height>
|
|
</size>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QToolButton" name="toolButtonAlongLine">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="icon.qrc">
|
|
<normaloff>:/icon/32x32/along_line.png</normaloff>:/icon/32x32/along_line.png</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>32</width>
|
|
<height>32</height>
|
|
</size>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="2">
|
|
<widget class="QToolButton" name="toolButtonBisector">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="icon.qrc">
|
|
<normaloff>:/icon/32x32/bisector.png</normaloff>:/icon/32x32/bisector.png</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>32</width>
|
|
<height>32</height>
|
|
</size>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="page_2">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>100</width>
|
|
<height>58</height>
|
|
</rect>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Maximum">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<attribute name="label">
|
|
<string>Лінія</string>
|
|
</attribute>
|
|
<layout class="QGridLayout" name="gridLayout_3">
|
|
<item row="0" column="0">
|
|
<widget class="QToolButton" name="toolButtonLine">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="icon.qrc">
|
|
<normaloff>:/icon/32x32/line.png</normaloff>:/icon/32x32/line.png</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>32</width>
|
|
<height>32</height>
|
|
</size>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QToolButton" name="toolButtonLineIntersect">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="icon.qrc">
|
|
<normaloff>:/icon/32x32/intersect.png</normaloff>:/icon/32x32/intersect.png</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>32</width>
|
|
<height>32</height>
|
|
</size>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="page_3">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>100</width>
|
|
<height>58</height>
|
|
</rect>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Maximum">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<attribute name="label">
|
|
<string>Сплайн</string>
|
|
</attribute>
|
|
<layout class="QGridLayout" name="gridLayout_4">
|
|
<item row="0" column="0">
|
|
<widget class="QToolButton" name="toolButtonSpline">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="icon.qrc">
|
|
<normaloff>:/icon/32x32/spline.png</normaloff>:/icon/32x32/spline.png</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>32</width>
|
|
<height>32</height>
|
|
</size>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QToolButton" name="toolButtonSplinePath">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="icon.qrc">
|
|
<normaloff>:/icon/32x32/splinePath.png</normaloff>:/icon/32x32/splinePath.png</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>32</width>
|
|
<height>32</height>
|
|
</size>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="page_4">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>87</width>
|
|
<height>58</height>
|
|
</rect>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Maximum">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<attribute name="label">
|
|
<string>Дуга</string>
|
|
</attribute>
|
|
<layout class="QGridLayout" name="gridLayout_5">
|
|
<item row="0" column="0">
|
|
<widget class="QToolButton" name="toolButtonArc">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="icon.qrc">
|
|
<normaloff>:/icon/32x32/arc.png</normaloff>:/icon/32x32/arc.png</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>32</width>
|
|
<height>32</height>
|
|
</size>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="LayoutView">
|
|
<property name="spacing">
|
|
<number>10</number>
|
|
</property>
|
|
<property name="sizeConstraint">
|
|
<enum>QLayout::SetMaximumSize</enum>
|
|
</property>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QMenuBar" name="menuBar">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>1100</width>
|
|
<height>25</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QToolBar" name="mainToolBar">
|
|
<attribute name="toolBarArea">
|
|
<enum>TopToolBarArea</enum>
|
|
</attribute>
|
|
<attribute name="toolBarBreak">
|
|
<bool>false</bool>
|
|
</attribute>
|
|
<addaction name="actionNew"/>
|
|
<addaction name="actionOpen"/>
|
|
<addaction name="actionSave"/>
|
|
<addaction name="actionSaveAs"/>
|
|
</widget>
|
|
<widget class="QStatusBar" name="statusBar"/>
|
|
<widget class="QToolBar" name="toolBar">
|
|
<property name="enabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>toolBar</string>
|
|
</property>
|
|
<attribute name="toolBarArea">
|
|
<enum>TopToolBarArea</enum>
|
|
</attribute>
|
|
<attribute name="toolBarBreak">
|
|
<bool>false</bool>
|
|
</attribute>
|
|
<addaction name="actionDraw"/>
|
|
<addaction name="actionDetails"/>
|
|
<addaction name="actionArrowTool"/>
|
|
</widget>
|
|
<widget class="QToolBar" name="toolBarDraws">
|
|
<property name="windowTitle">
|
|
<string>toolBar_2</string>
|
|
</property>
|
|
<attribute name="toolBarArea">
|
|
<enum>TopToolBarArea</enum>
|
|
</attribute>
|
|
<attribute name="toolBarBreak">
|
|
<bool>false</bool>
|
|
</attribute>
|
|
<addaction name="actionNewDraw"/>
|
|
</widget>
|
|
<widget class="QToolBar" name="toolBarOption">
|
|
<property name="windowTitle">
|
|
<string>toolBar_3</string>
|
|
</property>
|
|
<attribute name="toolBarArea">
|
|
<enum>BottomToolBarArea</enum>
|
|
</attribute>
|
|
<attribute name="toolBarBreak">
|
|
<bool>false</bool>
|
|
</attribute>
|
|
</widget>
|
|
<action name="actionNew">
|
|
<property name="icon">
|
|
<iconset theme="document-new">
|
|
<normaloff/>
|
|
</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Новий</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Створити нове лекало</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionOpen">
|
|
<property name="icon">
|
|
<iconset theme="document-open">
|
|
<normaloff/>
|
|
</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Відкрити</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Відкрити файл з лекалом</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionSave">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset theme="document-save">
|
|
<normaloff/>
|
|
</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Зберегти</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Зберегти лекало</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionSaveAs">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset theme="document-save-as">
|
|
<normaloff/>
|
|
</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Зберегти як</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Зберегти ще не збережене лекало</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionDraw">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="icon.qrc">
|
|
<normaloff>:/icon/32x32/draw.png</normaloff>:/icon/32x32/draw.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Креслення</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Режим креслення</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionDetails">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="icon.qrc">
|
|
<normaloff>:/icon/32x32/kontur.png</normaloff>:/icon/32x32/kontur.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Деталі</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Режим деталі</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionArrowTool">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="icon.qrc">
|
|
<normaloff>:/icon/32x32/arrow_cursor.png</normaloff>:/icon/32x32/arrow_cursor.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Інструмент вказівник</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Інструмент вказівник</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionNewDraw">
|
|
<property name="icon">
|
|
<iconset resource="icon.qrc">
|
|
<normaloff>:/icon/32x32/new_draw.png</normaloff>:/icon/32x32/new_draw.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Нове креслення</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Додати нове креслення</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionOptionDraw">
|
|
<property name="icon">
|
|
<iconset resource="icon.qrc">
|
|
<normaloff>:/icon/32x32/option_draw.png</normaloff>:/icon/32x32/option_draw.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Змінити ім'я креслення</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionTable">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="icon.qrc">
|
|
<normaloff>:/icon/32x32/table.png</normaloff>:/icon/32x32/table.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Таблиці змінних</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionHistory">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="icon.qrc">
|
|
<normaloff>:/icon/32x32/history.png</normaloff>:/icon/32x32/history.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>History</string>
|
|
</property>
|
|
</action>
|
|
</widget>
|
|
<layoutdefault spacing="6" margin="11"/>
|
|
<resources>
|
|
<include location="icon.qrc"/>
|
|
</resources>
|
|
<connections/>
|
|
</ui>
|