Merge with 9b961a80cc85

--HG--
branch : develop
This commit is contained in:
dismine 2013-12-21 14:59:13 +02:00
commit 854880821d
9 changed files with 64 additions and 62 deletions

View File

@ -49,9 +49,11 @@ OTHER_FILES += share/resources/valentina.rc \
share/resources/icon/64x64/icon64x64.ico
TRANSLATIONS += share/translations/valentina_ru.ts \
share/translations/valentina_uk.ts
unix:QMAKE_CXX = ccache g++
share/translations/valentina_uk.ts \
share/translations/valentina_de.ts
unix {
QMAKE_CXX = ccache g++
}
CONFIG += precompile_header
# Precompiled headers (PCH)
@ -123,7 +125,8 @@ desktop.files += dist/$${TARGET}.desktop
pixmaps.path = $$DATADIR/pixmaps/
pixmaps.files += dist/$${TARGET}.png
INSTALL_TRANSLATIONS += share/translations/valentina_ru.qm \
share/translations/valentina_uk.qm
share/translations/valentina_uk.qm \
share/translations/valentina_de.qm \
translations.path = $$DATADIR/$${TARGET}/translations/
translations.files = $$INSTALL_TRANSLATIONS
INSTALLS += target \

View File

@ -14,7 +14,7 @@
<string>Bisector</string>
</property>
<property name="windowIcon">
<iconset resource="../icon.qrc">
<iconset resource="../../share/resources/icon.qrc">
<normaloff>:/icon/64x64/icon64x64.png</normaloff>:/icon/64x64/icon64x64.png</iconset>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
@ -83,6 +83,26 @@
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="toolButtonPutHere">
<property name="toolTip">
<string>Insert marked variable into the formula</string>
</property>
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="../../share/resources/icon.qrc">
<normaloff>:/icon/24x24/putHere.png</normaloff>:/icon/24x24/putHere.png</iconset>
</property>
<property name="iconSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="toolButtonEqual">
<property name="toolTip">
@ -92,7 +112,7 @@
<string>...</string>
</property>
<property name="icon">
<iconset resource="../icon.qrc">
<iconset resource="../../share/resources/icon.qrc">
<normaloff>:/icon/24x24/equal.png</normaloff>:/icon/24x24/equal.png</iconset>
</property>
<property name="iconSize">
@ -186,26 +206,6 @@
<item>
<widget class="QLineEdit" name="lineEditNamePoint"/>
</item>
<item>
<widget class="QToolButton" name="toolButtonPutHere">
<property name="toolTip">
<string>Insert marked variable into the formula</string>
</property>
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="../icon.qrc">
<normaloff>:/icon/24x24/putHere.png</normaloff>:/icon/24x24/putHere.png</iconset>
</property>
<property name="iconSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
</widget>
</item>
</layout>
</item>
<item>
@ -285,7 +285,7 @@
<item>
<widget class="QLabel" name="label_7">
<property name="text">
<string>Type line</string>
<string>Type of line</string>
</property>
</widget>
</item>
@ -410,12 +410,11 @@
<tabstop>radioButtonLengthArc</tabstop>
<tabstop>radioButtonLengthSpline</tabstop>
<tabstop>listWidget</tabstop>
<tabstop>toolButtonPutHere</tabstop>
<tabstop>toolButtonEqual</tabstop>
<tabstop>buttonBox</tabstop>
</tabstops>
<resources>
<include location="../icon.qrc"/>
<include location="../../share/resources/icon.qrc"/>
</resources>
<connections>
<connection>

View File

@ -87,7 +87,7 @@ void DialogDetail::ChoosedObject(qint64 id, const Scene::Scenes &type)
NewItem(id, Tool::NodeSplinePath, mode, NodeDetail::Contour);
break;
default:
qWarning()<<tr("Get wrong scene object. Ignore.");
qWarning()<<tr("Got wrong scene object. Ignore.");
break;
}
this->show();
@ -173,7 +173,7 @@ void DialogDetail::NewItem(qint64 id, const Tool::Tools &typeTool, const Draw::D
break;
}
default:
qWarning()<<tr("Get wrong tools. Ignore.");
qWarning()<<tr("Got wrong tools. Ignore.");
break;
}

View File

@ -88,7 +88,7 @@
<item>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Option</string>
<string>Options</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
@ -161,7 +161,7 @@
<item>
<widget class="QCheckBox" name="checkBoxSeams">
<property name="text">
<string>Supplement for seams</string>
<string>Seam allowance</string>
</property>
<property name="checked">
<bool>true</bool>

View File

@ -251,7 +251,7 @@
</size>
</property>
<property name="text">
<string>Angle degree </string>
<string>Degree of angel</string>
</property>
</widget>
</item>
@ -272,7 +272,7 @@
<string>...</string>
</property>
<property name="icon">
<iconset resource="../icon.qrc">
<iconset resource="../../share/resources/icon.qrc">
<normaloff>:/icon/24x24/arrowRightUp.png</normaloff>:/icon/24x24/arrowRightUp.png</iconset>
</property>
<property name="iconSize">
@ -289,7 +289,7 @@
<string>...</string>
</property>
<property name="icon">
<iconset resource="../icon.qrc">
<iconset resource="../../share/resources/icon.qrc">
<normaloff>:/icon/24x24/arrowLeftUp.png</normaloff>:/icon/24x24/arrowLeftUp.png</iconset>
</property>
<property name="iconSize">
@ -306,7 +306,7 @@
<string>...</string>
</property>
<property name="icon">
<iconset resource="../icon.qrc">
<iconset resource="../../share/resources/icon.qrc">
<normaloff>:/icon/24x24/arrowLeft.png</normaloff>:/icon/24x24/arrowLeft.png</iconset>
</property>
<property name="iconSize">
@ -323,7 +323,7 @@
<string>...</string>
</property>
<property name="icon">
<iconset resource="../icon.qrc">
<iconset resource="../../share/resources/icon.qrc">
<normaloff>:/icon/24x24/arrowRight.png</normaloff>:/icon/24x24/arrowRight.png</iconset>
</property>
<property name="iconSize">
@ -346,7 +346,7 @@
<string>...</string>
</property>
<property name="icon">
<iconset resource="../icon.qrc">
<iconset resource="../../share/resources/icon.qrc">
<normaloff>:/icon/24x24/arrowUp.png</normaloff>:/icon/24x24/arrowUp.png</iconset>
</property>
<property name="iconSize">
@ -363,7 +363,7 @@
<string>...</string>
</property>
<property name="icon">
<iconset resource="../icon.qrc">
<iconset resource="../../share/resources/icon.qrc">
<normaloff>:/icon/24x24/arrowDown.png</normaloff>:/icon/24x24/arrowDown.png</iconset>
</property>
<property name="iconSize">
@ -380,7 +380,7 @@
<string>...</string>
</property>
<property name="icon">
<iconset resource="../icon.qrc">
<iconset resource="../../share/resources/icon.qrc">
<normaloff>:/icon/24x24/arrowLeftDown.png</normaloff>:/icon/24x24/arrowLeftDown.png</iconset>
</property>
<property name="iconSize">
@ -397,7 +397,7 @@
<string>...</string>
</property>
<property name="icon">
<iconset resource="../icon.qrc">
<iconset resource="../../share/resources/icon.qrc">
<normaloff>:/icon/24x24/arrowRightDown.png</normaloff>:/icon/24x24/arrowRightDown.png</iconset>
</property>
<property name="iconSize">
@ -575,7 +575,7 @@
<tabstop>buttonBox</tabstop>
</tabstops>
<resources>
<include location="../icon.qrc"/>
<include location="../../share/resources/icon.qrc"/>
</resources>
<connections>
<connection>

View File

@ -240,7 +240,7 @@ QString DialogHistory::Record(const VToolRecord &tool)
p1Line2 = domElement.attribute("p1Line2", "").toLongLong();
p2Line2 = domElement.attribute("p2Line2", "").toLongLong();
}
record = QString(tr("%5 - point of intersecting lines %1_%2 and %3_%4")).arg(data->GetPoint(p1Line1).name(),
record = QString(tr("%5 - intersection of lines %1_%2 and %3_%4")).arg(data->GetPoint(p1Line1).name(),
data->GetPoint(p2Line1).name(),
data->GetPoint(p1Line2).name(),
data->GetPoint(p2Line2).name(),
@ -320,7 +320,7 @@ QString DialogHistory::Record(const VToolRecord &tool)
break;
}
default:
qWarning()<<tr("Get wrong tool type. Ignore.");
qWarning()<<tr("Got wrong tool type. Ignore.");
break;
}
return record;

View File

@ -6,15 +6,15 @@
<rect>
<x>0</x>
<y>0</y>
<width>384</width>
<width>370</width>
<height>196</height>
</rect>
</property>
<property name="windowTitle">
<string>Point of line intersection</string>
<string>Intersection of lines</string>
</property>
<property name="windowIcon">
<iconset resource="../icon.qrc">
<iconset resource="../../share/resources/icon.qrc">
<normaloff>:/icon/64x64/icon64x64.png</normaloff>:/icon/64x64/icon64x64.png</iconset>
</property>
<property name="locale">
@ -173,7 +173,7 @@
<tabstop>buttonBox</tabstop>
</tabstops>
<resources>
<include location="../icon.qrc"/>
<include location="../../share/resources/icon.qrc"/>
</resources>
<connections>
<connection>

View File

@ -14,7 +14,7 @@
<string>Normal</string>
</property>
<property name="windowIcon">
<iconset resource="../icon.qrc">
<iconset resource="../../share/resources/icon.qrc">
<normaloff>:/icon/64x64/icon64x64.png</normaloff>:/icon/64x64/icon64x64.png</iconset>
</property>
<property name="locale">
@ -95,7 +95,7 @@
<string>...</string>
</property>
<property name="icon">
<iconset resource="../icon.qrc">
<iconset resource="../../share/resources/icon.qrc">
<normaloff>:/icon/24x24/equal.png</normaloff>:/icon/24x24/equal.png</iconset>
</property>
<property name="iconSize">
@ -294,7 +294,7 @@
<string>...</string>
</property>
<property name="icon">
<iconset resource="../icon.qrc">
<iconset resource="../../share/resources/icon.qrc">
<normaloff>:/icon/24x24/arrowRightUp.png</normaloff>:/icon/24x24/arrowRightUp.png</iconset>
</property>
<property name="iconSize">
@ -311,7 +311,7 @@
<string>...</string>
</property>
<property name="icon">
<iconset resource="../icon.qrc">
<iconset resource="../../share/resources/icon.qrc">
<normaloff>:/icon/24x24/arrowLeftUp.png</normaloff>:/icon/24x24/arrowLeftUp.png</iconset>
</property>
<property name="iconSize">
@ -328,7 +328,7 @@
<string>...</string>
</property>
<property name="icon">
<iconset resource="../icon.qrc">
<iconset resource="../../share/resources/icon.qrc">
<normaloff>:/icon/24x24/arrowLeft.png</normaloff>:/icon/24x24/arrowLeft.png</iconset>
</property>
<property name="iconSize">
@ -345,7 +345,7 @@
<string>...</string>
</property>
<property name="icon">
<iconset resource="../icon.qrc">
<iconset resource="../../share/resources/icon.qrc">
<normaloff>:/icon/24x24/arrowRight.png</normaloff>:/icon/24x24/arrowRight.png</iconset>
</property>
<property name="iconSize">
@ -368,7 +368,7 @@
<string>...</string>
</property>
<property name="icon">
<iconset resource="../icon.qrc">
<iconset resource="../../share/resources/icon.qrc">
<normaloff>:/icon/24x24/arrowUp.png</normaloff>:/icon/24x24/arrowUp.png</iconset>
</property>
<property name="iconSize">
@ -385,7 +385,7 @@
<string>...</string>
</property>
<property name="icon">
<iconset resource="../icon.qrc">
<iconset resource="../../share/resources/icon.qrc">
<normaloff>:/icon/24x24/arrowDown.png</normaloff>:/icon/24x24/arrowDown.png</iconset>
</property>
<property name="iconSize">
@ -402,7 +402,7 @@
<string>...</string>
</property>
<property name="icon">
<iconset resource="../icon.qrc">
<iconset resource="../../share/resources/icon.qrc">
<normaloff>:/icon/24x24/arrowLeftDown.png</normaloff>:/icon/24x24/arrowLeftDown.png</iconset>
</property>
<property name="iconSize">
@ -419,7 +419,7 @@
<string>...</string>
</property>
<property name="icon">
<iconset resource="../icon.qrc">
<iconset resource="../../share/resources/icon.qrc">
<normaloff>:/icon/24x24/arrowRightDown.png</normaloff>:/icon/24x24/arrowRightDown.png</iconset>
</property>
<property name="iconSize">

View File

@ -75,7 +75,7 @@ VSpline VSplinePath::GetSpline(qint32 index) const
}
if (index < 1 || index > Count())
{
throw VException(tr("This spline is not exist."));
throw VException(tr("This spline does not exist."));
}
VSpline spl(&points, path[index-1].P(), path[index].P(), path[index-1].Angle2(), path[index].Angle1(),
path[index-1].KAsm2(), path[index].KAsm1(), this->kCurve);
@ -126,7 +126,7 @@ void VSplinePath::UpdatePoint(qint32 indexSpline, const SplinePoint::Position &p
{
if (indexSpline < 1 || indexSpline > Count())
{
throw VException(tr("This spline is not exist."));
throw VException(tr("This spline does not exist."));
}
if (pos == SplinePoint::FirstPoint)
{
@ -142,7 +142,7 @@ VSplinePoint VSplinePath::GetSplinePoint(qint32 indexSpline, SplinePoint::Positi
{
if (indexSpline < 1 || indexSpline > Count())
{
throw VException(tr("This spline is not exist."));
throw VException(tr("This spline does not exist."));
}
if (pos == SplinePoint::FirstPoint)
{