Added internationalization for program. Translated string to english. Added

Ukraine and Russian language.

--HG--
branch : feature
This commit is contained in:
dismine 2013-09-18 19:52:49 +03:00
parent 6229e4f6bd
commit bd731ef43d
22 changed files with 2828 additions and 224 deletions

View File

@ -224,3 +224,12 @@ CONFIG(debug, debug|release){
# Release # Release
QMAKE_CXXFLAGS += -O1 -std=c++0x QMAKE_CXXFLAGS += -O1 -std=c++0x
} }
TRANSLATIONS += translations/valentina_ru.ts \
translations/valentina_uk.ts
QMAKE_EXTRA_COMPILERS += lrelease
lrelease.input = TRANSLATIONS
lrelease.output = ${QMAKE_FILE_BASE}.qm
lrelease.commands = $$[QT_INSTALL_BINS]/lrelease ${QMAKE_FILE_IN} -qm ${DESTDIR}${QMAKE_FILE_BASE}.qm
lrelease.CONFIG += no_link target_predeps

View File

@ -11,7 +11,14 @@
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>Dialog</string> <string>Point along line</string>
</property>
<property name="windowIcon">
<iconset resource="../icon.qrc">
<normaloff>:/icon/64x64/icon64x64.png</normaloff>:/icon/64x64/icon64x64.png</iconset>
</property>
<property name="locale">
<locale language="English" country="UnitedStates"/>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<item> <item>
@ -25,7 +32,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="text"> <property name="text">
<string>Відстань</string> <string>Length</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -85,7 +92,7 @@
<item> <item>
<widget class="QLabel" name="label_3"> <widget class="QLabel" name="label_3">
<property name="text"> <property name="text">
<string>Ім'я нової точки</string> <string>Name new point</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -116,7 +123,7 @@
<item> <item>
<widget class="QLabel" name="label_4"> <widget class="QLabel" name="label_4">
<property name="text"> <property name="text">
<string>Перша точка</string> <string>First point</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -130,7 +137,7 @@
<item> <item>
<widget class="QLabel" name="label_5"> <widget class="QLabel" name="label_5">
<property name="text"> <property name="text">
<string>Друга точка</string> <string>Second point</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -144,7 +151,7 @@
<item> <item>
<widget class="QLabel" name="label_6"> <widget class="QLabel" name="label_6">
<property name="text"> <property name="text">
<string>Тип лінії</string> <string>Type line</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -158,14 +165,14 @@
<item> <item>
<widget class="QLabel" name="label_7"> <widget class="QLabel" name="label_7">
<property name="text"> <property name="text">
<string>Вхідні данні</string> <string>Input data</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QRadioButton" name="radioButtonSizeGrowth"> <widget class="QRadioButton" name="radioButtonSizeGrowth">
<property name="text"> <property name="text">
<string>Розмір і зріст</string> <string>Size and growth</string>
</property> </property>
<property name="checked"> <property name="checked">
<bool>true</bool> <bool>true</bool>
@ -175,21 +182,21 @@
<item> <item>
<widget class="QRadioButton" name="radioButtonStandartTable"> <widget class="QRadioButton" name="radioButtonStandartTable">
<property name="text"> <property name="text">
<string>Стандартна таблиця</string> <string>Standart table</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QRadioButton" name="radioButtonIncrements"> <widget class="QRadioButton" name="radioButtonIncrements">
<property name="text"> <property name="text">
<string>Прибавки</string> <string>Increments</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QRadioButton" name="radioButtonLengthLine"> <widget class="QRadioButton" name="radioButtonLengthLine">
<property name="text"> <property name="text">
<string>Довжини ліній</string> <string>Length of lines</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -199,7 +206,7 @@
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="text"> <property name="text">
<string>Довжини дуг</string> <string>Length of arcs</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -209,7 +216,7 @@
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="text"> <property name="text">
<string>Довжини сплайнів</string> <string>Length of curves</string>
</property> </property>
</widget> </widget>
</item> </item>

View File

@ -11,7 +11,14 @@
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>Dialog</string> <string>Arc</string>
</property>
<property name="windowIcon">
<iconset resource="../icon.qrc">
<normaloff>:/icon/64x64/icon64x64.png</normaloff>:/icon/64x64/icon64x64.png</iconset>
</property>
<property name="locale">
<locale language="English" country="UnitedStates"/>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<item> <item>
@ -25,7 +32,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="text"> <property name="text">
<string>Радіус</string> <string>Radius</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -105,7 +112,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="text"> <property name="text">
<string>Перший кут градус</string> <string>First angle degree</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -185,7 +192,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="text"> <property name="text">
<string>Другий кут градус</string> <string>Second angle degree</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -269,7 +276,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="text"> <property name="text">
<string>Центр</string> <string>Center point</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -283,14 +290,14 @@
<item> <item>
<widget class="QLabel" name="label_8"> <widget class="QLabel" name="label_8">
<property name="text"> <property name="text">
<string>Вхідні данні</string> <string>Input data</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QRadioButton" name="radioButtonSizeGrowth"> <widget class="QRadioButton" name="radioButtonSizeGrowth">
<property name="text"> <property name="text">
<string>Розмір і зріст</string> <string>Size and growth</string>
</property> </property>
<property name="checked"> <property name="checked">
<bool>true</bool> <bool>true</bool>
@ -300,14 +307,14 @@
<item> <item>
<widget class="QRadioButton" name="radioButtonStandartTable"> <widget class="QRadioButton" name="radioButtonStandartTable">
<property name="text"> <property name="text">
<string>Стандартна таблиця</string> <string>Standart table</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QRadioButton" name="radioButtonIncrements"> <widget class="QRadioButton" name="radioButtonIncrements">
<property name="text"> <property name="text">
<string>Прибавки</string> <string>Increments</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -317,7 +324,7 @@
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="text"> <property name="text">
<string>Довжини ліній</string> <string>Length of lines</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -327,7 +334,7 @@
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="text"> <property name="text">
<string>Довжини дуг</string> <string>Length of arcs</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -337,7 +344,7 @@
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="text"> <property name="text">
<string>Довжини сплайнів</string> <string>Length of arcs</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -347,7 +354,7 @@
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="text"> <property name="text">
<string>Кути ліній</string> <string>Angle of lines</string>
</property> </property>
</widget> </widget>
</item> </item>

View File

@ -11,7 +11,11 @@
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>Dialog</string> <string>Bisector</string>
</property>
<property name="windowIcon">
<iconset resource="../icon.qrc">
<normaloff>:/icon/64x64/icon64x64.png</normaloff>:/icon/64x64/icon64x64.png</iconset>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<item> <item>
@ -25,7 +29,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="text"> <property name="text">
<string>Відстань</string> <string>Length</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -92,7 +96,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="text"> <property name="text">
<string>Ім'я нової точки</string> <string>Name new point</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -129,7 +133,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="text"> <property name="text">
<string>Перша точка</string> <string>First point</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -149,7 +153,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="text"> <property name="text">
<string>Друга точка</string> <string>Second point</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -169,7 +173,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="text"> <property name="text">
<string>Третя точка</string> <string>Third point</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -183,7 +187,7 @@
<item> <item>
<widget class="QLabel" name="label_7"> <widget class="QLabel" name="label_7">
<property name="text"> <property name="text">
<string>Тип лінії</string> <string>Type line</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -197,14 +201,14 @@
<item> <item>
<widget class="QLabel" name="label_2"> <widget class="QLabel" name="label_2">
<property name="text"> <property name="text">
<string>Вхідні данні</string> <string>Input data</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QRadioButton" name="radioButtonSizeGrowth"> <widget class="QRadioButton" name="radioButtonSizeGrowth">
<property name="text"> <property name="text">
<string>Розмір і зріст</string> <string>Size and growth</string>
</property> </property>
<property name="checked"> <property name="checked">
<bool>true</bool> <bool>true</bool>
@ -214,14 +218,14 @@
<item> <item>
<widget class="QRadioButton" name="radioButtonStandartTable"> <widget class="QRadioButton" name="radioButtonStandartTable">
<property name="text"> <property name="text">
<string>Стандартна таблиця</string> <string>Standart table</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QRadioButton" name="radioButtonIncrements"> <widget class="QRadioButton" name="radioButtonIncrements">
<property name="text"> <property name="text">
<string>Прибавки</string> <string>Increments</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -231,7 +235,7 @@
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="text"> <property name="text">
<string>Довжини ліній</string> <string>Length of lines</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -241,7 +245,7 @@
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="text"> <property name="text">
<string>Довжини дуг</string> <string>Length of arcs</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -251,7 +255,7 @@
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="text"> <property name="text">
<string>Довжини сплайні</string> <string>Length of curves</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -273,6 +277,9 @@
</item> </item>
<item> <item>
<widget class="QDialogButtonBox" name="buttonBox"> <widget class="QDialogButtonBox" name="buttonBox">
<property name="locale">
<locale language="English" country="UnitedStates"/>
</property>
<property name="orientation"> <property name="orientation">
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
</property> </property>

View File

@ -11,7 +11,14 @@
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>Dialog</string> <string>Detail</string>
</property>
<property name="windowIcon">
<iconset resource="../icon.qrc">
<normaloff>:/icon/64x64/icon64x64.png</normaloff>:/icon/64x64/icon64x64.png</iconset>
</property>
<property name="locale">
<locale language="English" country="UnitedStates"/>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_2"> <layout class="QVBoxLayout" name="verticalLayout_2">
<item> <item>
@ -28,8 +35,11 @@
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="locale">
<locale language="English" country="UnitedStates"/>
</property>
<property name="text"> <property name="text">
<string>Ім'я деталі</string> <string>Name detail</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -43,7 +53,7 @@
<item> <item>
<widget class="QCheckBox" name="checkBoxClosed"> <widget class="QCheckBox" name="checkBoxClosed">
<property name="text"> <property name="text">
<string>Замкнена</string> <string>Closed</string>
</property> </property>
<property name="checked"> <property name="checked">
<bool>true</bool> <bool>true</bool>
@ -71,7 +81,9 @@
</item> </item>
</layout> </layout>
</widget> </widget>
<resources/> <resources>
<include location="../icon.qrc"/>
</resources>
<connections> <connections>
<connection> <connection>
<sender>buttonBox</sender> <sender>buttonBox</sender>

View File

@ -11,7 +11,14 @@
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>Dialog</string> <string>Point in the end of line</string>
</property>
<property name="windowIcon">
<iconset resource="../icon.qrc">
<normaloff>:/icon/64x64/icon64x64.png</normaloff>:/icon/64x64/icon64x64.png</iconset>
</property>
<property name="locale">
<locale language="English" country="UnitedStates"/>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<item> <item>
@ -25,7 +32,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="text"> <property name="text">
<string>Відстань</string> <string>Length</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -92,7 +99,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="text"> <property name="text">
<string>Базова точка</string> <string>Base point</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -129,7 +136,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="text"> <property name="text">
<string>Ім'я нової точки</string> <string>Name new point</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -157,7 +164,7 @@
</size> </size>
</property> </property>
<property name="text"> <property name="text">
<string>Кут градуси</string> <string>Angle degree </string>
</property> </property>
</widget> </widget>
</item> </item>
@ -341,7 +348,7 @@
<item> <item>
<widget class="QLabel" name="label_7"> <widget class="QLabel" name="label_7">
<property name="text"> <property name="text">
<string>Тип лінії</string> <string>Type line</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -355,14 +362,14 @@
<item> <item>
<widget class="QLabel" name="label_2"> <widget class="QLabel" name="label_2">
<property name="text"> <property name="text">
<string>Вхідні данні</string> <string>Input data</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QRadioButton" name="radioButtonSizeGrowth"> <widget class="QRadioButton" name="radioButtonSizeGrowth">
<property name="text"> <property name="text">
<string>Розмір і зріст</string> <string>Size and growth</string>
</property> </property>
<property name="checked"> <property name="checked">
<bool>true</bool> <bool>true</bool>
@ -372,14 +379,14 @@
<item> <item>
<widget class="QRadioButton" name="radioButtonStandartTable"> <widget class="QRadioButton" name="radioButtonStandartTable">
<property name="text"> <property name="text">
<string>Стандартна таблиця</string> <string>Standart table</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QRadioButton" name="radioButtonIncrements"> <widget class="QRadioButton" name="radioButtonIncrements">
<property name="text"> <property name="text">
<string>Прибавки</string> <string>Increments</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -389,7 +396,7 @@
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="text"> <property name="text">
<string>Довжини ліній</string> <string>Length of lines</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -399,7 +406,7 @@
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="text"> <property name="text">
<string>Довжини дуг</string> <string>Length of arcs</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -409,7 +416,7 @@
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="text"> <property name="text">
<string>Довжини сплайні</string> <string>Length of curves</string>
</property> </property>
</widget> </widget>
</item> </item>

View File

@ -14,7 +14,14 @@
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>Dialog</string> <string>History</string>
</property>
<property name="windowIcon">
<iconset resource="../icon.qrc">
<normaloff>:/icon/64x64/icon64x64.png</normaloff>:/icon/64x64/icon64x64.png</iconset>
</property>
<property name="locale">
<locale language="English" country="UnitedStates"/>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<item> <item>
@ -44,7 +51,7 @@
</column> </column>
<column> <column>
<property name="text"> <property name="text">
<string>Інструмент</string> <string>Tool</string>
</property> </property>
</column> </column>
</widget> </widget>
@ -61,7 +68,9 @@
</item> </item>
</layout> </layout>
</widget> </widget>
<resources/> <resources>
<include location="../icon.qrc"/>
</resources>
<connections> <connections>
<connection> <connection>
<sender>buttonBox</sender> <sender>buttonBox</sender>

View File

@ -11,7 +11,14 @@
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>Dialog</string> <string>Increments</string>
</property>
<property name="windowIcon">
<iconset resource="../icon.qrc">
<normaloff>:/icon/64x64/icon64x64.png</normaloff>:/icon/64x64/icon64x64.png</iconset>
</property>
<property name="locale">
<locale language="English" country="UnitedStates"/>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<item> <item>
@ -20,11 +27,11 @@
<enum>QTabWidget::North</enum> <enum>QTabWidget::North</enum>
</property> </property>
<property name="currentIndex"> <property name="currentIndex">
<number>1</number> <number>4</number>
</property> </property>
<widget class="QWidget" name="tabStandart"> <widget class="QWidget" name="tabStandart">
<attribute name="title"> <attribute name="title">
<string>Табличні розміри</string> <string>Table sizes</string>
</attribute> </attribute>
<layout class="QGridLayout" name="gridLayout_2"> <layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0"> <item row="0" column="0">
@ -73,32 +80,32 @@
</attribute> </attribute>
<column> <column>
<property name="text"> <property name="text">
<string>Позначення</string> <string>Denotation</string>
</property> </property>
</column> </column>
<column> <column>
<property name="text"> <property name="text">
<string>Розраховане знач.</string> <string>The calculated value</string>
</property> </property>
</column> </column>
<column> <column>
<property name="text"> <property name="text">
<string>Базове знач.</string> <string>Base value</string>
</property> </property>
</column> </column>
<column> <column>
<property name="text"> <property name="text">
<string>В розмірах</string> <string>In sizes</string>
</property> </property>
</column> </column>
<column> <column>
<property name="text"> <property name="text">
<string>В ростах</string> <string>In growths</string>
</property> </property>
</column> </column>
<column> <column>
<property name="text"> <property name="text">
<string>Опис</string> <string>Description</string>
</property> </property>
</column> </column>
</widget> </widget>
@ -107,7 +114,7 @@
</widget> </widget>
<widget class="QWidget" name="tabIncrements"> <widget class="QWidget" name="tabIncrements">
<attribute name="title"> <attribute name="title">
<string>Прибавки</string> <string>Increments</string>
</attribute> </attribute>
<layout class="QGridLayout" name="gridLayout"> <layout class="QGridLayout" name="gridLayout">
<item row="0" column="0" colspan="3"> <item row="0" column="0" colspan="3">
@ -147,32 +154,32 @@
</attribute> </attribute>
<column> <column>
<property name="text"> <property name="text">
<string>Позначення</string> <string>Denotation</string>
</property> </property>
</column> </column>
<column> <column>
<property name="text"> <property name="text">
<string>Розраховане знач.</string> <string>The calculated value</string>
</property> </property>
</column> </column>
<column> <column>
<property name="text"> <property name="text">
<string>Базове знач.</string> <string>Base value</string>
</property> </property>
</column> </column>
<column> <column>
<property name="text"> <property name="text">
<string>В розмірах</string> <string>In size</string>
</property> </property>
</column> </column>
<column> <column>
<property name="text"> <property name="text">
<string>В ростах</string> <string>In growth</string>
</property> </property>
</column> </column>
<column> <column>
<property name="text"> <property name="text">
<string>Опис</string> <string>Description</string>
</property> </property>
</column> </column>
</widget> </widget>
@ -208,7 +215,7 @@
</widget> </widget>
<widget class="QWidget" name="tab_3"> <widget class="QWidget" name="tab_3">
<attribute name="title"> <attribute name="title">
<string>Лінії</string> <string>Lines</string>
</attribute> </attribute>
<layout class="QGridLayout" name="gridLayout_3"> <layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0"> <item row="0" column="0">
@ -230,12 +237,12 @@
</attribute> </attribute>
<column> <column>
<property name="text"> <property name="text">
<string>Лінія</string> <string>Line</string>
</property> </property>
</column> </column>
<column> <column>
<property name="text"> <property name="text">
<string>Довжина лінії</string> <string>Length of the line</string>
</property> </property>
</column> </column>
</widget> </widget>
@ -244,7 +251,7 @@
</widget> </widget>
<widget class="QWidget" name="tab_4"> <widget class="QWidget" name="tab_4">
<attribute name="title"> <attribute name="title">
<string>Сплайни</string> <string>Curves</string>
</attribute> </attribute>
<layout class="QGridLayout" name="gridLayout_4"> <layout class="QGridLayout" name="gridLayout_4">
<item row="0" column="0"> <item row="0" column="0">
@ -266,12 +273,12 @@
</attribute> </attribute>
<column> <column>
<property name="text"> <property name="text">
<string>Сплайн</string> <string>Curve</string>
</property> </property>
</column> </column>
<column> <column>
<property name="text"> <property name="text">
<string>Довжина сплайну</string> <string>Length of the curve</string>
</property> </property>
</column> </column>
</widget> </widget>
@ -280,7 +287,7 @@
</widget> </widget>
<widget class="QWidget" name="tab_5"> <widget class="QWidget" name="tab_5">
<attribute name="title"> <attribute name="title">
<string>Дуги</string> <string>Arcs</string>
</attribute> </attribute>
<layout class="QGridLayout" name="gridLayout_5"> <layout class="QGridLayout" name="gridLayout_5">
<item row="0" column="0"> <item row="0" column="0">
@ -302,12 +309,12 @@
</attribute> </attribute>
<column> <column>
<property name="text"> <property name="text">
<string>Дуга</string> <string>Arc</string>
</property> </property>
</column> </column>
<column> <column>
<property name="text"> <property name="text">
<string>Довжина дуги</string> <string>Length of arc</string>
</property> </property>
</column> </column>
</widget> </widget>
@ -331,7 +338,9 @@
</item> </item>
</layout> </layout>
</widget> </widget>
<resources/> <resources>
<include location="../icon.qrc"/>
</resources>
<connections> <connections>
<connection> <connection>
<sender>buttonBox</sender> <sender>buttonBox</sender>

View File

@ -11,7 +11,14 @@
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>Dialog</string> <string>Line</string>
</property>
<property name="windowIcon">
<iconset resource="../icon.qrc">
<normaloff>:/icon/64x64/icon64x64.png</normaloff>:/icon/64x64/icon64x64.png</iconset>
</property>
<property name="locale">
<locale language="English" country="UnitedStates"/>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<item> <item>
@ -19,7 +26,7 @@
<item> <item>
<widget class="QLabel" name="label"> <widget class="QLabel" name="label">
<property name="text"> <property name="text">
<string>Перша точка</string> <string>First point</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -33,7 +40,7 @@
<item> <item>
<widget class="QLabel" name="label_2"> <widget class="QLabel" name="label_2">
<property name="text"> <property name="text">
<string>Друга точка</string> <string>Second point</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -54,7 +61,9 @@
</item> </item>
</layout> </layout>
</widget> </widget>
<resources/> <resources>
<include location="../icon.qrc"/>
</resources>
<connections> <connections>
<connection> <connection>
<sender>buttonBox</sender> <sender>buttonBox</sender>

View File

@ -6,12 +6,19 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>366</width> <width>384</width>
<height>196</height> <height>196</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>Dialog</string> <string>Point of line intersection</string>
</property>
<property name="windowIcon">
<iconset resource="../icon.qrc">
<normaloff>:/icon/64x64/icon64x64.png</normaloff>:/icon/64x64/icon64x64.png</iconset>
</property>
<property name="locale">
<locale language="English" country="UnitedStates"/>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<item> <item>
@ -25,7 +32,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="text"> <property name="text">
<string>Ім'я нової точки</string> <string>Name new point</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -37,7 +44,7 @@
<item> <item>
<widget class="QLabel" name="label"> <widget class="QLabel" name="label">
<property name="text"> <property name="text">
<string>Перша лінія</string> <string>First line</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -52,7 +59,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="text"> <property name="text">
<string>Перша точка</string> <string>First point</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -62,7 +69,7 @@
<item> <item>
<widget class="QLabel" name="label_5"> <widget class="QLabel" name="label_5">
<property name="text"> <property name="text">
<string>Друга точка</string> <string>Second point</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -74,7 +81,7 @@
<item> <item>
<widget class="QLabel" name="label_2"> <widget class="QLabel" name="label_2">
<property name="text"> <property name="text">
<string>Друга лінія</string> <string>Second line</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -89,7 +96,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="text"> <property name="text">
<string>Перша точка</string> <string>First point</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -99,7 +106,7 @@
<item> <item>
<widget class="QLabel" name="label_7"> <widget class="QLabel" name="label_7">
<property name="text"> <property name="text">
<string>Друга точка</string> <string>Second point</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -120,7 +127,9 @@
</item> </item>
</layout> </layout>
</widget> </widget>
<resources/> <resources>
<include location="../icon.qrc"/>
</resources>
<connections> <connections>
<connection> <connection>
<sender>buttonBox</sender> <sender>buttonBox</sender>

View File

@ -11,7 +11,14 @@
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>Dialog</string> <string>Normal</string>
</property>
<property name="windowIcon">
<iconset resource="../icon.qrc">
<normaloff>:/icon/64x64/icon64x64.png</normaloff>:/icon/64x64/icon64x64.png</iconset>
</property>
<property name="locale">
<locale language="English" country="UnitedStates"/>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<item> <item>
@ -25,7 +32,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="text"> <property name="text">
<string>Відстань</string> <string>Length</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -92,7 +99,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="text"> <property name="text">
<string>Ім'я нової точки</string> <string>Name new point</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -129,7 +136,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="text"> <property name="text">
<string>Перша точка</string> <string>First point</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -149,7 +156,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="text"> <property name="text">
<string>Друга точка</string> <string>Second point</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -177,7 +184,7 @@
</size> </size>
</property> </property>
<property name="text"> <property name="text">
<string>Додатковий кут градуси</string> <string>Additional angle degrees</string>
</property> </property>
<property name="wordWrap"> <property name="wordWrap">
<bool>true</bool> <bool>true</bool>
@ -364,7 +371,7 @@
<item> <item>
<widget class="QLabel" name="label_7"> <widget class="QLabel" name="label_7">
<property name="text"> <property name="text">
<string>Тип лінії</string> <string>Type line</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -378,14 +385,14 @@
<item> <item>
<widget class="QLabel" name="label_2"> <widget class="QLabel" name="label_2">
<property name="text"> <property name="text">
<string>Вхідні данні</string> <string>Input data</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QRadioButton" name="radioButtonSizeGrowth"> <widget class="QRadioButton" name="radioButtonSizeGrowth">
<property name="text"> <property name="text">
<string>Розмір і зріст</string> <string>Size and growth</string>
</property> </property>
<property name="checked"> <property name="checked">
<bool>true</bool> <bool>true</bool>
@ -395,14 +402,14 @@
<item> <item>
<widget class="QRadioButton" name="radioButtonStandartTable"> <widget class="QRadioButton" name="radioButtonStandartTable">
<property name="text"> <property name="text">
<string>Стандартна таблиця</string> <string>Standart table</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QRadioButton" name="radioButtonIncrements"> <widget class="QRadioButton" name="radioButtonIncrements">
<property name="text"> <property name="text">
<string>Прибавки</string> <string>Increments</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -412,7 +419,7 @@
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="text"> <property name="text">
<string>Довжини ліній</string> <string>Length of lines</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -422,7 +429,7 @@
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="text"> <property name="text">
<string>Довжини дуг</string> <string>Length of arcs</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -432,7 +439,7 @@
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="text"> <property name="text">
<string>Довжини сплайні</string> <string>Length of curves</string>
</property> </property>
</widget> </widget>
</item> </item>

View File

@ -11,7 +11,14 @@
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>Dialog</string> <string>Point of contact</string>
</property>
<property name="windowIcon">
<iconset resource="../icon.qrc">
<normaloff>:/icon/64x64/icon64x64.png</normaloff>:/icon/64x64/icon64x64.png</iconset>
</property>
<property name="locale">
<locale language="English" country="UnitedStates"/>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<item> <item>
@ -25,7 +32,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="text"> <property name="text">
<string>Радіус</string> <string>Radius</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -92,7 +99,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="text"> <property name="text">
<string>Ім'я нової точки</string> <string>Name new point</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -129,7 +136,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="text"> <property name="text">
<string>Центр дуги</string> <string>Center of arc</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -162,7 +169,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="text"> <property name="text">
<string>Початок лінії</string> <string>Top of the line</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -195,7 +202,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="text"> <property name="text">
<string>Кінець лінії</string> <string>End of the line</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -222,14 +229,14 @@
<item> <item>
<widget class="QLabel" name="label_2"> <widget class="QLabel" name="label_2">
<property name="text"> <property name="text">
<string>Вхідні данні</string> <string>Input data</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QRadioButton" name="radioButtonSizeGrowth"> <widget class="QRadioButton" name="radioButtonSizeGrowth">
<property name="text"> <property name="text">
<string>Розмір і зріст</string> <string>Size and growth</string>
</property> </property>
<property name="checked"> <property name="checked">
<bool>true</bool> <bool>true</bool>
@ -239,14 +246,14 @@
<item> <item>
<widget class="QRadioButton" name="radioButtonStandartTable"> <widget class="QRadioButton" name="radioButtonStandartTable">
<property name="text"> <property name="text">
<string>Стандартна таблиця</string> <string>Standart table</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QRadioButton" name="radioButtonIncrements"> <widget class="QRadioButton" name="radioButtonIncrements">
<property name="text"> <property name="text">
<string>Прибавки</string> <string>Increments</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -256,7 +263,7 @@
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="text"> <property name="text">
<string>Довжини ліній</string> <string>Length of lines</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -266,7 +273,7 @@
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="text"> <property name="text">
<string>Довжини дуг</string> <string>Length of arcs</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -276,7 +283,7 @@
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="text"> <property name="text">
<string>Довжини сплайні</string> <string>Length of curves</string>
</property> </property>
</widget> </widget>
</item> </item>

View File

@ -11,7 +11,14 @@
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>Dialog</string> <string>Point of shoulder</string>
</property>
<property name="windowIcon">
<iconset resource="../icon.qrc">
<normaloff>:/icon/64x64/icon64x64.png</normaloff>:/icon/64x64/icon64x64.png</iconset>
</property>
<property name="locale">
<locale language="English" country="UnitedStates"/>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<item> <item>
@ -25,7 +32,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="text"> <property name="text">
<string>Відстань</string> <string>Length</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -92,7 +99,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="text"> <property name="text">
<string>Ім'я нової точки</string> <string>Name new point</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -129,7 +136,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="text"> <property name="text">
<string>Перша точка</string> <string>First point</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -162,7 +169,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="text"> <property name="text">
<string>Друга точка</string> <string>Second point</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -195,7 +202,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="text"> <property name="text">
<string>Точка плеча</string> <string>Point of shoulder</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -228,7 +235,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="text"> <property name="text">
<string>Тип лінії</string> <string>Type of line</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -242,14 +249,14 @@
<item> <item>
<widget class="QLabel" name="label_2"> <widget class="QLabel" name="label_2">
<property name="text"> <property name="text">
<string>Вхідні данні</string> <string>Input data</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QRadioButton" name="radioButtonSizeGrowth"> <widget class="QRadioButton" name="radioButtonSizeGrowth">
<property name="text"> <property name="text">
<string>Розмір і зріст</string> <string>Size and growth</string>
</property> </property>
<property name="checked"> <property name="checked">
<bool>true</bool> <bool>true</bool>
@ -259,14 +266,14 @@
<item> <item>
<widget class="QRadioButton" name="radioButtonStandartTable"> <widget class="QRadioButton" name="radioButtonStandartTable">
<property name="text"> <property name="text">
<string>Стандартна таблиця</string> <string>Standart table</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QRadioButton" name="radioButtonIncrements"> <widget class="QRadioButton" name="radioButtonIncrements">
<property name="text"> <property name="text">
<string>Прибавки</string> <string>Increments</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -276,7 +283,7 @@
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="text"> <property name="text">
<string>Довжини ліній</string> <string>Length of lines</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -286,7 +293,7 @@
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="text"> <property name="text">
<string>Довжини дуг</string> <string>Length of lines</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -296,7 +303,7 @@
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="text"> <property name="text">
<string>Довжини сплайні</string> <string>Length of curves</string>
</property> </property>
</widget> </widget>
</item> </item>

View File

@ -14,7 +14,14 @@
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>Параметри точки</string> <string>Single point</string>
</property>
<property name="windowIcon">
<iconset resource="../icon.qrc">
<normaloff>:/icon/64x64/icon64x64.png</normaloff>:/icon/64x64/icon64x64.png</iconset>
</property>
<property name="locale">
<locale language="English" country="UnitedStates"/>
</property> </property>
<property name="modal"> <property name="modal">
<bool>false</bool> <bool>false</bool>
@ -35,14 +42,14 @@
<item row="1" column="1"> <item row="1" column="1">
<widget class="QLabel" name="labelYCor"> <widget class="QLabel" name="labelYCor">
<property name="text"> <property name="text">
<string>Y координата</string> <string>Y coordinate</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="1"> <item row="0" column="1">
<widget class="QLabel" name="labelXCor"> <widget class="QLabel" name="labelXCor">
<property name="text"> <property name="text">
<string>Х координата</string> <string>X coordinate</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -64,7 +71,7 @@
</rect> </rect>
</property> </property>
<property name="text"> <property name="text">
<string>Ім'я точки</string> <string>Point name</string>
</property> </property>
</widget> </widget>
<widget class="QLineEdit" name="lineEditName"> <widget class="QLineEdit" name="lineEditName">
@ -103,7 +110,9 @@
<tabstop>doubleSpinBoxY</tabstop> <tabstop>doubleSpinBoxY</tabstop>
<tabstop>buttonBox</tabstop> <tabstop>buttonBox</tabstop>
</tabstops> </tabstops>
<resources/> <resources>
<include location="../icon.qrc"/>
</resources>
<connections> <connections>
<connection> <connection>
<sender>buttonBox</sender> <sender>buttonBox</sender>

View File

@ -11,7 +11,14 @@
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>Dialog</string> <string>Curve</string>
</property>
<property name="windowIcon">
<iconset resource="../icon.qrc">
<normaloff>:/icon/64x64/icon64x64.png</normaloff>:/icon/64x64/icon64x64.png</iconset>
</property>
<property name="locale">
<locale language="English" country="UnitedStates"/>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<item> <item>
@ -23,7 +30,7 @@
<item> <item>
<widget class="QLabel" name="label"> <widget class="QLabel" name="label">
<property name="text"> <property name="text">
<string>Перша точка </string> <string>First point</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -37,7 +44,7 @@
<item> <item>
<widget class="QLabel" name="label_2"> <widget class="QLabel" name="label_2">
<property name="text"> <property name="text">
<string>Коефіцієнт довжини першої контрольної точки</string> <string>Length ratio of the first control point</string>
</property> </property>
<property name="wordWrap"> <property name="wordWrap">
<bool>true</bool> <bool>true</bool>
@ -58,7 +65,7 @@
<item> <item>
<widget class="QLabel" name="label_3"> <widget class="QLabel" name="label_3">
<property name="text"> <property name="text">
<string>Кут першої контрольної точки</string> <string>The angle of the first control point</string>
</property> </property>
<property name="wordWrap"> <property name="wordWrap">
<bool>true</bool> <bool>true</bool>
@ -83,7 +90,7 @@
<item> <item>
<widget class="QLabel" name="label_5"> <widget class="QLabel" name="label_5">
<property name="text"> <property name="text">
<string>Друга точка</string> <string>Second point</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -97,7 +104,7 @@
<item> <item>
<widget class="QLabel" name="label_6"> <widget class="QLabel" name="label_6">
<property name="text"> <property name="text">
<string>Коефіцієнт довжини другої контрольної точки</string> <string>Length ratio of the second control point</string>
</property> </property>
<property name="wordWrap"> <property name="wordWrap">
<bool>true</bool> <bool>true</bool>
@ -118,7 +125,7 @@
<item> <item>
<widget class="QLabel" name="label_7"> <widget class="QLabel" name="label_7">
<property name="text"> <property name="text">
<string>Кут другої контрольної точки</string> <string>The angle of the second control point</string>
</property> </property>
<property name="wordWrap"> <property name="wordWrap">
<bool>true</bool> <bool>true</bool>
@ -155,7 +162,7 @@
</size> </size>
</property> </property>
<property name="text"> <property name="text">
<string>Коефіцієнт кривизни сплайну</string> <string>Coefficient of curvature of the curve</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -192,7 +199,9 @@
</item> </item>
</layout> </layout>
</widget> </widget>
<resources/> <resources>
<include location="../icon.qrc"/>
</resources>
<connections> <connections>
<connection> <connection>
<sender>buttonBox</sender> <sender>buttonBox</sender>

View File

@ -11,7 +11,14 @@
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>Dialog</string> <string>Curve path</string>
</property>
<property name="windowIcon">
<iconset resource="../icon.qrc">
<normaloff>:/icon/64x64/icon64x64.png</normaloff>:/icon/64x64/icon64x64.png</iconset>
</property>
<property name="locale">
<locale language="English" country="UnitedStates"/>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<item> <item>
@ -23,7 +30,7 @@
<item> <item>
<widget class="QLabel" name="label"> <widget class="QLabel" name="label">
<property name="text"> <property name="text">
<string>Точка сплайну</string> <string>Point of curve</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -37,7 +44,7 @@
<item> <item>
<widget class="QLabel" name="label_2"> <widget class="QLabel" name="label_2">
<property name="text"> <property name="text">
<string>Коефіцієнт довжини першої контрольної точки</string> <string>Length ratio of the first control point</string>
</property> </property>
<property name="wordWrap"> <property name="wordWrap">
<bool>true</bool> <bool>true</bool>
@ -58,7 +65,7 @@
<item> <item>
<widget class="QLabel" name="label_3"> <widget class="QLabel" name="label_3">
<property name="text"> <property name="text">
<string>Кут першої контрольної точки</string> <string>The angle of the first control point</string>
</property> </property>
<property name="wordWrap"> <property name="wordWrap">
<bool>true</bool> <bool>true</bool>
@ -79,7 +86,7 @@
<item> <item>
<widget class="QLabel" name="label_6"> <widget class="QLabel" name="label_6">
<property name="text"> <property name="text">
<string>Коефіцієнт довжини другої контрольної точки</string> <string>Length ratio of the second control point</string>
</property> </property>
<property name="wordWrap"> <property name="wordWrap">
<bool>true</bool> <bool>true</bool>
@ -100,7 +107,7 @@
<item> <item>
<widget class="QLabel" name="label_7"> <widget class="QLabel" name="label_7">
<property name="text"> <property name="text">
<string>Кут другої контрольної точки</string> <string>The angle of the second control point</string>
</property> </property>
<property name="wordWrap"> <property name="wordWrap">
<bool>true</bool> <bool>true</bool>
@ -140,7 +147,7 @@
</size> </size>
</property> </property>
<property name="text"> <property name="text">
<string>Коефіцієнт кривизни сплайну</string> <string>Coefficient of curvature of the curve</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -177,7 +184,9 @@
</item> </item>
</layout> </layout>
</widget> </widget>
<resources/> <resources>
<include location="../icon.qrc"/>
</resources>
<connections> <connections>
<connection> <connection>
<sender>buttonBox</sender> <sender>buttonBox</sender>

View File

@ -28,6 +28,16 @@ void myMessageOutput(QtMsgType type, const QMessageLogContext &context, const QS
int main(int argc, char *argv[]){ int main(int argc, char *argv[]){
qInstallMessageHandler(myMessageOutput); qInstallMessageHandler(myMessageOutput);
QApplication app(argc, argv); QApplication app(argc, argv);
QTranslator qtTranslator;
qtTranslator.load("qt_" + QLocale::system().name(),
QLibraryInfo::location(QLibraryInfo::TranslationsPath));
app.installTranslator(&qtTranslator);
QTranslator appTranslator;
appTranslator.load("valentina_" + QLocale::system().name(),".");
app.installTranslator(&appTranslator);
MainWindow w; MainWindow w;
app.setWindowIcon(QIcon(":/icon/64x64/icon64x64.png")); app.setWindowIcon(QIcon(":/icon/64x64/icon64x64.png"));
TableWindow table; TableWindow table;

View File

@ -79,12 +79,12 @@ void MainWindow::ActionNewDraw(){
QString nameDraw; QString nameDraw;
bool bOk; bool bOk;
qint32 index; qint32 index;
QString nDraw = QString("Креслення %1").arg(comboBoxDraws->count()+1); QString nDraw = QString(tr("Drawing %1")).arg(comboBoxDraws->count()+1);
QInputDialog *dlg = new QInputDialog(this); QInputDialog *dlg = new QInputDialog(this);
dlg->setInputMode( QInputDialog::TextInput ); dlg->setInputMode( QInputDialog::TextInput );
dlg->setLabelText("Креслення:"); dlg->setLabelText(tr("Drawing:"));
dlg->setTextEchoMode(QLineEdit::Normal); dlg->setTextEchoMode(QLineEdit::Normal);
dlg->setWindowTitle("Введіть назву креслення."); dlg->setWindowTitle(tr("Enter a name for the drawing."));
dlg->resize(300,100); dlg->resize(300,100);
dlg->setTextValue(nDraw); dlg->setTextValue(nDraw);
while(1){ while(1){
@ -96,7 +96,7 @@ void MainWindow::ActionNewDraw(){
} }
index = comboBoxDraws->findText(nameDraw); index = comboBoxDraws->findText(nameDraw);
if(index != -1){//we already have this name if(index != -1){//we already have this name
qCritical()<<"Помилка. Креслення з таким ім'ям вже існує."; qCritical()<<tr("Error. Drawing of same name already exists.");
} else { } else {
break; break;
} }
@ -104,8 +104,8 @@ void MainWindow::ActionNewDraw(){
delete dlg; delete dlg;
bOk = doc->appendDraw(nameDraw); bOk = doc->appendDraw(nameDraw);
if(bOk == false){ if(bOk == false){
qCritical()<<"Помилка створення креслення з ім'ям"<<nameDraw<<"."; qCritical()<<tr("Error creating drawing with the name")<<nameDraw<<".";
return;//не змогли додати креслення. return;
} }
disconnect(comboBoxDraws, static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged), disconnect(comboBoxDraws, static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged),
this, &MainWindow::currentDrawChanged); this, &MainWindow::currentDrawChanged);
@ -138,9 +138,9 @@ void MainWindow::OptionDraw(){
QString nDraw = doc->GetNameActivDraw(); QString nDraw = doc->GetNameActivDraw();
QInputDialog *dlg = new QInputDialog(this); QInputDialog *dlg = new QInputDialog(this);
dlg->setInputMode( QInputDialog::TextInput ); dlg->setInputMode( QInputDialog::TextInput );
dlg->setLabelText("Креслення:"); dlg->setLabelText(tr("Drawing:"));
dlg->setTextEchoMode(QLineEdit::Normal); dlg->setTextEchoMode(QLineEdit::Normal);
dlg->setWindowTitle("Введіть нову назву креслення."); dlg->setWindowTitle(tr("Enter a new name for the drawing."));
dlg->resize(300,100); dlg->resize(300,100);
dlg->setTextValue(nDraw); dlg->setTextValue(nDraw);
while(1){ while(1){
@ -152,7 +152,7 @@ void MainWindow::OptionDraw(){
} }
index = comboBoxDraws->findText(nameDraw); index = comboBoxDraws->findText(nameDraw);
if(index != -1){//we already have this name if(index != -1){//we already have this name
qCritical()<<"Помилка. Креслення з таким ім'ям вже існує."; qCritical()<<tr("Error. Drawing of same name already exists.");
} else { } else {
break; break;
} }
@ -428,12 +428,12 @@ void MainWindow::showEvent( QShowEvent *event ){
// do your init stuff here // do your init stuff here
MinimumScrollBar(); MinimumScrollBar();
isInitialized = true;//перший показ вікна вже відбувся isInitialized = true;//first show windows are held
} }
void MainWindow::ToolBarOption(){ void MainWindow::ToolBarOption(){
QLabel * labelGrowth = new QLabel; QLabel * labelGrowth = new QLabel;
labelGrowth->setText("Зріст: "); labelGrowth->setText(tr("Growth: "));
ui->toolBarOption->addWidget(labelGrowth); ui->toolBarOption->addWidget(labelGrowth);
QStringList list; QStringList list;
@ -449,7 +449,7 @@ void MainWindow::ToolBarOption(){
this, &MainWindow::ChangedGrowth); this, &MainWindow::ChangedGrowth);
QLabel * labelSize = new QLabel; QLabel * labelSize = new QLabel;
labelSize->setText(" Розмір: "); labelSize->setText(tr(" Size: "));
ui->toolBarOption->addWidget(labelSize); ui->toolBarOption->addWidget(labelSize);
list.clear(); list.clear();
@ -473,7 +473,7 @@ void MainWindow::ToolBarOption(){
void MainWindow::ToolBarDraws(){ void MainWindow::ToolBarDraws(){
QLabel * labelNameDraw = new QLabel; QLabel * labelNameDraw = new QLabel;
labelNameDraw ->setText("Креслення: "); labelNameDraw ->setText(tr("Drawing: "));
ui->toolBarDraws->addWidget(labelNameDraw); ui->toolBarDraws->addWidget(labelNameDraw);
comboBoxDraws = new QComboBox; comboBoxDraws = new QComboBox;
@ -707,8 +707,8 @@ void MainWindow::ActionSave(){
} }
void MainWindow::ActionOpen(){ void MainWindow::ActionOpen(){
QString filter("Lekalo files (*.xml)"); QString filter(tr("Lekalo files (*.xml)"));
QString fName = QFileDialog::getOpenFileName(this, tr("Відкрити файл"), QDir::homePath(), filter); QString fName = QFileDialog::getOpenFileName(this, tr("Open file"), QDir::homePath(), filter);
if(fName.isEmpty()) if(fName.isEmpty())
return; return;
fileName = fName; fileName = fName;

View File

@ -13,6 +13,13 @@
<property name="windowTitle"> <property name="windowTitle">
<string>Valentina</string> <string>Valentina</string>
</property> </property>
<property name="windowIcon">
<iconset resource="icon.qrc">
<normaloff>:/icon/64x64/icon64x64.png</normaloff>:/icon/64x64/icon64x64.png</iconset>
</property>
<property name="locale">
<locale language="Saho" country="Eritrea"/>
</property>
<widget class="QWidget" name="centralWidget"> <widget class="QWidget" name="centralWidget">
<layout class="QHBoxLayout" name="horizontalLayout"> <layout class="QHBoxLayout" name="horizontalLayout">
<item> <item>
@ -37,7 +44,7 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>144</width> <width>150</width>
<height>104</height> <height>104</height>
</rect> </rect>
</property> </property>
@ -48,7 +55,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<attribute name="label"> <attribute name="label">
<string>Точка</string> <string>Point</string>
</attribute> </attribute>
<layout class="QGridLayout" name="gridLayout"> <layout class="QGridLayout" name="gridLayout">
<item row="1" column="0"> <item row="1" column="0">
@ -196,7 +203,7 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>100</width> <width>150</width>
<height>58</height> <height>58</height>
</rect> </rect>
</property> </property>
@ -207,7 +214,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<attribute name="label"> <attribute name="label">
<string>Лінія</string> <string>Line</string>
</attribute> </attribute>
<layout class="QGridLayout" name="gridLayout_3"> <layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0"> <item row="0" column="0">
@ -263,7 +270,7 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>100</width> <width>150</width>
<height>58</height> <height>58</height>
</rect> </rect>
</property> </property>
@ -274,7 +281,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<attribute name="label"> <attribute name="label">
<string>Сплайн</string> <string>Curve</string>
</attribute> </attribute>
<layout class="QGridLayout" name="gridLayout_4"> <layout class="QGridLayout" name="gridLayout_4">
<item row="0" column="0"> <item row="0" column="0">
@ -330,7 +337,7 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>98</width> <width>150</width>
<height>58</height> <height>58</height>
</rect> </rect>
</property> </property>
@ -341,7 +348,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<attribute name="label"> <attribute name="label">
<string>Дуга</string> <string>Arc</string>
</attribute> </attribute>
<layout class="QGridLayout" name="gridLayout_5"> <layout class="QGridLayout" name="gridLayout_5">
<item row="0" column="0"> <item row="0" column="0">
@ -379,7 +386,7 @@
</rect> </rect>
</property> </property>
<attribute name="label"> <attribute name="label">
<string>Деталі</string> <string>Detail</string>
</attribute> </attribute>
<layout class="QGridLayout" name="gridLayout_2"> <layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0"> <item row="0" column="0">
@ -488,10 +495,10 @@
</iconset> </iconset>
</property> </property>
<property name="text"> <property name="text">
<string>Новий</string> <string>New</string>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Створити нове лекало</string> <string>Create a new pattern</string>
</property> </property>
</action> </action>
<action name="actionOpen"> <action name="actionOpen">
@ -501,10 +508,10 @@
</iconset> </iconset>
</property> </property>
<property name="text"> <property name="text">
<string>Відкрити</string> <string>Open</string>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Відкрити файл з лекалом</string> <string>Open file with pattern</string>
</property> </property>
</action> </action>
<action name="actionSave"> <action name="actionSave">
@ -517,10 +524,10 @@
</iconset> </iconset>
</property> </property>
<property name="text"> <property name="text">
<string>Зберегти</string> <string>Save</string>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Зберегти лекало</string> <string>Save pattern</string>
</property> </property>
</action> </action>
<action name="actionSaveAs"> <action name="actionSaveAs">
@ -533,10 +540,10 @@
</iconset> </iconset>
</property> </property>
<property name="text"> <property name="text">
<string>Зберегти як</string> <string>Save as</string>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Зберегти ще не збережене лекало</string> <string>Save not yet saved pattern</string>
</property> </property>
</action> </action>
<action name="actionDraw"> <action name="actionDraw">
@ -554,10 +561,10 @@
<normaloff>:/icon/32x32/draw.png</normaloff>:/icon/32x32/draw.png</iconset> <normaloff>:/icon/32x32/draw.png</normaloff>:/icon/32x32/draw.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>Креслення</string> <string>Draw</string>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Режим креслення</string> <string>Draw mode</string>
</property> </property>
</action> </action>
<action name="actionDetails"> <action name="actionDetails">
@ -572,10 +579,10 @@
<normaloff>:/icon/32x32/kontur.png</normaloff>:/icon/32x32/kontur.png</iconset> <normaloff>:/icon/32x32/kontur.png</normaloff>:/icon/32x32/kontur.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>Деталі</string> <string>Details</string>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Режим деталі</string> <string>Deatils mode</string>
</property> </property>
</action> </action>
<action name="actionArrowTool"> <action name="actionArrowTool">
@ -590,10 +597,10 @@
<normaloff>:/icon/32x32/arrow_cursor.png</normaloff>:/icon/32x32/arrow_cursor.png</iconset> <normaloff>:/icon/32x32/arrow_cursor.png</normaloff>:/icon/32x32/arrow_cursor.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>Інструмент вказівник</string> <string>Tools pointer</string>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Інструмент вказівник</string> <string>Tools pointer</string>
</property> </property>
</action> </action>
<action name="actionNewDraw"> <action name="actionNewDraw">
@ -602,10 +609,10 @@
<normaloff>:/icon/32x32/new_draw.png</normaloff>:/icon/32x32/new_draw.png</iconset> <normaloff>:/icon/32x32/new_draw.png</normaloff>:/icon/32x32/new_draw.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>Нове креслення</string> <string>New drawing</string>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Додати нове креслення</string> <string>Add new drawing</string>
</property> </property>
</action> </action>
<action name="actionOptionDraw"> <action name="actionOptionDraw">
@ -614,7 +621,10 @@
<normaloff>:/icon/32x32/option_draw.png</normaloff>:/icon/32x32/option_draw.png</iconset> <normaloff>:/icon/32x32/option_draw.png</normaloff>:/icon/32x32/option_draw.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>Змінити ім'я креслення</string> <string>Change the name of drawing</string>
</property>
<property name="toolTip">
<string>Change the name of drawing</string>
</property> </property>
</action> </action>
<action name="actionTable"> <action name="actionTable">
@ -626,7 +636,10 @@
<normaloff>:/icon/32x32/table.png</normaloff>:/icon/32x32/table.png</iconset> <normaloff>:/icon/32x32/table.png</normaloff>:/icon/32x32/table.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>Таблиці змінних</string> <string>Table of variables</string>
</property>
<property name="toolTip">
<string>Tables of variables</string>
</property> </property>
</action> </action>
<action name="actionHistory"> <action name="actionHistory">
@ -647,7 +660,10 @@
<normaloff>:/icon/32x32/layout.png</normaloff>:/icon/32x32/layout.png</iconset> <normaloff>:/icon/32x32/layout.png</normaloff>:/icon/32x32/layout.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>Розкладка</string> <string>Layout</string>
</property>
<property name="toolTip">
<string>Create layout</string>
</property> </property>
</action> </action>
</widget> </widget>

View File

@ -11,14 +11,30 @@
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>Створення розкладки</string> <string>Create a layout</string>
</property>
<property name="windowIcon">
<iconset resource="icon.qrc">
<normaloff>:/icon/64x64/icon64x64.png</normaloff>:/icon/64x64/icon64x64.png</iconset>
</property>
<property name="locale">
<locale language="English" country="UnitedStates"/>
</property> </property>
<widget class="QWidget" name="centralwidget"> <widget class="QWidget" name="centralwidget">
<layout class="QHBoxLayout" name="horizontalLayout"> <layout class="QHBoxLayout" name="horizontalLayout">
<property name="sizeConstraint"> <property name="sizeConstraint">
<enum>QLayout::SetMinAndMaxSize</enum> <enum>QLayout::SetMinAndMaxSize</enum>
</property> </property>
<property name="margin"> <property name="leftMargin">
<number>9</number>
</property>
<property name="topMargin">
<number>9</number>
</property>
<property name="rightMargin">
<number>9</number>
</property>
<property name="bottomMargin">
<number>9</number> <number>9</number>
</property> </property>
</layout> </layout>
@ -63,10 +79,10 @@
</iconset> </iconset>
</property> </property>
<property name="text"> <property name="text">
<string>Зберегти</string> <string>Save</string>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Зберегти розкладку</string> <string>Save layout</string>
</property> </property>
</action> </action>
<action name="actionNext"> <action name="actionNext">
@ -76,10 +92,10 @@
</iconset> </iconset>
</property> </property>
<property name="text"> <property name="text">
<string>Наступна</string> <string>Next</string>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Наступна деталь</string> <string>Next detail</string>
</property> </property>
</action> </action>
<action name="actionTurn"> <action name="actionTurn">
@ -92,10 +108,10 @@
</iconset> </iconset>
</property> </property>
<property name="text"> <property name="text">
<string>Перевернути</string> <string>Turn</string>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Перевернути деталь на 180 градусів</string> <string>Turn the detail 180 degrees</string>
</property> </property>
</action> </action>
<action name="actionStop"> <action name="actionStop">
@ -108,7 +124,7 @@
<string>Stop</string> <string>Stop</string>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Припинити укладання</string> <string>Stop laying</string>
</property> </property>
</action> </action>
<action name="actionAdd"> <action name="actionAdd">
@ -118,10 +134,10 @@
</iconset> </iconset>
</property> </property>
<property name="text"> <property name="text">
<string>Збільшити лист</string> <string>Enlarge letter</string>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Збільшити довжину листа</string> <string>Enlarge the length of sheet</string>
</property> </property>
</action> </action>
<action name="actionRemove"> <action name="actionRemove">
@ -134,10 +150,10 @@
</iconset> </iconset>
</property> </property>
<property name="text"> <property name="text">
<string>Зменшити лист</string> <string>Reduce sheet</string>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Зменшити довжину листа</string> <string>Reduce the length of the sheet</string>
</property> </property>
</action> </action>
<action name="actionMirror"> <action name="actionMirror">
@ -149,10 +165,10 @@
<normaloff>:/icon/16x16/mirror.png</normaloff>:/icon/16x16/mirror.png</iconset> <normaloff>:/icon/16x16/mirror.png</normaloff>:/icon/16x16/mirror.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>Відзеркалити</string> <string>Mirroring</string>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Дзеркальне зображення деталі</string> <string>Mirroring</string>
</property> </property>
</action> </action>
<action name="actionZoomIn"> <action name="actionZoomIn">
@ -162,10 +178,10 @@
</iconset> </iconset>
</property> </property>
<property name="text"> <property name="text">
<string>Збільшити</string> <string>Zoom In</string>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Збільшити</string> <string>Zoom In</string>
</property> </property>
</action> </action>
<action name="actionZoomOut"> <action name="actionZoomOut">
@ -175,7 +191,10 @@
</iconset> </iconset>
</property> </property>
<property name="text"> <property name="text">
<string>Зменшити</string> <string>Zoom Out</string>
</property>
<property name="toolTip">
<string>Zoom Out</string>
</property> </property>
</action> </action>
</widget> </widget>

1213
translations/valentina_ru.ts Normal file

File diff suppressed because it is too large Load Diff

1213
translations/valentina_uk.ts Normal file

File diff suppressed because it is too large Load Diff