Commit Graph

1390 Commits

Author SHA1 Message Date
BojanKverh
906dafebe8 Finished the grainline parameters editing in detail dialog
--HG--
branch : feature
2016-09-10 15:17:55 +02:00
Roman Telezhynskyi
868fc3db1d Fix definition VFSplinePoint and VSplinePoint. Improving efficiency.
--HG--
branch : develop
2016-09-10 14:19:32 +03:00
Bojan Kverh
853c6852a8 Merged develop into feature
--HG--
branch : feature
2016-09-09 21:55:18 +02:00
Roman Telezhynskyi
ae13021205 Fixing rotating VSplinePath. ref #128.
--HG--
branch : develop
2016-09-09 15:18:59 +03:00
Roman Telezhynskyi
a9e9c0d5ad Clear a list of recent files from non-existent files.
--HG--
branch : develop
2016-09-09 14:01:57 +03:00
BojanKverh
2dc19732a0 Prepated detail dialog for formula editing in case of grainline length and rotation
--HG--
branch : feature
2016-09-08 22:35:32 +02:00
BojanKverh
37e16b4626 Removed the vpatterndb.pro changes
--HG--
branch : feature
2016-09-06 23:52:16 +02:00
BojanKverh
287f8fc41e Added VGrainlineGeometry class to hold grainline parameters and methods to save, load and edit it
--HG--
branch : feature
2016-09-06 23:50:46 +02:00
Roman Telezhynskyi
b6e9a7bab3 Fixed issue #561. UI compiler warning in dialogdetail.ui.
--HG--
branch : develop
2016-09-06 18:47:56 +03:00
Roman Telezhynskyi
c622d173dd Several useful constans.
--HG--
branch : develop
2016-09-06 17:48:28 +03:00
Roman Telezhynskyi
cbd2e4a912 Fix issue #547. Compiler warning.
--HG--
branch : develop
2016-09-06 17:26:53 +03:00
Roman Telezhynskyi
0d35033275 Added global option "Forbid Flipping". ref #560.
--HG--
branch : develop
2016-09-06 17:05:54 +03:00
Roman Telezhynskyi
ef576d7646 Enable rotation only for workpieces that forbid flipping. ref #560.
--HG--
branch : develop
2016-09-06 16:00:25 +03:00
Roman Telezhynskyi
038863fbdf Resolved issue #560. Flipped pattern pieces in Layout.
--HG--
branch : develop
2016-09-06 13:24:52 +03:00
Roman Telezhynskyi
8cf52dc674 Length to control point can be 0.
--HG--
branch : develop
2016-08-26 19:33:54 +03:00
Roman Telezhynskyi
c2b7ead2ce Fixed wrong units in dialog DialogEditWrongFormula.
--HG--
branch : develop
2016-08-26 19:20:03 +03:00
Roman Telezhynskyi
6baa623be3 Disable buttons Find Next and Find Previous if the search field is empty.
--HG--
branch : develop
2016-08-26 16:16:06 +03:00
Roman Telezhynskyi
c35f050b66 Improvements for the Dialog Detail. Added spliters, fields Letter and Name of
detail have placeholder text.

--HG--
branch : develop
2016-08-26 13:46:23 +03:00
Roman Telezhynskyi
23d9898154 Use QLocale::c() instead of QLocale(QLocale::C).
--HG--
branch : develop
2016-08-26 12:38:23 +03:00
Roman Telezhynskyi
f0cac1c191 Improve string to "Material, cut 1 on fold". This will look better.
--HG--
branch : develop
2016-08-26 12:28:30 +03:00
Roman Telezhynskyi
99a2f0f807 Fixed issue #553. Tape.exe crash. Issue with the Search field.
(grafted from c4cc1aca74cb29d3fb57cd0718ec282b3dd0dc7b)

--HG--
branch : develop
2016-08-25 19:32:59 +03:00
Roman Telezhynskyi
89ce8afe77 Localize numeric keyboard's dot key according to locale and user preferences.
--HG--
branch : develop
2016-08-23 21:24:14 +03:00
Roman Telezhynskyi
be6c676145 We don't need these files anymore.
--HG--
branch : develop
2016-08-23 15:54:44 +03:00
Roman Telezhynskyi
6281f46a8e Rewrite describing placeholders %size% and %height%. New way will help avoid
translation mistake.

--HG--
branch : develop
2016-08-23 14:02:09 +03:00
Roman Telezhynskyi
e54e1e4f11 Allow to select printer in Layout Settings dialog.
--HG--
branch : develop
2016-08-22 19:43:22 +03:00
Roman Telezhynskyi
73bcc89107 Fixed wrong compatibility with Qt 5.0.
--HG--
branch : develop
2016-08-22 12:16:12 +03:00
Roman Telezhynskyi
7950735833 Fix issue with declension name of material in some languages.
--HG--
branch : develop
2016-08-22 12:00:12 +03:00
Roman Telezhynskyi
bf82dc3bb3 Make 1 minimal value of the field "Cut number".
--HG--
branch : develop
2016-08-22 11:47:21 +03:00
Roman Telezhynskyi
7dd88da82d Merged in BojanKverh/valentina-issue24a/feature (pull request #138)
Improvements for feature "New feature: Label on detail" ref #24.

--HG--
branch : develop
2016-08-22 11:33:22 +03:00
Roman Telezhynskyi
9cd3fc8bcb Fix for compiler specific code.
--HG--
branch : develop
2016-08-21 23:04:23 +03:00
Roman Telezhynskyi
fb5a9c64b2 Cppcheck warnings.
--HG--
branch : develop
2016-08-21 19:45:16 +03:00
Roman Telezhynskyi
bfff8ccb96 Changes for returning support Qt 5.0 and GCC 4.6.
--HG--
branch : develop
2016-08-21 18:57:08 +03:00
Roman Telezhynskyi
b0a7af152a <QDebugStateSaver> was introduced since Qt 5.1.
--HG--
branch : develop
2016-08-21 13:19:42 +03:00
Roman Telezhynskyi
3f4f605253 Qt::AA_UseHighDpiPixmaps was introduced since Qt 5.1.
--HG--
branch : develop
2016-08-21 13:11:14 +03:00
Bojan Kverh
08bfd9cd82 Merged develop into feature
--HG--
branch : feature
2016-08-21 11:51:49 +02:00
BojanKverh
b4ced822e0 Fixed material attribute writing to XML and removed commented out lines
--HG--
branch : feature
2016-08-21 11:48:51 +02:00
Roman Telezhynskyi
8c6e2e4432 GCC 4.6 doesn't allow constexpr and const together.
--HG--
branch : develop
2016-08-21 12:28:23 +03:00
Roman Telezhynskyi
b0d248a7a0 Looks like <ext/alloc_traits.h> available since GCC 4.7.
--HG--
branch : develop
2016-08-21 12:09:05 +03:00
Roman Telezhynskyi
0563df117d <QLoggingCategory> available since Qt 5.2. Use vmisc/logging.h instead.
--HG--
branch : develop
2016-08-21 11:54:32 +03:00
BojanKverh
ff6d3c7155 Fixed user defined materials
--HG--
branch : feature
2016-08-21 10:27:39 +02:00
Roman Telezhynskyi
3fea569989 #include <QtMath> was introduced since Qt 5.1.
--HG--
branch : develop
2016-08-21 11:09:49 +03:00
Roman Telezhynskyi
3da7c4f27f Backporting qmath.h. Leave only part that was missed in Qt 5.0.
--HG--
branch : develop
2016-08-21 11:04:03 +03:00
Bojan Kverh
19c69c691a Merged develop into feature
--HG--
branch : feature
2016-08-21 00:01:35 +02:00
Roman Telezhynskyi
3dab49c23e QVector::removeLast() supported since Qt 5.1.
--HG--
branch : develop
2016-08-20 22:30:40 +03:00
Roman Telezhynskyi
3fe7ffa7eb Cppcheck warnings.
--HG--
branch : develop
2016-08-20 21:08:25 +03:00
Roman Telezhynskyi
fa8e63c49c Fixed issue #548. Bug Detail tool. Case when seam allowance is wrong.
(grafted from 90daa1f9dd73cd757462ad4c315ea6c1b272782a)

--HG--
branch : develop
2016-08-20 20:47:30 +03:00
Roman Telezhynskyi
948ae32dc5 Fixed regression with tool "Union details".
One file in collection contain unpredicted case. For fixing returned old code.

--HG--
branch : develop
2016-08-20 17:34:49 +03:00
Roman Telezhynskyi
afeeca30f6 Fixed regression after changing behaviour of tool cut curve (arc, spline,
splinePath).

The tool doesn't produce substrings anymore. All links to substrings were
replaced by link to base curve. The regression happened between format version
0.2.7 and 0.3.0.

--HG--
branch : develop
2016-08-20 17:32:45 +03:00
Roman Telezhynskyi
24e8a42aa7 VPatternConverter use QStringLiteral where possible.
--HG--
branch : develop
2016-08-20 12:14:53 +03:00
Valentina Zhuravska
00649770e3 Little fixes.
--HG--
branch : feature
2016-08-17 23:13:54 +03:00
BojanKverh
1cfa97497c Fixed translations after language change
--HG--
branch : feature
2016-08-17 21:38:39 +02:00
Bojan Kverh
10f2d83edd Merged develop into feature
--HG--
branch : feature
2016-08-17 18:00:56 +02:00
Valentina Zhuravska
74b30fa377 Fixed misprint.
--HG--
branch : feature
2016-08-16 23:15:54 +03:00
Valentina Zhuravska
09a9ec2855 Resolved Issue #424. Improve Formula Wizard dialog.
--HG--
branch : feature
2016-08-16 23:13:34 +03:00
Roman Telezhynskyi
e333c9bc08 QtDebug and QDebug lead to the same header. Leave only QtDebug.
--HG--
branch : develop
2016-08-16 20:35:21 +03:00
Roman Telezhynskyi
d66280033b Fixed issue #546. Compile error under Windows in current develop revision.
--HG--
branch : develop
2016-08-16 19:57:32 +03:00
Roman Telezhynskyi
222bbeaa75 Fixed issue #543. Detail loses details.
(grafted from 7e5b3ed76ac3b86fd6112b90b51e8c0c4702bbf0)

--HG--
branch : develop
2016-08-16 18:23:38 +03:00
Roman Telezhynskyi
3ef57202d1 Resolved issue #544. Error: Color Lines are black until touched.
(grafted from f62bbdf4122fa02aa12d110d123b900b94c423d1)

--HG--
branch : develop
2016-08-16 18:23:20 +03:00
BojanKverh
92ec78e6b3 Made sure that labels stay inside the detail after changing size or height
--HG--
branch : feature
2016-08-15 17:19:21 +02:00
BojanKverh
fb326d4f39 Added %size% and %height% placeholders to display pattern size and height in the Pattern size line edit
--HG--
branch : feature
2016-08-15 13:03:59 +02:00
Bojan Kverh
37b683f125 Merged develop into feature
--HG--
branch : feature
2016-08-15 11:06:42 +02:00
Roman Telezhynskyi
db138cd6e7 Fixing building on Qt\5.3\msvc2013_64_opengl.
--HG--
branch : develop
2016-08-13 11:56:59 +03:00
Roman Telezhynskyi
da4bf27c75 New test localization (checking punctuation).
--HG--
branch : develop
2016-08-12 15:21:55 +03:00
BojanKverh
8fc3cfae1b Added missing headers
--HG--
branch : feature
2016-08-12 12:11:12 +02:00
BojanKverh
86f24bf0e5 User defined materials are now remembered and can also be deleted in preferences dialog
--HG--
branch : feature
2016-08-12 01:22:23 +02:00
BojanKverh
b0532e6fb9 Removed userDef attributes from DOM tree, where they are not necessary. Fixed some translations. Refactored finding the selected material in detail dialog
--HG--
branch : feature
2016-08-11 22:44:53 +02:00
Roman Telezhynskyi
3ee6faf124 Fixed issue #532. Unexpected error occurs when zoom out image.
(grafted from c9e825b2ba62707e063700cea95ded566f158d6a)

--HG--
branch : develop
2016-08-12 17:37:47 +03:00
Roman Telezhynskyi
3f75727b6a Resolved issue #540. The latest development version don't compile in MAC.
--HG--
branch : develop
2016-08-09 21:48:43 +03:00
Roman Telezhynskyi
0aabacfee4 String inside label also should be translated.
--HG--
branch : develop
2016-08-09 19:42:00 +03:00
Roman Telezhynskyi
7585db6a58 Fix build on Qt\5.3\msvc2013_64_opengl.
--HG--
branch : develop
2016-08-09 16:55:46 +03:00
Roman Telezhynskyi
9035382238 Cppcheck warnings.
--HG--
branch : develop
2016-08-09 14:18:49 +03:00
Roman Telezhynskyi
31fa9785b9 Fixed several mistakes in original strings.
--HG--
branch : develop
2016-08-09 13:50:37 +03:00
Roman Telezhynskyi
09175a3bde Fix build on Qt\5.3\msvc2013_64_opengl.
--HG--
branch : develop
2016-08-09 12:28:34 +03:00
Roman Telezhynskyi
ec053ba5bf Fix build on Qt\5.3\msvc2013_64_opengl.
--HG--
branch : develop
2016-08-08 22:59:35 +03:00
Roman Telezhynskyi
6c04438a02 Changed macros to be sure that <sys/sysmacros.h> is not included on Windows.
--HG--
branch : develop
2016-08-08 17:57:05 +03:00
Roman Telezhynskyi
67360605b3 Fix broken tool Union details.
--HG--
branch : develop
2016-08-08 17:34:50 +03:00
Roman Telezhynskyi
1937baba99 Error cannot open include file: 'ext/alloc_traits.h': No such file or directory.
--HG--
branch : develop
2016-08-08 16:00:42 +03:00
Roman Telezhynskyi
eec896edd0 Fix errors. error: QPrinter: No such file or directory.
error: QMetaTypeId: No such file or directory.

--HG--
branch : develop
2016-08-08 15:26:48 +03:00
Roman Telezhynskyi
83df3f46b7 Fixed error: sys/sysmacros.h No such file or directory on Windows.
--HG--
branch : develop
2016-08-08 15:14:21 +03:00
Roman Telezhynskyi
67614bcd0b Cppcheck warnings.
--HG--
branch : develop
2016-08-08 15:07:26 +03:00
Roman Telezhynskyi
80f00b361d Use "Include What You Use" tool for optimizing #includes.
--HG--
branch : develop
2016-08-08 14:44:49 +03:00
Roman Telezhynskyi
67b18fbbde Fix problems with layouts in dialog tool Detail. Returned detail name by
default. Setted clear button for field Letter.

--HG--
branch : develop
2016-08-07 23:41:49 +03:00
Roman Telezhynskyi
d9360f3c96 GCC warnings.
--HG--
branch : develop
2016-08-07 18:17:50 +03:00
Roman Telezhynskyi
da91ed974a Merged in BojanKverh/valentina-issue24/feature (pull request #134)
Fixed issue #24. New feature: Label on detail.

--HG--
branch : develop
2016-08-07 18:08:39 +03:00
Roman Telezhynskyi
c94afdf174 Cppcheck warning.
--HG--
branch : develop
2016-08-07 17:31:36 +03:00
Roman Telezhynskyi
34a960fcd6 MSVC warnings.
--HG--
branch : develop
2016-08-07 15:12:08 +03:00
Roman Telezhynskyi
342bf9d124 MSVC doesn't support optimization flag -O3.
--HG--
branch : develop
2016-08-07 14:40:59 +03:00
Roman Telezhynskyi
3a4b78c42b Fixed build on Windows with MSVC 2013_64_opengl. Added include path to VMisc for
VDXF static library.

--HG--
branch : develop
2016-08-07 14:30:18 +03:00
Roman Telezhynskyi
8118bd45e5 With GCC 6.1.1:
debugbreak.h:51:1: error: 'inline' is not at beginning of
declaration [-Werror=old-style-declaration]

So i moved the inlines at the beginning of the declaration.

--HG--
branch : develop
2016-08-07 14:25:43 +03:00
Roman Telezhynskyi
46c295b4b1 Suppress MSVC 2015 warning C4309.
--HG--
branch : develop
2016-08-06 22:43:09 +03:00
Roman Telezhynskyi
64ebccd94b Suppress cppcheck warning.
--HG--
branch : develop
2016-08-06 21:56:33 +03:00
Roman Telezhynskyi
c9cdd2cd8d Using macros QT_WARNING_DISABLE_*.
--HG--
branch : develop
2016-08-06 21:42:40 +03:00
Roman Telezhynskyi
88be00fe42 Fixed build on Qt lower version 5.5.0.
--HG--
branch : develop
2016-08-06 19:32:51 +03:00
Roman Telezhynskyi
1c987b919b Use gcc’s Address Sanitizer only in Debug mode.
--HG--
branch : develop
2016-08-06 19:23:42 +03:00
Roman Telezhynskyi
69e0ff74e6 MSVC warnings.
--HG--
branch : develop
2016-08-06 15:59:30 +03:00
Roman Telezhynskyi
e7b72c4a44 Fix broken build on MSVC.
--HG--
branch : develop
2016-08-05 16:44:20 +03:00
Roman Telezhynskyi
2af9c0e65a Fixed issues with include paths.
--HG--
branch : develop
2016-08-05 13:48:23 +03:00
BojanKverh
f56614966b Deleted unnecessary class member
--HG--
branch : feature
2016-08-03 00:44:22 +02:00
BojanKverh
192bd7e7d5 Deleted unnecessary include
--HG--
branch : feature
2016-08-03 00:39:02 +02:00
BojanKverh
a2ee1e24e6 Fixed cursor handling over the label
--HG--
branch : feature
2016-08-03 00:32:37 +02:00
BojanKverh
f2d5b00fd9 Detail bounding box is drawn when one of its items is in move, resize or rotate mode
--HG--
branch : feature
2016-08-02 22:51:40 +02:00
Roman Telezhynskyi
a2d18c15a4 Fix broken VTextGraphicsItem::paint.
--HG--
branch : develop
2016-08-02 21:16:15 +03:00
Roman Telezhynskyi
ffb6f1fbd5 cppcheck warnings.
--HG--
branch : develop
2016-08-02 15:12:13 +03:00
Roman Telezhynskyi
3e12775a22 qt.network.ssl.warning=false appears only since Qt 5.4.1.
--HG--
branch : develop
2016-08-02 13:46:46 +03:00
Roman Telezhynskyi
47b1e20257 Fixed issue #538. QSslSocket error messages during startup in newest development
build.

--HG--
branch : develop
2016-08-02 13:43:41 +03:00
BojanKverh
a1c905381b Fixed label update on clicking OK in pattern properties dialog and the label is hidden when there is no text on it
--HG--
branch : feature
2016-07-30 13:21:03 +02:00
BojanKverh
a3f4c6da0d Set maximal font size back to 128
--HG--
branch : feature
2016-07-30 12:48:18 +02:00
BojanKverh
06cfaea3b3 Fixed maximal font size
--HG--
branch : feature
2016-07-29 21:59:48 +02:00
Bojan Kverh
c5f38207fd Merged develop into feature
--HG--
branch : feature
2016-07-29 21:47:49 +02:00
Roman Telezhynskyi
483e56866d Added MSVC warnings.
--HG--
branch : develop
2016-07-29 21:04:53 +03:00
Roman Telezhynskyi
ed2bbd97a3 Fixed build on Windows with MSVC. Added include path to VMisc for VPatternDB
static library.

--HG--
branch : develop
2016-08-05 13:41:36 +03:00
Roman Telezhynskyi
75e9e9b2ee Fixed issues with include paths.
--HG--
branch : develop
2016-08-05 13:41:02 +03:00
Roman Telezhynskyi
ed0fb20028 Fixed build on Windows with MSVC. Added include path to VMisc for IFC static
library.

--HG--
branch : develop
2016-07-29 15:43:34 +03:00
Roman Telezhynskyi
88ddf8021e Use macros Q_DECL_CONSTEXPR instead of direct constexpr.
constexpr supported since MSVC 2015.

--HG--
branch : develop
2016-08-05 13:17:05 +03:00
Roman Telezhynskyi
25b46d651e "noexcept" is only supported since the Visual Studio 2015
--HG--
branch : develop
2016-07-29 12:07:44 +03:00
Roman Telezhynskyi
8f78b31710 Translation unit tests moved to separate binary.
--HG--
branch : develop
2016-08-04 19:28:28 +03:00
Roman Telezhynskyi
ce92d2994d Show debug string immediately after call.
--HG--
branch : develop
2016-08-03 14:53:38 +03:00
Roman Telezhynskyi
7b7ef6c0e2 Fixed build.
--HG--
branch : develop
2016-07-26 16:51:38 +03:00
Valentina Zhuravska
1ae8509d63 Merge with develop.
--HG--
branch : feature
2016-07-26 15:32:55 +03:00
Valentina Zhuravska
f9c9cedfac We don't need DialogTool::ShowVisToolTip slot anymore.
--HG--
branch : feature
2016-07-26 13:45:17 +03:00
Roman Telezhynskyi
689024d60f Resolved issue #530. Add debug messages for Layout creation errors.
--HG--
branch : develop
2016-07-26 13:33:58 +03:00
BojanKverh
88055db170 Show measurements option is now disabled and not hidden, if there are no measurements associated with the current pattern. Finished pattern converter and refactored measurement file extraction in text manager class
--HG--
branch : feature
2016-07-25 19:10:13 +02:00
Valentina Zhuravska
d248c4f18a Added VAbstractMainWindow class.
--HG--
branch : feature
2016-07-25 19:23:00 +03:00
BojanKverh
1b5ca4e23d Fixed the pattern converter
--HG--
branch : feature
2016-07-24 19:48:31 +02:00
BojanKverh
85db8f84e6 Added hiding Show measurement option and showing just a filename without path in detail and layout mode. Also fixed a wrong comment
--HG--
branch : feature
2016-07-24 19:07:38 +02:00
BojanKverh
a6e38b54d0 Added the optional measurements line to the pattern info label
--HG--
branch : feature
2016-07-24 12:30:10 +02:00
BojanKverh
a625c35616 Added comments to most important new classes
--HG--
branch : feature
2016-07-23 15:26:15 +02:00
Bojan Kverh
b19f45e90a Merged develop into feature
--HG--
branch : feature
2016-07-23 14:11:22 +02:00
Roman Telezhynskyi
5da965ba69 After update to Qt 5.7 custom libraries: qmuparser and vpropertybrpwser lost
"@rpath" prefix. Setting QMAKE_SONAME_PREFIX fix it.

--HG--
branch : develop
2016-07-23 14:48:16 +03:00
BojanKverh
03482fb9a8 Moved m_tmDetail, m_tmPattern and m_liPP from VLayoutDetail into VLayoutDetailData class
--HG--
branch : feature
2016-07-22 12:50:21 +02:00
BojanKverh
455befa493 Removed printf commands, added Q_REQUIRED_RESULT macros, replaced v[i] with v.at(i) where needed, replaced 1,0 with true,false when creating boolean XML attributes
--HG--
branch : feature
2016-07-22 12:40:02 +02:00
BojanKverh
0e7b369c2e Corrected all the issues reported by Roman till 10:11 AM
--HG--
branch : feature
2016-07-22 11:56:45 +02:00
BojanKverh
312b8e458b Centered the label texts and did some refactoring, so that the label content is generated in one place
--HG--
branch : feature
2016-07-21 21:46:49 +02:00
BojanKverh
5ba40aad8c Fixed alignments
--HG--
branch : feature
2016-07-21 16:49:26 +02:00
Bojan Kverh
4138d30fb6 Merged develop into feature
--HG--
branch : feature
2016-07-21 08:30:51 +02:00
Roman Telezhynskyi
8d56b872dc Refactoring method VDomDocument::SetAttribute().
--HG--
branch : develop
2016-07-20 18:59:35 +03:00
Roman Telezhynskyi
dbcea3a979 GCC warnings.
--HG--
branch : develop
2016-07-20 18:58:21 +03:00
Roman Telezhynskyi
9375e0319d As part of testing make all compiler warnings treat as errors.
Added new CONFIG option "checkWarnings".

--HG--
branch : develop
2016-07-20 15:40:33 +03:00
Roman Telezhynskyi
19387cc80e Resolved issue #528. Error: QSslSocket: cannot resolve SSLv2_client_method.
--HG--
branch : develop
2016-07-20 11:48:09 +03:00
Roman Telezhynskyi
1bffa92127 Using QLatin1String instead of QLatin1Literal.
QLatin1Literal is just a typedef of QLatin1String lefter for compatibility with
Qt 4.x.

--HG--
branch : develop
2016-07-20 11:39:15 +03:00
Roman Telezhynskyi
817a5d5f56 Fixed suppression warnings in Release mode.
Used wrong macros.

--HG--
branch : develop
2016-07-20 11:10:23 +03:00
Bojan Kverh
608b566006 Merged develop into feature
--HG--
branch : feature
2016-07-19 23:00:37 +02:00
BojanKverh
948102e74e Current date is always used to show the pattern creation date
--HG--
branch : feature
2016-07-19 22:59:14 +02:00
Roman Telezhynskyi
fc7e0bb6cb Fixed Valentina crash after undo deleting detail.
Emitting signal in lambda was not really good idea.

--HG--
branch : develop
2016-07-19 20:50:42 +03:00
BojanKverh
02edbcc8d6 Removed some compiler warnings
--HG--
branch : feature
2016-07-19 19:02:20 +02:00
BojanKverh
1cf04118da Removed the rectangles around the labels in Layout mode
--HG--
branch : feature
2016-07-19 17:25:04 +02:00
BojanKverh
04780b4323 Moved VTextManager class into the vlayout folder in order for tests to compile. It also belong to vlayout folder more than into vtools
--HG--
branch : feature
2016-07-19 14:23:20 +02:00
BojanKverh
1759d4314f Labels with pattern info are now displayed in the Layout mode as well. Maybe needs a little bit of refactoring (the label styles and texts are now set up in two different places (VToolDetail and VLayoutDetail), I think this should be unified
--HG--
branch : feature
2016-07-19 13:47:21 +02:00
BojanKverh
6516fb3204 Made the labels text in Layout mode look better
--HG--
branch : feature
2016-07-19 09:06:29 +02:00
BojanKverh
9368978039 Added detail texts to layout mode
--HG--
branch : feature
2016-07-19 02:26:50 +02:00
BojanKverh
c9ee648cb8 Refactored the text managing in labels
--HG--
branch : feature
2016-07-18 22:30:14 +02:00
BojanKverh
fbe7d2ef65 Merging
--HG--
branch : feature
2016-07-18 20:56:42 +02:00
BojanKverh
9943fa7c8b Merging
--HG--
branch : feature
2016-07-18 20:56:05 +02:00
BojanKverh
0ea76c5914 Few changes at vlayoutdetail class
--HG--
branch : feature
2016-07-18 20:38:27 +02:00
Roman Telezhynskyi
18e0f6750a Refactoring. Fixed wrong using method tr().
--HG--
branch : develop
2016-07-18 19:29:34 +03:00
Roman Telezhynskyi
47f12c80f8 Refactoring. Use lambda for small slots. Move slots declaration in appropriate
place.

--HG--
branch : develop
2016-07-18 18:09:15 +03:00
BojanKverh
fed323fc25 Labels are now shown on the layout, however I still need to figure out how to paste text into the labels
--HG--
branch : feature
2016-07-17 22:52:53 +02:00
BojanKverh
25a58421cc Added pattern size field and creation date visibility flag to pattern properties
--HG--
branch : feature
2016-07-16 01:12:51 +02:00
Bojan Kverh
37425be026 Merged develop into feature
--HG--
branch : feature
2016-07-15 23:06:50 +02:00
Roman Telezhynskyi
c6dbd1a764 Fervor require additionally xml library.
--HG--
branch : develop
2016-07-15 14:47:41 +03:00
Roman Telezhynskyi
5ee91f4891 Fix broken test build.
--HG--
branch : develop
2016-07-15 13:40:26 +03:00
Roman Telezhynskyi
83aeb00063 Added example of Appcast.xml.
--HG--
branch : feature
2016-07-15 13:24:27 +03:00
Roman Telezhynskyi
0a1e89c839 Updated default feed url.
--HG--
branch : feature
2016-07-15 13:21:45 +03:00
Roman Telezhynskyi
faae90363e Show button "Check For Updates" in dialogs about Valentina and Tape. Move
settings to common file.

--HG--
branch : feature
2016-07-15 13:14:48 +03:00
Roman Telezhynskyi
d61c1c13bf Check one day and try remind again.
--HG--
branch : feature
2016-07-15 12:30:55 +03:00
Roman Telezhynskyi
1e6dc7c0a8 Use QPointer class.
--HG--
branch : feature
2016-07-15 12:03:19 +03:00
Roman Telezhynskyi
a94daf6834 First implementation of Update Notification.
--HG--
branch : feature
2016-07-15 12:00:00 +03:00
BojanKverh
ea9cdd46b2 Fixed some code style errors and checking label position at resizing
--HG--
branch : feature
2016-07-14 02:59:42 +02:00
BojanKverh
634d8773de Labels now cannot go outside the detail bounding box with any operation (move, resize or rotate)
--HG--
branch : feature
2016-07-14 02:10:27 +02:00
Bojan Kverh
f7ebda3c6e Merged develop into feature
--HG--
branch : feature
2016-07-13 23:11:49 +02:00
Valentina Zhuravska
d96c885e0d We don't need toolTip after we finished creation of CubicBezierPath.
--HG--
branch : feature
2016-07-13 14:59:01 +03:00
Valentina Zhuravska
a362731040 Added ToolTip for editing SplinePath.
--HG--
branch : feature
2016-07-13 14:42:50 +03:00
Roman Telezhynskyi
e4d6df06b7 Refactoring. Instead of using proxy slots emit signals directly from lambda
expressions.

--HG--
branch : develop
2016-07-13 14:41:44 +03:00
Valentina Zhuravska
2cf2275365 Added ToolTip for editing simple curve.
--HG--
branch : feature
2016-07-13 14:05:37 +03:00
BojanKverh
7c2f4e54ba Fixed cursor handling on vtextgraphicsitem
--HG--
branch : feature
2016-07-12 23:11:17 +02:00
Bojan Kverh
e93f2c117b Merged develop into feature
--HG--
branch : feature
2016-07-12 22:09:47 +02:00
BojanKverh
e5f7c47828 Removed some compiler warnings and set the resize cursor when label is being resized
--HG--
branch : feature
2016-07-10 12:39:50 +02:00
BojanKverh
a557b99409 Material/Cut/Placement is not displayed on label if cut number is 0
--HG--
branch : feature
2016-07-10 11:32:37 +02:00
BojanKverh
d76cc0bd38 Corrected the label placement when moved on the detail edge
--HG--
branch : feature
2016-07-10 11:20:53 +02:00
Roman Telezhynskyi
f56f2a0209 Fixed issue #526. Dialog Detail is not on top after selection second object on
Mac.
(grafted from acde5cf1164d8227d71e7ff41ce03b45cbe7c9dd)

--HG--
branch : develop
2016-07-09 13:57:37 +03:00
BojanKverh
6e1dce0cd7 Fixed moving labels and added warning icon to detail dialog when detail name is empty
--HG--
branch : feature
2016-07-08 00:46:33 +02:00
Bojan Kverh
5aa75f2aff Merged develop into feature
--HG--
branch : feature
2016-07-07 20:47:16 +02:00
Roman Telezhynskyi
a2acb032a2 Use static assert to check if minimal version is high enough to delete code that
needed for backward compatibility.

--HG--
branch : develop
2016-07-07 18:04:26 +03:00
Roman Telezhynskyi
eec1240da0 Fixed resizing scene when move detail.
When first time create detail MoveDetail class gets wrong scene pointer and this
cause refreshing wrong scene.

--HG--
branch : develop
2016-07-07 15:38:55 +03:00
Roman Telezhynskyi
bd7f328a8a Refactoring deleting visualization object.
Instead of searcing inside current graphics scene use QPointer class.

--HG--
branch : develop
2016-07-07 14:56:55 +03:00
Roman Telezhynskyi
628fdd4217 Call Lite Parse each time when add object inside of file.
--HG--
branch : develop
2016-07-07 14:55:01 +03:00
Roman Telezhynskyi
c0bae287be Refactoring.
--HG--
branch : develop
2016-07-07 14:36:11 +03:00
Roman Telezhynskyi
ed0d4df88f Fixed wrong color segment that connects label with point in Base point tool.
--HG--
branch : develop
2016-07-07 14:35:55 +03:00
BojanKverh
3a40927764 Fixed layout in detail dialog and painting of text item in rotate mode
--HG--
branch : feature
2016-07-06 22:15:32 +02:00
BojanKverh
192c4d33a7 Added possibility to hide both labels for each detail individually
--HG--
branch : feature
2016-07-06 21:56:52 +02:00
BojanKverh
aa1d1f8ce1 Label cannot be moved outside of parent bounding box. Moving cursor is on when moving label. Name of detail moved to Pattern Piece Data tab. Hopefully all warnings removed
--HG--
branch : feature
2016-07-06 20:49:36 +02:00
BojanKverh
cdd3e03e53 Merged develop into feature
--HG--
branch : feature
2016-07-06 17:58:17 +02:00
Roman Telezhynskyi
15e840f49a Small refactoring VToolDetail class.
--HG--
branch : develop
2016-07-06 13:34:39 +03:00
Roman Telezhynskyi
0e24fae91c Fixed issue #521. Error: Can't create Seam Allowance after using Union Tool.
--HG--
branch : develop
2016-07-06 13:34:05 +03:00
BojanKverh
c58717a803 Merged
--HG--
branch : feature
2016-07-03 10:25:42 +02:00
BojanKverh
180e1ddc90 Merged
--HG--
branch : feature
2016-07-03 10:24:25 +02:00
BojanKverh
5e3daf416c Fixed initial positioning of the labels
--HG--
branch : feature
2016-07-03 10:17:59 +02:00
Valentina Zhuravska
01f66d3c34 Resolved issue #461. Improve feature: Add a keyboard shortcut for getting pure 45, 90, 135, 180, 225, 270, 315 and 0 degree angles for all tools.
--HG--
branch : feature
2016-07-03 07:50:14 +03:00
Roman Telezhynskyi
14afb2ce9b Resolved issue #521. Error: Can't create Seam Allowance after using Union Tool.
--HG--
branch : develop
2016-07-02 14:43:01 +03:00
BojanKverh
74a49662f6 Fixed rotation
--HG--
branch : feature
2016-07-02 11:15:41 +02:00
Roman Telezhynskyi
49258cac8c Added additional checks to method DialogTool::SetAssociatedTool.
--HG--
branch : develop
2016-07-02 12:12:12 +03:00
BojanKverh
f52f97740d Moved pattern info geometry into VDetail class
--HG--
branch : feature
2016-07-02 01:49:38 +02:00
Bojan Kverh
438cb466d7 Merged develop into feature
--HG--
branch : feature
2016-07-01 17:36:21 +02:00
Roman Telezhynskyi
b3f1b15c1e Fixed Bisector tool bug. The tool created internal variable for wrong segment.
(grafted from 53b851e1c883bd92a7f9267a8fcefaa98735ecde)

--HG--
branch : develop
2016-07-01 15:49:15 +03:00
BojanKverh
6effc2b5cd Rotation bugs fixed
--HG--
branch : feature
2016-07-01 01:45:16 +02:00
Bojan Kverh
9a64ddf6a3 Merged develop into feature
--HG--
branch : feature
2016-06-30 20:50:07 +02:00
Roman Telezhynskyi
800c1b4dc9 Little improvement for Unit tool. New detail will have offset from first detail.
--HG--
branch : develop
2016-06-30 19:53:16 +03:00
Roman Telezhynskyi
c89243a288 Resolved issue #520. Improve Union tool. An option to select about original
pieces.

--HG--
branch : develop
2016-06-30 19:48:46 +03:00
BojanKverh
23a31b1fa9 Rotation of the labels. There are a couple of bugs still to fix
--HG--
branch : feature
2016-06-30 18:04:25 +02:00
Bojan Kverh
d5a3289ef7 Merged develop into feature
--HG--
branch : feature
2016-06-30 18:01:27 +02:00
Roman Telezhynskyi
046ef4975d These strings should be translated.
--HG--
branch : develop
2016-06-30 18:34:20 +03:00
Roman Telezhynskyi
6bf31f2846 Resolved issue #483. File lost.
Fixed crash after redo Unite tool. Caused by wrong position of modeling objects.

--HG--
branch : develop
2016-06-30 18:32:08 +03:00
Roman Telezhynskyi
8a8f63e88e Resolved issue #519. Error: Crash with Union tool.
--HG--
branch : develop
2016-06-30 16:02:59 +03:00
BojanKverh
0f90b61235 Fixed the vtextgraphicsitem mouse events bug
--HG--
branch : feature
2016-06-29 23:52:48 +02:00
BojanKverh
caa13f06ac Corrected some warnings
--HG--
branch : feature
2016-06-29 23:39:52 +02:00
Bojan Kverh
83ec6e219a Merged develop into feature
--HG--
branch : feature
2016-06-29 23:19:24 +02:00
Roman Telezhynskyi
002619ad83 Moves the arrow tool from the toolbar to all the tabs in the toolbox as
discussed in https://groups.google.com/forum/#!topic/valentina-project-list/6RvYFlJLmMM

Thanks Benjamin Nauck for idea and the patch.

--HG--
branch : develop
2016-06-28 20:42:04 +03:00
Roman Telezhynskyi
79d63f49a6 GCC warnings.
--HG--
branch : develop
2016-06-28 09:36:12 +03:00
Roman Telezhynskyi
c434a498ef Merged in ValentinaZhuravska/valentina/feature (pull request #130)
Fixed issue #516. Valentina crashes when use "Point intersect line and axis" instrument.

--HG--
branch : develop
2016-06-28 09:14:00 +03:00
BojanKverh
060411ef09 Updated schema v0.3.3.xsd
--HG--
branch : feature
2016-06-28 01:02:42 +02:00
BojanKverh
2b7f056566 Fixed schema and undo bug
--HG--
branch : feature
2016-06-27 20:51:29 +02:00
Roman Telezhynskyi
0744359337 Run with pngcrush 1.8.1.
--HG--
branch : develop
2016-06-27 19:08:18 +03:00
Roman Telezhynskyi
39f7727088 Used pngcrush key "brute".
--HG--
branch : develop
2016-06-27 18:42:31 +03:00
BojanKverh
6577d82771 Added new schema to accomodate for new parameters and did some other minor changes. There is a bug with Undo on details label, will check that later
--HG--
branch : feature
2016-06-27 17:18:43 +02:00
Valentina Zhuravska
289bf05642 Fixed issue #516. Valentina crashes when use "Point intersect line and axis" instrument.
--HG--
branch : feature
2016-06-27 15:09:32 +03:00
BojanKverh
80fcf30776 Moving, resizing and editing both labels now works
--HG--
branch : feature
2016-06-27 11:06:51 +02:00
Bojan Kverh
1c7c962dc3 Merged develop into feature
--HG--
branch : feature
2016-06-27 10:16:48 +02:00
Roman Telezhynskyi
a586d29e78 Restore png files after pngcrush work.
--HG--
branch : develop
2016-06-27 10:48:49 +03:00
BojanKverh
fa105537d2 Moving and resizing pattern info label (has few bugs still, probably just XML parsing)
--HG--
branch : feature
2016-06-27 01:17:27 +02:00
Roman Telezhynskyi
643fafcbc9 Resolved issue #517. MAC version incorrect sRGB profile.
libpng warning: iCCP: known incorrect sRGB profile.

--HG--
branch : develop
2016-06-26 21:27:04 +03:00
BojanKverh
28c4eddbd7 Merged
--HG--
branch : feature
2016-06-26 19:35:21 +02:00
BojanKverh
065621f8c2 Added general info parameters to VPattern and updated pattern properties dialog accordingly
--HG--
branch : feature
2016-06-26 16:49:51 +02:00
Roman Telezhynskyi
a0585a4c2b Fixed bug with not unique id if Group is the last object that was created in
file.

Reparsing did not update max available id in file. This cause creating
duplicate ids.

--HG--
branch : develop
2016-06-26 15:41:48 +03:00
BojanKverh
e68fa3a0f3 Fixed few bugs: label position is preserved after editing detail, buttons for add/update/remove MCP are handled correcty. Added style to VTextGraphicsItem lines
--HG--
branch : feature
2016-06-26 14:21:06 +02:00
Roman Telezhynskyi
5306415d92 Conversion to new file format.
--HG--
branch : feature
2016-06-26 14:45:39 +03:00
Roman Telezhynskyi
1608599795 Added list "Details in layout".
--HG--
branch : feature
2016-06-26 14:36:12 +03:00
BojanKverh
21debaf249 Reimplemented QTextGraphicsItem class
--HG--
branch : feature
2016-06-25 17:19:44 +02:00
BojanKverh
33e1a12a67 Merged heads
--HG--
branch : feature
2016-06-24 18:05:31 +02:00
Bojan Kverh
3480f33922 Merged develop into feature
--HG--
branch : feature
2016-06-24 17:57:52 +02:00
BojanKverh
caa6b425b9 Tried QGraphicsTextItem::boundingBox approach
--HG--
branch : feature
2016-06-24 17:57:08 +02:00
BojanKverh
6fbffd2834 Position, size and font size of the text label are now saved into VDetail DOM tree. Undo/Redo for moving and resizing the label works.
--HG--
branch : feature
2016-06-23 22:35:32 +02:00
BojanKverh
fd47065ae2 Fixed 0.3.1 schema file again
--HG--
branch : feature
2016-06-23 19:57:07 +02:00
BojanKverh
dab32731c0 Fixed 0.3.1 schema file
--HG--
branch : feature
2016-06-23 19:53:00 +02:00
Roman Telezhynskyi
e7455cdabc Option "Use last tool" worked incorrect in case of tool "Arc intersect axis".
--HG--
branch : develop
2016-06-23 20:45:45 +03:00
Roman Telezhynskyi
7eaadf1761 Resolved issue #480. New tool: Midpoint between two points.
--HG--
branch : develop
2016-06-23 20:20:21 +03:00
BojanKverh
fc0b1dce9c Added label containing pattern piece information to vtooldetail, which can be moved/resized
--HG--
branch : feature
2016-06-23 00:59:45 +02:00
BojanKverh
b14a3c9551 Fixed the SaveDetailOption::undo method and few code style issues
--HG--
branch : feature
2016-06-21 19:53:15 +02:00
Bojan Kverh
553f8dc2d2 Merged develop into feature
--HG--
branch : feature
2016-06-21 18:29:08 +02:00
Roman Telezhynskyi
e3ee35bf50 Fixed issue #469. Error - Layout has overlapping pieces in develop branch.
--HG--
branch : develop
2016-06-21 16:04:15 +03:00
BojanKverh
c05c51e078 Finished the detail dialog
--HG--
branch : feature
2016-06-21 00:49:22 +02:00