Commit Graph

1664 Commits

Author SHA1 Message Date
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
BojanKverh
9386ae2ff1 Corrected code to satisfy code style specifications
--HG--
branch : feature
2016-06-19 13:46:19 +02:00
BojanKverh
8140647242 Updated detail dialog with pattern piece data editing
--HG--
branch : feature
2016-06-18 22:14:35 +02:00
BojanKverh
1899abc39e Added pattern piece data dialog, which can be accessed with right mouse click in Detail mode
--HG--
branch : feature
2016-06-18 16:00:01 +02:00
Roman Telezhynskyi
7b40bc3667 Show path to pattern file in a graphical shell.
--HG--
branch : develop
2016-06-18 16:57:07 +03:00
Roman Telezhynskyi
f3c66827aa Fixed issue #494. Printing is not working.
(grafted from 8bb1ab7575e8e04d0feb91c506facae80d22e4d8)

--HG--
branch : develop
2016-06-17 17:58:39 +03:00
BojanKverh
05b094deec Added a class to hold pattern piece data
--HG--
branch : feature
2016-06-17 16:42:38 +02:00
Roman Telezhynskyi
76d1c02423 Call details context menu through label.
--HG--
branch : develop
2016-06-17 16:13:49 +03:00
Roman Telezhynskyi
3c5d6aa500 Fixed issue #515. Seam allowance wrong way.
--HG--
branch : develop
2016-06-17 15:39:54 +03:00
Roman Telezhynskyi
9d9d2702ba Show PMSystem code in combobox near name.
--HG--
branch : develop
2016-06-16 16:25:28 +03:00
Roman Telezhynskyi
972dd36fcf Redesign printing system. ref #494. Printing is not working.
Made complete redesign of printing code. Now the code check printer's dpi and
calculate  scale factor. Instead of printing with QImage buffer the code print
directly on printer. Help avoid limitations of QImage class.

Also removed menu option "Save as PDF". The option duplicate option "Export As"
and also mislead a user about purpose of option "Print preview".

--HG--
branch : develop
2016-06-15 13:55:43 +03:00
Valentina Zhuravska
43cba1b10f Fixed build in Windows.
--HG--
branch : develop
2016-06-11 16:27:14 +03:00
Valentina Zhuravska
1ca5b4dfa6 Resolved issue #180. Search field in tape app and dialog Increments.
--HG--
branch : develop
2016-06-11 15:51:48 +03:00
BojanKverh
1d78009585 Trying to resolve conflict
--HG--
branch : feature
2016-06-10 22:42:27 +02:00
BojanKverh
96b2d28604 Fixed issue #479. Improve feature: The Preferences dialog box in Valentina and Tape should be expandable.
--HG--
branch : feature
2016-06-10 21:34:21 +02:00
Holger Pandel
349625fbed Create string variable for ini file name identifier.
--HG--
branch : feature
2016-06-10 16:48:30 +02:00
Holger Pandel
8735357fbf Resolve issue #508. Settings saved to INI files in different folders.
--HG--
branch : feature
2016-06-10 15:57:08 +02:00
Roman Telezhynskyi
6d18c71956 Try to fix broken tests. Error QPrinter: No such file or directory.
--HG--
branch : develop
2016-06-01 22:06:28 +03:00
Roman Telezhynskyi
37d025dda8 Merged in ValentinaZhuravska/valentina/feature (pull request #118)
Fixed tests in Windows.

--HG--
branch : develop
2016-06-01 22:02:43 +03:00
Roman Telezhynskyi
080da6d3e1 Try to fix issue #494. Seems like default constructor on mac creates non-native
printer by default or default printer can't be found.

--HG--
branch : develop
2016-06-01 21:55:27 +03:00
Valentina Zhuravska
edceeea620 Fixed misprints.
--HG--
branch : feature
2016-06-01 21:08:36 +03:00
Roman Telezhynskyi
e0bf6f11d1 Export to CSV. Added button "Restore Defaults".
--HG--
branch : develop
2016-06-01 17:21:03 +03:00
Roman Telezhynskyi
32d391c587 Resolved issue #409. New feature: Export measurement file to Excel .csv.
--HG--
branch : develop
2016-06-01 16:37:42 +03:00
Roman Telezhynskyi
ce720450f0 Fixed issue #493. Error in seam allowance drawing.
(grafted from 776b5b71c7e5aa6b9755c280f3f4e20e159c8150)

--HG--
branch : develop
2016-05-26 11:26:54 +03:00
Roman Telezhynskyi
eaa1744262 Clang warnings.
--HG--
branch : develop
2016-05-25 16:28:35 +03:00
Roman Telezhynskyi
73ad3a8376 Fixed issue with method IsPointOnLineSegment.
--HG--
branch : develop
2016-05-25 13:55:15 +03:00
Roman Telezhynskyi
eb15b5d736 Rotated curves don't need mx and my attributes.
--HG--
branch : develop
2016-05-25 12:14:24 +03:00
Roman Telezhynskyi
58ed043b1b A keyboard input focus for class VSimpleCurve.
--HG--
branch : develop
2016-05-25 11:59:59 +03:00
Roman Telezhynskyi
e4ee400903 VToolLine did not have a keyboard input focus.
--HG--
branch : develop
2016-05-25 11:51:26 +03:00
Roman Telezhynskyi
35b1a2fb9a Show direction when show a visualization.
--HG--
branch : develop
2016-05-25 11:48:32 +03:00
Roman Telezhynskyi
1d059ca9a5 Show context menu VSimplePoint and VSimpleCurve.
--HG--
branch : develop
2016-05-25 11:43:36 +03:00
Roman Telezhynskyi
8d373f91af Show direction for VSimpleCurve.
--HG--
branch : develop
2016-05-25 11:16:21 +03:00
Roman Telezhynskyi
ff34f05b34 Fixed crash when detail use curve created by tool rotation.
--HG--
branch : develop
2016-05-25 10:41:00 +03:00
Roman Telezhynskyi
f7736d3bfd Fixed issue "Not all length of curves visible".
--HG--
branch : develop
2016-05-24 20:35:19 +03:00
Roman Telezhynskyi
9c0f5f2fa4 Refactoring. Use QScopedPointer for class Calculator.
--HG--
branch : develop
2016-05-24 15:25:58 +03:00
Roman Telezhynskyi
83243e5af3 Handle case when NaN and Inf value treats like valid.
--HG--
branch : develop
2016-05-24 15:06:35 +03:00
Roman Telezhynskyi
66cc34ed64 Fixed issue "Rotation tool - Cannot edit formula after creation".
--HG--
branch : develop
2016-05-24 13:29:13 +03:00
Roman Telezhynskyi
d13937fb40 Clicking on notselectable object do not clean previous selections.
--HG--
branch : develop
2016-05-24 12:43:30 +03:00
Roman Telezhynskyi
b820d5a6ea Fixed issue #491. Valentina doesn't update fractional separator.
(grafted from c658843945e37cd7f1d3e4e0ca4967d7a01b1c4d)

--HG--
branch : develop
2016-05-23 18:23:39 +03:00
Roman Telezhynskyi
64f72c69d5 Clang warnings.
--HG--
branch : develop
2016-05-20 19:39:13 +03:00
Roman Telezhynskyi
5e6752793e Fixed build on Mac OS X.
--HG--
branch : develop
2016-05-20 18:55:21 +03:00
Roman Telezhynskyi
b05da647fe Moving labels and curves did not call resizing scene.
--HG--
branch : develop
2016-05-20 15:20:08 +03:00
Roman Telezhynskyi
7aca6d8179 Added VSimpleCurve to list of valid objects to call a visualization.
--HG--
branch : develop
2016-05-20 14:42:48 +03:00
Roman Telezhynskyi
05fdbcf8f5 Fixed a bug with QGraphicsItem class. QGraphicsItem itself produce case where
clicking on empty space produce call to QGraphicsItem.

--HG--
branch : develop
2016-05-20 14:41:57 +03:00
Roman Telezhynskyi
bcec065872 Correct support for Tool Group.
--HG--
branch : feature
2016-05-19 17:11:02 +03:00
Roman Telezhynskyi
182d07f761 Fixed wrong incrementing references to objects.
--HG--
branch : feature
2016-05-19 16:46:40 +03:00
Roman Telezhynskyi
e2a059287e Update an angle during processing editing rotation.
--HG--
branch : feature
2016-05-19 15:56:50 +03:00
Roman Telezhynskyi
7665402d64 Fixed crash.
--HG--
branch : feature
2016-05-19 15:48:56 +03:00
Roman Telezhynskyi
f046624b36 Clean a file. Tool Cut doesn't need color attribute anymore.
--HG--
branch : feature
2016-05-19 15:40:55 +03:00
Roman Telezhynskyi
123434f806 Mark with different color base objects and rotated objects.
--HG--
branch : feature
2016-05-19 15:23:37 +03:00
Roman Telezhynskyi
948d384868 Fixed moving labels.
--HG--
branch : feature
2016-05-19 15:13:38 +03:00
Roman Telezhynskyi
d7b4cbf860 Remove all children before update.
--HG--
branch : feature
2016-05-19 15:01:49 +03:00
Roman Telezhynskyi
0266b27b36 Save information about curve color inside geometric objects. Help to copy this
data to copy objects after rotation.

--HG--
branch : feature
2016-05-19 13:11:50 +03:00
Roman Telezhynskyi
fd39c19da0 Show selected objects even before selecting origin point.
--HG--
branch : feature
2016-05-18 19:13:48 +03:00
Roman Telezhynskyi
19df01be2e Correct selection and hovering. Line can't be selected.
--HG--
branch : feature
2016-05-18 19:07:43 +03:00
Roman Telezhynskyi
ba76ba2746 Origin point shouldn't be in a rotation list.
--HG--
branch : feature
2016-05-18 16:57:17 +03:00
Roman Telezhynskyi
0052a883a4 Better way to check suffix.
--HG--
branch : feature
2016-05-18 16:44:23 +03:00
Roman Telezhynskyi
702245f9fb Check suffix in a dialog.
--HG--
branch : feature
2016-05-18 16:38:04 +03:00
Roman Telezhynskyi
180903b807 Automatically generate suffix.
--HG--
branch : feature
2016-05-18 15:35:07 +03:00
Roman Telezhynskyi
291c19d5a2 Property browser for tool Rotation.
--HG--
branch : feature
2016-05-18 14:32:51 +03:00
Roman Telezhynskyi
84a56545ea Merge with develop.
--HG--
branch : feature
2016-05-18 13:18:08 +03:00
Roman Telezhynskyi
916598c86c Show an arc between two lines that reprezent an angle.
--HG--
branch : feature
2016-05-18 13:17:50 +03:00
Valentina Zhuravska
0d8d9cb5e1 Resolved issue #487. True dart point always goes to origin when the label is moved.
--HG--
branch : develop
2016-05-17 13:46:52 +03:00
Roman Telezhynskyi
b377042125 Merge with develop.
--HG--
branch : feature
2016-05-17 13:25:33 +03:00
Roman Telezhynskyi
970b876cf7 Show the tool visualization.
--HG--
branch : feature
2016-05-17 13:24:51 +03:00
Valentina Zhuravska
6e7b77b9de Added toolTip.
--HG--
branch : feature
2016-05-17 13:18:38 +03:00
Roman Telezhynskyi
18d3a297cd VToolRotation::SetFactor.
--HG--
branch : feature
2016-05-17 13:02:01 +03:00
Valentina Zhuravska
b55c0ffff5 Little fix.
--HG--
branch : feature
2016-05-17 12:35:18 +03:00
Valentina Zhuravska
5933da7403 Resolved issue #472. Add 'Full Name' column to Formula dialog.
--HG--
branch : feature
2016-05-17 12:25:01 +03:00
Roman Telezhynskyi
35c1267672 Try catch more cases where adding new tool will produce issues.
--HG--
branch : feature
2016-05-16 22:14:59 +03:00
Roman Telezhynskyi
048a49f784 Return all formulas that provide tag Operation.
--HG--
branch : feature
2016-05-16 21:11:48 +03:00
Roman Telezhynskyi
ac49d298f8 Refactoring. Use tag names from class VAbstractPattern.
--HG--
branch : feature
2016-05-16 20:59:04 +03:00
Roman Telezhynskyi
7dbba35919 Parse the tool in a file.
--HG--
branch : feature
2016-05-16 20:27:51 +03:00
Roman Telezhynskyi
02eb12ba3e Fix warning "Class implements the interface QGraphicsItem but does not list it
in Q_INTERFACES. qobject_cast to QGraphicsItem will not work!"

--HG--
branch : feature
2016-05-14 22:58:00 +03:00
Roman Telezhynskyi
e9d23a7a32 Refactoring. Each a static method has access to each method in a class. So, we
can declare a constructor in private section for each a tool class that has
"Create" methods.

--HG--
branch : feature
2016-05-14 22:54:57 +03:00
Roman Telezhynskyi
6187f16c6a Refactoring. Use conversion operator for conversion VPointF to QPointF.
--HG--
branch : feature
2016-05-14 22:28:09 +03:00
Roman Telezhynskyi
95a7553741 XSD scheme is now more correct.
--HG--
branch : feature
2016-05-14 21:24:27 +03:00
Roman Telezhynskyi
d2efd50030 Delete visualization before closing the tool dialog.
--HG--
branch : feature
2016-05-13 20:59:15 +03:00
Roman Telezhynskyi
2f7138e69c Forgot to add apply button.
--HG--
branch : feature
2016-05-13 20:46:57 +03:00
Roman Telezhynskyi
80eb2649b9 Refactoring.
--HG--
branch : feature
2016-05-13 20:40:55 +03:00
Roman Telezhynskyi
4537106991 Updated XSD scheme.
--HG--
branch : feature
2016-05-13 20:33:52 +03:00
Roman Telezhynskyi
4ec4f276fc GCC warnings.
--HG--
branch : feature
2016-05-13 18:10:13 +03:00
Roman Telezhynskyi
c8a041e4f2 Refactoring undocommands move label.
--HG--
branch : feature
2016-05-13 18:05:35 +03:00
Roman Telezhynskyi
fc4054e49e Undocommand move a label of rotated point.
--HG--
branch : feature
2016-05-13 16:50:30 +03:00
Roman Telezhynskyi
80b415f258 Merge with develop.
--HG--
branch : feature
2016-05-12 22:52:31 +03:00
Roman Telezhynskyi
910c40a5b3 Commit successful build.
--HG--
branch : feature
2016-05-12 22:11:21 +03:00
Roman Telezhynskyi
49bee0cada Delete key did not work.
--HG--
branch : develop
2016-05-08 18:04:18 +03:00
Roman Telezhynskyi
e3d582fc5e Fixed issue #481. Error: Valentina closes on 'Zoom Best Fit'.
--HG--
branch : develop
2016-05-08 17:15:41 +03:00
Roman Telezhynskyi
043a3d4ee4 Fixed issue #485. Error when drawing a curved path.
(grafted from 28d51c1471759c1d6ff544ea92c7fc146dcac532)

--HG--
branch : develop
2016-05-07 11:56:14 +03:00
Roman Telezhynskyi
384d85dfae Fixed build with MSVC.
--HG--
branch : develop
2016-05-06 19:32:35 +03:00
Curious One
533968fca0 did a hg merge and it now wants me to commit. These are lots of changes that I don't know where they are from...
--HG--
branch : develop
2016-05-04 21:37:49 +10:00
Curious One
f5f915cbe0 Again, made compilable with msvc by adding compiler directive where necessary...
--HG--
branch : develop
2016-05-04 21:35:35 +10:00
Roman Telezhynskyi
6f56b46d26 Fixed Clang warnings.
--HG--
branch : develop
2016-05-03 19:50:37 +03:00
Roman Telezhynskyi
a23de6ab41 Merge
--HG--
branch : develop
2016-04-26 15:40:02 +03:00
Roman Telezhynskyi
433efd08c7 Little optimization for the layout generator.
--HG--
branch : develop
2016-04-26 15:39:50 +03:00
Valentina Zhuravska
66fbcab64c Better to use qDegreesToRadians than M_PI/180
--HG--
branch : feature
2016-04-11 05:52:32 +03:00
Valentina Zhuravska
c95b162c0d Fixed build in win7
--HG--
branch : feature
2016-04-11 05:27:51 +03:00
Roman Telezhynskyi
2717382d71 Rotation VSpline and VSplinePath classes.
--HG--
branch : feature
2016-04-10 18:03:15 +03:00
Roman Telezhynskyi
8713c628dc Refactoring VArc and VEllipticalArc classes.
--HG--
branch : feature
2016-04-10 17:40:55 +03:00
Roman Telezhynskyi
a7c4cc7aaf Merge with develop.
--HG--
branch : feature
2016-04-10 14:50:56 +03:00
Roman Telezhynskyi
f98f897fd3 Resolved issue #193. Undeletable zombie arc objects.
--HG--
branch : develop
2016-04-10 14:48:34 +03:00
Roman Telezhynskyi
1d76a59ae7 Rotation VPointF, VArc, VCubicBezier and VCubicBezierPath.
--HG--
branch : feature
2016-04-10 14:40:04 +03:00
Roman Telezhynskyi
f83c016c54 Updated description measurements N06 and N07. Add new measurements A23 and J10.
(grafted from cf140cecff83698ca48fcf563a5e8a857466f531)

--HG--
branch : develop
2016-04-08 13:21:18 +03:00
Roman Telezhynskyi
42e356ccbd New pattern format version 0.3.0.
--HG--
branch : feature
2016-04-07 19:56:41 +03:00
Roman Telezhynskyi
a0842b0f48 Merge with develop.
--HG--
branch : feature
2016-04-07 17:59:07 +03:00
Roman Telezhynskyi
48e411a3ce Working with group widget.
--HG--
branch : feature
2016-04-07 17:57:53 +03:00
Roman Telezhynskyi
5697af33e8 Fixed tests.
--HG--
branch : develop
2016-04-07 12:35:08 +03:00
Roman Telezhinskyi
0b9562a3bd Merged in ValentinaZhuravska/valentina/feature (pull request #107)
We can add image to file.val

--HG--
branch : develop
2016-04-07 12:03:40 +03:00
Roman Telezhynskyi
9c63c4f794 The method SetGroupName.
--HG--
branch : feature
2016-04-06 12:36:33 +03:00
Roman Telezhynskyi
a8feb5d0c0 New undo command DelGroup.
--HG--
branch : feature
2016-04-06 12:23:39 +03:00
Roman Telezhynskyi
cb67249b54 New undo command Add Group.
--HG--
branch : feature
2016-04-06 12:03:34 +03:00
Valentina Zhuravska
8911fb5e11 Overrided setTagText method
--HG--
branch : feature
2016-04-06 05:34:08 +03:00
Valentina Zhuravska
de221559f3 CheckTagExists returns QDomElement
--HG--
branch : feature
2016-04-06 05:31:42 +03:00
Valentina Zhuravska
9eeeb7baa8 Optimization
--HG--
branch : feature
2016-04-06 04:11:14 +03:00
Roman Telezhynskyi
d73256f119 The method CreateGroup.
--HG--
branch : feature
2016-04-05 20:53:49 +03:00
Roman Telezhynskyi
ada64305c0 Dialog Group.
--HG--
branch : feature
2016-04-05 20:14:12 +03:00
Valentina Zhuravska
c002aec49a Little fixes
--HG--
branch : feature
2016-04-04 20:57:36 +03:00
Roman Telezhynskyi
844d3764c2 Group button.
--HG--
branch : feature
2016-04-04 18:03:40 +03:00
Roman Telezhynskyi
371c352efc Tool "Curve intersect axis" store data about subpaths.
--HG--
branch : develop
2016-04-02 20:47:56 +03:00
Roman Telezhynskyi
e3acc16a76 Resolved issue #444. Length along Path seems not valid.
--HG--
branch : develop
2016-04-02 20:47:04 +03:00
Roman Telezhynskyi
9470f76ba9 New method curve length by given point.
--HG--
branch : develop
2016-04-02 14:59:43 +03:00
Valentina Zhuravska
84d6e157bb Fixed InsertTag method
--HG--
branch : feature
2016-04-02 11:37:37 +03:00
Valentina Zhuravska
56db3f6f1a Optimization. Make const in InsertTag method
--HG--
branch : feature
2016-04-02 10:25:21 +03:00
Valentina Zhuravska
ebab22d6ca Little fixes
--HG--
branch : feature
2016-04-02 03:00:00 +03:00
Roman Telezhynskyi
c99cdb69ec Added new curve path segment variables.
--HG--
branch : develop
2016-04-02 00:15:04 +03:00
Roman Telezhynskyi
d1480132a0 Don't separate data about spline and arc length and angles.
--HG--
branch : develop
2016-04-01 22:34:57 +03:00
Roman Telezhynskyi
bb29984b4a Cut tools do not create subcurves anymore.
--HG--
branch : develop
2016-04-01 17:32:36 +03:00
Roman Telezhynskyi
9a6a5be59d No need anymore to disable the drawing of the selection border.
--HG--
branch : feature
2016-03-31 20:27:40 +03:00
Roman Telezhynskyi
9f5fd98865 Fixed tools Spline and Spline Path. For their work need section by mouse press
event, all other better work with mouse release event.

--HG--
branch : feature
2016-03-31 20:10:20 +03:00
Roman Telezhynskyi
351f01e0e3 Disable hover and selection when work with a tool.
--HG--
branch : feature
2016-03-31 17:01:41 +03:00
Roman Telezhynskyi
254ccf8f52 Toggle ScrollHandDrag mode by clicking a middle mouse button.
--HG--
branch : develop
2016-03-30 11:51:09 +03:00
Roman Telezhynskyi
77c09063ff Added horizontal scrolling by pressiong Shift + mouse wheel.
--HG--
branch : develop
2016-03-30 11:25:13 +03:00
Roman Telezhynskyi
e52fb734f0 Changed default layout settings.
--HG--
branch : develop
2016-03-28 17:19:29 +03:00
Roman Telezhynskyi
7328b207b7 The program crashed because of empty global contour.
--HG--
branch : develop
2016-03-28 17:18:38 +03:00
Roman Telezhynskyi
0d4c6c2208 By default user can select only labels by rubber band.
--HG--
branch : develop
2016-03-28 17:10:19 +03:00
Roman Telezhynskyi
2339a95585 Fixed broken redo/undo command moving of a label.
--HG--
branch : develop
2016-03-28 15:49:35 +03:00
Roman Telezhynskyi
0c9b8453bf Optimization. No need to refresh a pattern when move a label.
--HG--
branch : develop
2016-03-28 12:21:24 +03:00
Roman Telezhynskyi
2e83967caf The layout generator optimization. Let QPainterPath check intersections.
--HG--
branch : develop
2016-03-28 11:53:02 +03:00
Roman Telezhynskyi
dd586bf01e Little optimization for the layout generator.
--HG--
branch : develop
2016-03-28 11:22:15 +03:00
Roman Telezhynskyi
09d2b96e73 Endge of empty sheet shouldn't depend on shift value.
--HG--
branch : develop
2016-03-27 22:53:41 +03:00
Roman Telezhynskyi
a2aaf0ccff GCC warnings.
--HG--
branch : develop
2016-03-27 19:35:55 +03:00
Roman Telezhynskyi
c4ca41aa83 Fixed issue #463. Wrong export to DXF format.
(grafted from a2df4c627d50fcd0225cc63d924c065063af326f)

--HG--
branch : develop
2016-03-27 19:00:08 +03:00
Roman Telezhynskyi
0325e0a441 Changed code tree structure for visualization classes.
--HG--
branch : develop
2016-03-24 16:49:15 +02:00
Roman Telezhynskyi
70fd0be830 Use Q_REQUIRED_RESULT where it make sense.
--HG--
branch : develop
2016-03-23 17:27:17 +02:00
Roman Telezhynskyi
be7277eeba Refactoring. Use more safe function VFuzzyComparePossibleNulls.
--HG--
branch : develop
2016-03-23 16:09:30 +02:00
Valentina Zhuravska
fc27fa7fef Created a custom type imageExtension
--HG--
branch : feature
2016-03-23 14:32:15 +02:00
Roman Telezhynskyi
38dac0ada5 Small refactoring. Use M_2PI(2*pi), M_PI_2 (pi/2) and M_PI_4(pi/4) where
possible.

--HG--
branch : develop
2016-03-23 13:52:55 +02:00
Roman Telezhynskyi
910dadc871 New test. Check if epsilon value in method GetParmT() is enough for calculation.
--HG--
branch : develop
2016-03-23 13:23:03 +02:00
Roman Telezhynskyi
ff667c8602 The tool Detail now supports Cubic Bezier Path curve.
--HG--
branch : develop
2016-03-22 17:33:05 +02:00
Roman Telezhynskyi
4c1c0d4d0a Fixed empty point label in SplinePath name.
--HG--
branch : develop
2016-03-22 17:25:16 +02:00
Roman Telezhynskyi
2e0bf11261 The tool Cut Spline now supports Cubic Bezier Path curve.
--HG--
branch : develop
2016-03-22 17:14:53 +02:00
Valentina Zhuravska
1d959cb747 Now we can use PNG, JPG, JPEG and BMP images
--HG--
branch : feature
2016-03-22 12:18:05 +02:00
Roman Telezhynskyi
baddba9e43 Resolved issue #366. Update 'Point from Distance and Angle' tool to read
distance and angle between points.

--HG--
branch : develop
2016-03-19 17:45:57 +02:00
Roman Telezhynskyi
bd783d4df1 Check if next id is not bigger than UINT_MAX.
--HG--
branch : develop
2016-03-19 16:54:27 +02:00
Roman Telezhynskyi
02cb84c4a1 Show list of points from the begin of the list.
--HG--
branch : feature
2016-03-19 16:29:26 +02:00
Roman Telezhynskyi
505cec891d Several bug fixes.
--HG--
branch : feature
2016-03-19 16:20:09 +02:00
Roman Telezhynskyi
19265e1f93 Succesful build.
--HG--
branch : feature
2016-03-18 23:11:14 +02:00
Roman Telezhynskyi
ca020c4c7f Improved visualization for tool Cubic Bezier.
--HG--
branch : feature
2016-03-18 12:28:28 +02:00
Roman Telezhynskyi
56496aaa59 Refactoring. More switch tests. Added tool button for tool Cubic bezier path.
--HG--
branch : feature
2016-03-17 20:12:48 +02:00
Roman Telezhynskyi
037e91484a For tool Cubic Bezier curve show connection to control points.
--HG--
branch : feature
2016-03-17 16:26:25 +02:00
Roman Telezhynskyi
2c4312046c New classes VAbstractCubicBezierPath and VCubicBezierPath.
--HG--
branch : feature
2016-03-16 20:07:50 +02:00
Roman Telezhynskyi
c5c3862bfc More human readable angle of line.
--HG--
branch : develop
2016-03-16 14:09:56 +02:00
Valentina Zhuravska
d2e0c7822f Added delete button
--HG--
branch : feature
2016-03-15 20:32:52 +02:00
Roman Telezhynskyi
f5c5995117 Fixed issue with deleting detail nodes.
(grafted from dc69de0a2dd73ae3cbbc6ce6b7007407540e4c4c)

--HG--
branch : develop
2016-03-15 17:38:36 +02:00
Roman Telezhynskyi
ba5ac8a04b Fixed issue #458. Issue with segment of curve.
(grafted from 4d70b5b863bcad171e8185265cdcf4e177c5c90d)

--HG--
branch : develop
2016-03-15 17:38:07 +02:00
Roman Telezhynskyi
4a9302ee4e For modeling no need to seek parent tool id.
(grafted from b84438717fd8436e747b3982461cee3c4124d935)

--HG--
branch : develop
2016-03-15 17:32:12 +02:00
Roman Telezhynskyi
a56c3354e1 Better way to seek value of t.
--HG--
branch : develop
2016-03-15 17:31:58 +02:00
Valentina Zhuravska
ae66acd4d6 Fixed schema version
--HG--
branch : feature
2016-03-13 21:13:58 +02:00
Roman Telezhynskyi
5befd6770b Use new connect syntax everywhere where is possible.
--HG--
branch : develop
2016-03-13 15:02:11 +02:00
Roman Telezhynskyi
55400c5a73 Fixed disappearing curve if start and finish points of a segment are equal.
(grafted from 36e5071fc3f50bb7f5261d48dae2a2fe961993a2)

--HG--
branch : develop
2016-03-10 20:18:26 +02:00
Roman Telezhynskyi
2d69e1a46f The tool Detail now supports Cubic Bezier curve.
--HG--
branch : feature
2016-03-10 19:08:37 +02:00
Roman Telezhynskyi
2548697a9e The tool Cut Spline now supports Cubic Bezier curve.
--HG--
branch : feature
2016-03-10 18:09:38 +02:00
Roman Telezhynskyi
53250a4dc4 Simple curve which uses point as control handle.
--HG--
branch : feature
2016-03-10 15:55:04 +02:00
Roman Telezhynskyi
f37b3361b2 Merge with develop.
--HG--
branch : feature
2016-03-10 09:42:51 +02:00
Roman Telezhynskyi
7ec2e6d988 Fixed bug case where an open equidistant point is too far from a main path.
(grafted from cd63aeaa6228a84e977e06e9d006705103eb6c35)

--HG--
branch : develop
2016-03-10 09:42:09 +02:00
Valentina Zhuravska
821bafbdee Now we can add image to file.val
--HG--
branch : feature
2016-03-09 21:01:37 +02:00
Valentina Zhuravska
ab78ee2550 Fixed build on Win7
--HG--
branch : feature
2016-03-09 20:59:08 +02:00
Roman Telezhynskyi
c93dd1a69f Merge with develop.
--HG--
branch : feature
2016-03-09 10:15:45 +02:00
Roman Telezhynskyi
c65a320c45 Added new language Portuguese (Brazil).
--HG--
branch : develop
2016-03-08 20:27:25 +02:00
Roman Telezhynskyi
d72ea565cb Fixed wrong handling with true darts points inside tool detail.
(grafted from c84b1a66716faa7e171e5acb2824a7fb5702dd27)

--HG--
branch : develop
2016-03-08 19:49:16 +02:00
Roman Telezhynskyi
1395e39c39 New classes VCubicBezier and VAbstractCubicBezier.
--HG--
branch : feature
2016-03-08 19:48:10 +02:00
Roman Telezhynskyi
5be84df289 The file stable.cpp is useful only with MSVC.
--HG--
branch : develop
2016-03-06 21:21:21 +02:00
Roman Telezhynskyi
dc162f5085 Fixed build problem on Win7
(grafted from 4d6b1388a31f2f0092699ea73ac5a8de3ec97b18)

--HG--
branch : develop
2016-03-06 14:03:22 +02:00
Roman Telezhynskyi
fe220f6305 Removed tag "zorder".
--HG--
branch : develop
2016-03-05 23:11:02 +02:00
Roman Telezhynskyi
f53fe379c6 Movable spline path.
--HG--
branch : feature
2016-03-05 23:06:54 +02:00
Roman Telezhynskyi
2b3c13eb1d Write warnings to log file.
--HG--
branch : feature
2016-03-05 18:31:16 +02:00
Roman Telezhynskyi
2e6be9119c Fixed crash.
--HG--
branch : feature
2016-03-05 18:30:45 +02:00
Roman Telezhynskyi
504a334717 The method FormulaFromUser throw an exception. In many places we don't catch the
exception and i think this is wrong. New method TryFormulaFromUser was
introduced for fixing situation.

--HG--
branch : feature
2016-03-05 17:27:07 +02:00
Roman Telezhynskyi
b12ede529f Fixed bug with wrong last spline path angle.
--HG--
branch : feature
2016-03-05 15:37:47 +02:00
Roman Telezhynskyi
e120fc1d0a Calculate a formula immediately.
--HG--
branch : feature
2016-03-05 15:22:24 +02:00
Roman Telezhynskyi
e948a0ba27 Refactoring ValFormulaChanged. Continue fix bugs in the dialog spline path.
--HG--
branch : feature
2016-03-05 14:30:18 +02:00
Roman Telezhynskyi
40436a5c57 Successfull build, bugs was not fixed.
--HG--
branch : feature
2016-03-04 18:08:29 +02:00
Roman Telezhynskyi
018fd88f25 GCC warnings. Fixed broken tests.
--HG--
branch : develop
2016-02-28 22:00:45 +02:00
Roman Telezhynskyi
33b6256896 Merge with feature. A simple curve controled by formulas.
--HG--
branch : develop
2016-02-28 21:49:52 +02:00
Valentina Zhuravska
564da52eb1 Changed <../vmisc/vabstractapplication.h> to "../vmisc/vabstractapplication.h"
--HG--
branch : feature
2016-02-28 21:43:23 +02:00
Valentina Zhuravska
771a72711c We don't need to use qApp->fromPixel for angles
--HG--
branch : feature
2016-02-28 21:37:30 +02:00
Valentina Zhuravska
e8bf8a80e3 Changed QString("%1").arg() to QString().number() in VArc
--HG--
branch : feature
2016-02-28 21:24:56 +02:00
Valentina Zhuravska
088f0a6987 Changed QString("%1").arg() to QString().number() in VEllipticalArc
--HG--
branch : feature
2016-02-28 21:20:33 +02:00
Valentina Zhuravska
3d628d815b Fixed merge conflicts
--HG--
branch : feature
2016-02-27 16:53:17 +02:00
Roman Telezhynskyi
8d628404df Curve factor was removed.
--HG--
branch : feature
2016-02-27 16:49:10 +02:00
Valentina Zhuravska
39b404673d Merge with develop
--HG--
branch : feature
2016-02-27 16:20:40 +02:00
Roman Telezhynskyi
a2561bc7da Updated property dialog for tool Spline.
--HG--
branch : feature
2016-02-27 12:28:15 +02:00
Roman Telezhynskyi
53cb607f34 Block moving a control point if a formula was used.
--HG--
branch : feature
2016-02-27 10:29:32 +02:00
Valentina Zhuravska
cafd3ee583 Added CutArc in VEllipticalArc
--HG--
branch : feature
2016-02-26 21:30:20 +02:00
Valentina Zhuravska
22a3e9d1a0 Little fixes in VEllipticalArc
--HG--
branch : feature
2016-02-26 21:27:55 +02:00
Roman Telezhynskyi
679f90d627 Block moving a spline by dragging if a formula was used.
--HG--
branch : feature
2016-02-26 19:44:51 +02:00
Roman Telezhynskyi
773383ec70 Fixed moving a spline by dragging.
--HG--
branch : feature
2016-02-26 19:19:30 +02:00
Roman Telezhynskyi
a9112a29cb Create, save, open and edit simple curve by dialog. Editing by mouse still not
prepared.

--HG--
branch : feature
2016-02-26 16:38:42 +02:00
Roman Telezhynskyi
4eca4f97c6 Fixed issue "Warning: Z-order assignment: '' is not a valid widget."
--HG--
branch : feature
2016-02-25 21:40:39 +02:00
Roman Telezhynskyi
9b02bde691 Release a dialog size for deploying a formula field.
--HG--
branch : feature
2016-02-25 21:39:21 +02:00
Roman Telezhynskyi
990c03c697 Updated dialog for the tool Spline.
--HG--
branch : feature
2016-02-25 21:23:16 +02:00
Roman Telezhynskyi
9219b05a5b Fixed broken formula when for system locale thousand separator is space.
--HG--
branch : feature
2016-02-25 21:21:48 +02:00
Roman Telezhynskyi
f2ee4cfd35 Class VSpline now can be controlled by formulas.
--HG--
branch : feature
2016-02-24 21:47:39 +02:00
Valentina Zhuravska
389504b548 Fixed GetPoints in VEllipticalArc
--HG--
branch : feature
2016-02-24 17:34:33 +02:00
Valentina Zhuravska
06637f2103 Added FindF2 in VEllipticalArc
--HG--
branch : feature
2016-02-24 17:34:03 +02:00
Roman Telezhynskyi
335a4db2d1 For vlayout library enable speed optimizations.
--HG--
branch : develop
2016-02-23 14:30:56 +02:00
Roman Telezhynskyi
595e5b0bf5 Resolved issue #306. Layout generator optimization. Divide into strips.
--HG--
branch : develop
2016-02-23 14:13:10 +02:00
Roman Telezhynskyi
fcd254f08c Fixed bug disabling tool True darts.
(grafted from 8c5aeccb775c10068c8f20a881994b3b4fac808a)

--HG--
branch : develop
2016-02-22 11:38:18 +02:00
Roman Telezhynskyi
7d991584fb Fixed wrong calulation tool True darts.
--HG--
branch : develop
2016-02-22 11:02:24 +02:00
Roman Telezhynskyi
c3db8bab68 For avoiding errors in future better seek the first tag draw and insert before
it.

--HG--
branch : develop
2016-02-20 10:05:18 +02:00
Roman Telezhynskyi
936a7fef07 Fixed issue #405. Crash after deleting first pattern piece in the list.
--HG--
branch : develop
2016-02-19 16:34:32 +02:00
Valentina Zhuravska
da2c6d3242 Fixed GetPoints function in VEllipticalArc
--HG--
branch : feature
2016-02-19 11:47:42 +02:00
Valentina Zhuravska
03086c946e Fixed GetPoint function in VEllipticalArc
--HG--
branch : feature
2016-02-19 11:47:22 +02:00
Valentina Zhuravska
6fc86543ec Little fixes
--HG--
branch : feature
2016-02-19 11:43:46 +02:00
Roman Telezhynskyi
04ae26d1bd Regesign dialogs tool 'Spline' and 'Spline Path' for avoiding text squeeze.
--HG--
branch : develop
2016-02-16 18:08:51 +02:00
Roman Telezhynskyi
0ea99175b4 New VAL pattern format version that supports attribute 'duplicate'.
--HG--
branch : feature
2016-02-16 15:38:08 +02:00
Roman Telezhynskyi
0846d3c282 Read and save a spline path attribute 'duplicate'.
--HG--
branch : feature
2016-02-16 15:37:01 +02:00
Roman Telezhynskyi
c80fe9c61b Show name in a property browser.
--HG--
branch : feature
2016-02-16 15:04:21 +02:00
Roman Telezhynskyi
c36f1eb8ef Working with Spline Path.
--HG--
branch : feature
2016-02-16 14:00:56 +02:00
Roman Telezhynskyi
be3fc296f4 Untested changes for the tool Spline.
--HG--
branch : feature
2016-02-15 16:30:48 +02:00
Roman Telezhynskyi
f264206aab Refactoring DialogSpline.
--HG--
branch : feature
2016-02-15 11:02:55 +02:00
Roman Telezhynskyi
35b9dea4b2 Fixes creating spline path.
--HG--
branch : feature
2016-02-13 23:39:47 +02:00
Roman Telezhynskyi
b124b8402e The control point should be on some distance before we will begin count this
distance.

--HG--
branch : feature
2016-02-13 18:30:21 +02:00
Roman Telezhynskyi
e68c64e8f1 Implementation for tool Spline path.
--HG--
branch : feature
2016-02-13 18:24:32 +02:00
Valentina Zhuravska
37eb0e9e21 Fixed GetLength and changed the rotation of point
--HG--
branch : feature
2016-02-12 22:02:54 +02:00
Roman Telezhynskyi
0405a54bf8 Removed unused QGraphicsLineItem item.
--HG--
branch : feature
2016-02-12 21:43:33 +02:00
Roman Telezhynskyi
1924b30f6f Don't show control points if too close to start and end points.
--HG--
branch : feature
2016-02-12 20:32:31 +02:00
Roman Telezhynskyi
6dd26ddd73 Refactoring. Use qFuzzyIsNull.
--HG--
branch : feature
2016-02-12 20:31:08 +02:00
Valentina Zhuravska
560a3dc1d1 Added rotation of points
--HG--
branch : feature
2016-02-12 20:19:46 +02:00
Valentina Zhuravska
894ad4ea66 Fixed GetLength method in VEllipticalArc
--HG--
branch : feature
2016-02-12 20:17:55 +02:00
Roman Telezhynskyi
0f747ede7e The first implementation for tool Spline.
--HG--
branch : feature
2016-02-12 20:10:01 +02:00
Roman Telezhynskyi
791d874c9a Little refactoring.
--HG--
branch : feature
2016-02-12 15:49:59 +02:00
Roman Telezhynskyi
8683b69f13 Select an item inside mousePressEvent() instead mouseReleaseEvent().
--HG--
branch : feature
2016-02-11 13:05:08 +02:00
Roman Telezhynskyi
623c28eb9f Fixed getting correct reversed segment for single in the list curve.
(grafted from c45cc62df72241692b4bf035f779a34add622b37)

--HG--
branch : develop
2016-02-10 21:39:26 +02:00
Roman Telezhynskyi
44aac2179b Fixed triggering validation a detail.
Two new cases: has been changed Reverse option and the list
has been scrolled. Fixed validation when the list conatains only curve.
(grafted from 87af46985d0867d550605810c5c5a9c2c72f4a0b)

--HG--
branch : develop
2016-02-10 21:39:20 +02:00
Roman Telezhynskyi
aa67e04a3e Improved exporting to dxf. QPainterPath export as Polyline.
--HG--
branch : develop
2016-02-10 19:32:26 +02:00
Roman Telezhynskyi
85f5df4b21 Removing objects before each FullParse. NodeArc, NodeSpline, NodeSplinePath are
not part of a scene anymore.

--HG--
branch : develop
2016-02-10 18:45:49 +02:00
Roman Telezhynskyi
9eac04654c Refactoring. Always use AddTool method.
--HG--
branch : develop
2016-02-10 12:13:34 +02:00
Valentina Zhuravska
c587826a56 Added VEllipticalArc
--HG--
branch : feature
2016-02-10 06:59:29 +02:00
Roman Telezhynskyi
61adfbaef5 Handle all tools when creating the history records.
--HG--
branch : develop
2016-02-09 17:26:59 +02:00
Roman Telezhynskyi
6b4b79a1b5 Little fix tools visuzlization.
(grafted from 7ef2dcf85f7b9da986105ad524382ba47efb177f)

--HG--
branch : develop
2016-02-09 17:19:25 +02:00
Roman Telezhynskyi
7deed94604 Fixed broken path to measurements after using Save As option.
(grafted from 2e63a19d717ad4ef5d6f38da7ed3b1ed6d7311a6)

--HG--
branch : develop
2016-02-09 17:19:19 +02:00
Roman Telezhynskyi
aa64076a36 Tool line. Block selecting the same point twice.
(grafted from 0029c3e3b5ae45d21f834f0d36023d8ef9734345)

--HG--
branch : develop
2016-02-09 17:19:14 +02:00
Roman Telezhynskyi
863b62cd6e Resolved issue #443. Not valid dxf file.
- libdxf updated to version 3.12.2.0.
- Fixed wrong pen width.
- Fixed drawPath() method. Drawing subpaths.
(grafted from f587dae3fa6cd75f987f54aa282caf73225da8fe)

--HG--
branch : develop
2016-02-09 17:19:07 +02:00
Roman Telezhynskyi
fb6e3b29ff Updated the tool "Point of intersection curves" to new correct way work with
references.

--HG--
branch : develop
2016-02-02 15:50:15 +02:00
Roman Telezhynskyi
233415bc67 Fixed combobox width in Dialog "Tool True Dart point".
(grafted from 969110d32207c05d2ce53d6446d2e9835e3b1b67)

--HG--
branch : develop
2016-02-02 15:38:37 +02:00
Roman Telezhynskyi
78799d3d83 Resolved issue #441. Broken reference incrementation for tool "True Dart point".
(grafted from 0c13c14f9829e53dbbbe850053947b646bd800bd)

--HG--
branch : develop
2016-02-02 15:38:30 +02:00
Roman Telezhynskyi
9e9689e16a Resolved issue #439. Widen Formula Dialog.
(grafted from 5a638f3f6092284070e985b98debbd155a48d96d)

--HG--
branch : develop
2016-02-01 21:16:53 +02:00
Roman Telezhynskyi
a8f97c8fdb Fixed broken tool dialogs "Intersection arcs" and "Point from arc and tangent".
(grafted from 68d37d7921c6ad9e0d99e6593df27dacba7f6465)

--HG--
branch : develop
2016-02-01 21:16:32 +02:00
Roman Telezhynskyi
46b9fe65e6 Fixed issue #442. 'Broken Formula' error when using Intersect Circles tool.
(grafted from cd5fd09824ab95db402d187bc296ac126922cdea)

--HG--
branch : develop
2016-02-01 21:16:23 +02:00
Roman Telezhynskyi
c1fecafda9 Refactoring.
--HG--
branch : feature
2016-01-25 19:10:39 +02:00
Roman Telezhynskyi
d86c79f290 Unit test. Check VToolPointOfIntersectionCurves::FindPoint() method.
--HG--
branch : feature
2016-01-25 19:06:36 +02:00
Roman Telezhynskyi
2069713ff6 Fixed bugs.
--HG--
branch : feature
2016-01-25 16:46:24 +02:00
Roman Telezhynskyi
387c33e9e0 Refactoring. Smooth scrolling.
--HG--
branch : feature
2016-01-25 15:49:37 +02:00
Roman Telezhynskyi
ea0000fea6 First successful build. Tool working was not tested!
--HG--
branch : feature
2016-01-24 18:15:08 +02:00
Roman Telezhynskyi
8b050eee31 Resolved issue #265. Add 'Read only' attribute.
--HG--
branch : develop
2016-01-22 12:45:18 +02:00
Roman Telezhynskyi
e000486633 Fixed broken tests.
--HG--
branch : develop
2016-01-21 17:20:47 +02:00
Roman Telezhynskyi
f0d4aaf1fb Added language Chinese (China).
--HG--
branch : develop
2016-01-21 17:14:47 +02:00
Roman Telezhynskyi
d466e53e5d Fixed typos.
(grafted from 5212bd0c72b44da2d16dab9e1592c2843ab0ff1e)

--HG--
branch : develop
2016-01-21 16:21:58 +02:00
Roman Telezhynskyi
be8503664f Fixed issue #325. Check pattern for inverse compatibility.
--HG--
branch : develop
2016-01-19 17:25:46 +02:00
Roman Telezhynskyi
7982e48e4e If item's rect is bigger than view's rect ensureVisible works very unstable.
(grafted from d807a6fc7a9c1abc588dfda621ac7b70f90b401b)

--HG--
branch : develop
2016-01-15 14:57:47 +02:00
Roman Telezhynskyi
aadac5772d Showing/hiding control points require recalculation scene size.
(grafted from 6f9642ea3c32ce5a333fa85339fd761aa992acc6)

--HG--
branch : develop
2016-01-15 14:57:41 +02:00
Roman Telezhynskyi
3026f9dfc6 Call ensureVisible() only in mouseMoveEvent() method. Alwayse update size of
scene.
(grafted from a080e8c10e0817579d802539e4ef30b4b51f43a8)

--HG--
branch : develop
2016-01-15 14:57:23 +02:00
Roman Telezhynskyi
5517b96613 Ensure cursor visibility when move curve.
(grafted from e7cbd25ec5f67ef9b413244b32a543b2a2a0603f)

--HG--
branch : develop
2016-01-15 14:57:09 +02:00
Roman Telezhynskyi
6a28f464b9 Fix recalculation the scene when move detail.
(grafted from 2a58800bc48bc82057c7bec08d007eb133849b5b)

--HG--
branch : develop
2016-01-15 14:56:33 +02:00
Roman Telezhynskyi
73f0f4ca58 Show scene origins.
--HG--
branch : develop
2016-01-15 14:55:56 +02:00
Roman Telezhynskyi
e1f3456027 Begin developing new version 0.5.0.
--HG--
branch : develop
2016-01-14 11:55:14 +02:00
Roman Telezhynskyi
8745a78c67 Calculate items bounding rect without hidden items.
--HG--
branch : develop
2016-01-13 15:47:38 +02:00
Roman Telezhinskyi
62b47197f7 Merged in ValentinaZhuravska/valentina/feature (pull request #92)
Retranslate

--HG--
branch : develop
2016-01-11 15:16:57 +02:00
Roman Telezhynskyi
6be6eb80b0 Parse expression also in the attribute radius.
--HG--
branch : develop
2016-01-11 13:28:48 +02:00
Roman Telezhynskyi
4977604106 Correct disabling line to the label.
--HG--
branch : develop
2016-01-11 13:24:37 +02:00
Roman Telezhynskyi
ac5c8d8201 Do not remove a loop created by intersection point when it is the first or
the last point of lines that intersect.

--HG--
branch : develop
2016-01-10 21:41:46 +02:00
Roman Telezhynskyi
3d6f8e0caa Brush detail.
--HG--
branch : develop
2016-01-10 15:31:43 +02:00
Roman Telezhynskyi
c2976614ba Correct removing loop if a path contains them several. Seek and remove the last.
In this way we will correct remove them all.

--HG--
branch : develop
2016-01-09 23:53:17 +02:00
Roman Telezhynskyi
b9f8e19236 Test issue with method IsPointOnLineSegment.
--HG--
branch : develop
2016-01-09 11:42:06 +02:00
Roman Telezhynskyi
1c92165467 Have found case where the program returns wrong curve segment.
--HG--
branch : develop
2016-01-08 17:59:51 +02:00
Roman Telezhynskyi
45454a8955 Fix tool UnionDetails. Always left last poit of detail, save children ids,
save in correct section.

--HG--
branch : develop
2016-01-07 18:43:08 +02:00
Valentina Zhuravska
31aee635e4 Little optimization: change 'cansel' to 'cancel'
--HG--
branch : feature
2016-01-06 08:05:41 +02:00
Roman Telezhynskyi
65bf17fcf9 Fixed broken feature 'Default height and size'.
--HG--
branch : develop
2016-01-03 15:21:30 +02:00
Benjamin Nauck
6ffa9d0055 Move set attribute to vabstractapplication
--HG--
branch : feature
2016-01-02 17:06:19 +01:00
Benjamin Nauck
4bc766295e Add @2x versions of toolbar tab icons (excluding detail and layout)
--HG--
branch : feature
2016-01-02 02:45:29 +01:00
Valentina Zhuravska
9fd6f18426 Resolved issue #423. Deny moving several labels at one time.
--HG--
branch : feature
2015-12-28 10:00:10 +02:00
Roman Telezhynskyi
37e799ce71 Fixed issue with deleting detail (after union details) and blocked objects.
--HG--
branch : feature
2015-12-26 19:10:02 +02:00
Roman Telezhynskyi
1aa2263686 Improved question message.
--HG--
branch : feature
2015-12-26 18:01:32 +02:00
Roman Telezhynskyi
a11b3c3203 Check if setted detail is valid.
--HG--
branch : feature
2015-12-26 15:18:58 +02:00
Roman Telezhynskyi
00b8aae5a7 Fixed issue with deleting detail and blocked objects. Part about tool union
still is not fixed.

--HG--
branch : feature
2015-12-26 15:08:41 +02:00
Roman Telezhynskyi
d227ce68c2 Show dialog "Fix broken formula" only in GUI mode.
--HG--
branch : develop
2015-12-22 20:12:09 +02:00
Valentina Zhuravska
1dce05b239 Show openHand cursor only if we can move the detail
--HG--
branch : feature
2015-12-20 21:55:27 +02:00
Valentina Zhuravska
73c544c45d Resolved issue #271. Deny move workpieces when tool union is active.
--HG--
branch : feature
2015-12-20 21:53:59 +02:00
Valentina Zhuravska
fd658631b3 We don't need to move nodePoints
--HG--
branch : feature
2015-12-20 21:51:14 +02:00
Roman Telezhynskyi
95772bf0db Fixed "Build failed".
--HG--
branch : develop
2015-12-19 22:15:42 +02:00
Roman Telezhynskyi
40bf125fdf Resolved issue #422. Date of birth: German data format.
--HG--
branch : develop
2015-12-19 21:26:05 +02:00
Roman Telezhynskyi
a0b785ffd8 Resolved issue #402. After Crash .val is empty.
--HG--
branch : develop
2015-12-19 21:02:38 +02:00
Roman Telezhynskyi
90dac31a2e Discard vmargins.h. Build backport files if only need.
--HG--
branch : develop
2015-12-19 16:38:24 +02:00
Roman Telezhynskyi
b2ec130d7e Fixed issue #167. Window modified indication disappears even we have unsaved
change.

--HG--
branch : develop
2015-12-18 13:57:03 +02:00
Roman Telezhynskyi
3beb8a8b7c Refactoring. Smooth scrolling.
--HG--
branch : develop
2015-12-17 21:13:07 +02:00
Roman Telezhynskyi
949f4be2c6 Merge.
--HG--
branch : develop
2015-12-17 13:13:11 +02:00
Roman Telezhynskyi
4bdb788c50 New tests of localizations. Lupdate.
--HG--
branch : develop
2015-12-17 12:52:10 +02:00
Valentina Zhuravska
550816a958 Resolved issue #270. Selection point by clicking on label in tools seam allowance and union.
--HG--
branch : feature
2015-12-17 12:03:44 +02:00
Roman Telezhynskyi
717772c339 Main workpiece's path also can contains loops. This cause wrong seam allowances.
--HG--
branch : develop
2015-12-15 13:16:37 +02:00
Roman Telezhynskyi
812c09ba83 Removed '...' from localization.
--HG--
branch : develop
2015-12-14 09:42:09 +02:00
Roman Telezhynskyi
90bdb6b561 XSD validation base height and size values.
--HG--
branch : develop
2015-12-12 17:35:57 +02:00
Roman Telezhynskyi
e8a93ddc2b New setting "Default height and size".
--HG--
branch : develop
2015-12-12 13:11:39 +02:00
Roman Telezhynskyi
3aa1ccaea4 Optimization. Call creation toolbar only if was not uploaded any measurements.
--HG--
branch : develop
2015-12-11 17:06:20 +02:00
Roman Telezhynskyi
f600a00db8 Merge
--HG--
branch : develop
2015-12-11 16:23:20 +02:00
Roman Telezhinskyi
eb69008e07 Merged in ValentinaZhuravska/valentina/feature (pull request #83)
Fixed issue #415.

--HG--
branch : develop
2015-12-11 16:22:52 +02:00
Valentina Zhuravska
10c0ad2c5c Define class VGraphicsSimpleTextItem instead of #include "../vwidgets/vgraphicssimpletextitem.h"
--HG--
branch : feature
2015-12-11 16:20:32 +02:00
Roman Telezhynskyi
93a52bd889 Allow user to set default size and height for a pattern.
--HG--
branch : develop
2015-12-11 16:19:11 +02:00
Valentina Zhuravska
5a22c6baf6 Use SCASSERT for point, namePoint and lineName
--HG--
branch : feature
2015-12-11 15:07:05 +02:00
Valentina Zhuravska
a1417fc127 We don't need to change pen inside RefreshLine method
--HG--
branch : feature
2015-12-11 13:35:48 +02:00
Valentina Zhuravska
0869c7fed4 We don't need to change the radius, so we can make it const
--HG--
branch : feature
2015-12-11 11:33:12 +02:00
Valentina Zhuravska
ece2c42e5f We need one method RefreshLine in VAbstractTool instead of two similar methods in VNodePoint and VToolSinglePoint
--HG--
branch : feature
2015-12-11 11:31:21 +02:00
Roman Telezhynskyi
da827ad952 QComboBox clear button in property browser.
--HG--
branch : develop
2015-12-09 13:13:34 +02:00
Roman Telezhynskyi
6f1dcb7592 Resolved build issue on OpenSuse. The method setClearButtonEnable is available
only since Qt 5.2.

--HG--
branch : develop
2015-12-09 12:40:43 +02:00
Roman Telezhynskyi
589bf173ae Improved calculation arc points.
--HG--
branch : develop
2015-12-07 23:33:11 +02:00
Valentina Zhuravska
d057d336f7 Fixed issue #415. Line appears between the point and mark in the detail mode
--HG--
branch : feature
2015-12-07 07:48:51 +02:00
Roman Telezhinskyi
b5dfbae5a1 Merged in ValentinaZhuravska/valentina/feature (pull request #82)
Resolved Issue #272.

--HG--
branch : develop
2015-12-06 18:45:46 +02:00
Valentina Zhuravska
178419742a Added hoverMoveEvent. The cursor should not be changed to arrow until we leave the detail area
--HG--
branch : feature
2015-12-06 18:20:37 +02:00
Roman Telezhynskyi
a820b20fc2 The program crashes if scene is not connected to view.
--HG--
branch : develop
2015-12-05 18:27:38 +02:00
Roman Telezhynskyi
e781b8252d Cut less scene rect size for showing axis.
--HG--
branch : develop
2015-12-04 22:21:07 +02:00
Roman Telezhynskyi
6de8a44314 Try to fix flowing of drawing.
--HG--
branch : develop
2015-12-04 21:49:00 +02:00
Roman Telezhynskyi
dc25101d78 Refactoring. Call parent's method.
--HG--
branch : develop
2015-12-04 21:47:44 +02:00
Roman Telezhynskyi
2b0e358cdd Saving position of the base point should be handled in ItemPositionChange
section.

--HG--
branch : develop
2015-12-04 21:46:52 +02:00
Roman Telezhynskyi
6d566c2715 Make fictive scene bigger in all cases.
--HG--
branch : develop
2015-12-04 10:04:43 +02:00
Roman Telezhynskyi
ae43c66bd9 Fixed issue #412. Error in Detail using 'Segment a Simple Curve' tool.
--HG--
branch : develop
2015-12-03 21:56:40 +02:00
Roman Telezhynskyi
b431f65ff2 Fixed issue #411. Curve Tool handles detach from curve.
--HG--
branch : develop
2015-12-03 19:50:42 +02:00
Roman Telezhynskyi
ced638a782 Support a proxy icon on Mac OS.
--HG--
branch : develop
2015-12-03 14:07:51 +02:00
Valentina Zhuravska
dfa46dc1cd Added mousePressEvent and changed QApplication::setOverrideCursor to SetOverrideCursor
--HG--
branch : feature
2015-12-02 23:07:23 +02:00
Valentina Zhuravska
75a4acaea7 Resolved Issue #272. Show that user can move workpiece.
--HG--
branch : feature
2015-12-02 21:33:42 +02:00
Roman Telezhynskyi
6cd674ec0f QGraphicsView Zooming in and out under mouse position using mouse wheel finally
works like i want.

--HG--
branch : develop
2015-12-02 20:39:25 +02:00
Roman Telezhynskyi
cf4e313862 Optimization dialogs for Mac OS.
--HG--
branch : develop
2015-12-01 20:12:40 +02:00
Roman Telezhynskyi
477a95798a Optimization line color combobox for Mac.
--HG--
branch : develop
2015-12-01 17:13:57 +02:00
Roman Telezhynskyi
d24390bd98 Set of fixes for better look on Mac OS X.
--HG--
branch : develop
2015-12-01 16:38:09 +02:00
Roman Telezhynskyi
85bb6141ab Clang warnings.
--HG--
branch : develop
2015-11-30 12:55:39 +02:00
Roman Telezhinskyi
3dc675e0ce Merged in ValentinaZhuravska/valentina/feature (pull request #81)
Resolved issue #80.

--HG--
branch : develop
2015-11-29 16:43:59 +02:00
Valentina Zhuravska
f91fbaaa01 We need do set decimals before we set value
--HG--
branch : feature
2015-11-29 16:42:39 +02:00
Valentina Zhuravska
cd15fd711e Resolved issue #80. Choice between inches and centimeters in options
--HG--
branch : feature
2015-11-28 22:48:43 +02:00
Roman Telezhynskyi
70cc2b6f95 QDebugStateSaver available only since Qt 5.1.
--HG--
branch : develop
2015-11-28 12:36:54 +02:00
Roman Telezhynskyi
b6506b2cae Wrong defining QLoggingCategory.
--HG--
branch : develop
2015-11-27 14:04:23 +02:00
Roman Telezhynskyi
f0691d7c9f Mark implicitly shared classes as a movable type. This can improve performance
and memory efficiency when using Qt's container classes.

--HG--
branch : develop
2015-11-25 20:56:17 +02:00
Roman Telezhynskyi
783e3d57c2 Support QGraphicsView autoscroll of a draged object.
--HG--
branch : develop
2015-11-25 19:26:37 +02:00
Roman Telezhynskyi
36704cd02e Invisible "VSimpleCurve" causes exponential growth scene size, and it causes
the program crash. Because we don't need anymore this calss i just have removed
it.

--HG--
branch : develop
2015-11-25 15:45:38 +02:00
Valentina Zhuravska
d575ad5ad3 Return false if we have less than 3 points
--HG--
branch : feature
2015-11-22 16:58:58 +02:00
Valentina Zhuravska
3e9793dbbb We don't need variable points in method Square
--HG--
branch : feature
2015-11-22 16:47:50 +02:00
Valentina Zhuravska
6c653163f9 Erased QString(" ")
--HG--
branch : feature
2015-11-22 16:36:55 +02:00
Valentina Zhuravska
d679187f15 Fixed SumTrapezoids method
--HG--
branch : feature
2015-11-22 15:58:31 +02:00
Valentina Zhuravska
40ef4732ca Changed SumTrapezoids method to static
--HG--
branch : feature
2015-11-22 03:01:56 +02:00
Valentina Zhuravska
e8deb4b29c The user must select points in a clockwise direction
--HG--
branch : feature
2015-11-22 01:52:18 +02:00
Roman Telezhynskyi
e38dc9d866 For avoiding error "dyld: Library not loaded" in Mac OS X we should create app
bundle for Tape. I think if create bundle then make it full, not half made.
The bundle also will be very usefull for testing Tape in Mac and in case if
someone will want to use Tape like independent application. The main bundle
still will have Tape inside.

--HG--
branch : develop
2015-11-18 14:42:25 +02:00
Roman Telezhynskyi
0473db2947 Load also qtbase_*.qm files.
--HG--
branch : develop
2015-11-17 16:27:51 +02:00
Roman Telezhynskyi
cdec047f58 Very often case in Mac OS is to have translations inside an app bundle. And
searching these files require iterate through subdirectories.

--HG--
branch : develop
2015-11-17 16:20:36 +02:00
Roman Telezhynskyi
ab526a54b4 New icon in the icon theme 'help-about'.
--HG--
branch : develop
2015-11-17 12:45:22 +02:00
Roman Telezhynskyi
7ef98c3c4b Fixed building on Linux.
--HG--
branch : develop
2015-11-17 12:17:53 +02:00
Roman Telezhynskyi
e31a6eb841 Merge
--HG--
branch : develop
2015-11-16 22:04:56 +02:00
Valentina Zhuravska
fe23631251 Changed pixmap and icon to const, removed setTextFormat
--HG--
branch : feature
2015-11-16 17:54:45 +02:00
Valentina Zhuravska
e0237e901f Added help label to detail mode
--HG--
branch : feature
2015-11-16 17:34:16 +02:00
Roman Telezhynskyi
3347d0ad77 Clang warnings.
--HG--
branch : develop
2015-11-16 14:08:15 +02:00
Roman Telezhynskyi
96b2d644e1 Fixed broken compatible with higher Qt versions.
--HG--
branch : develop
2015-11-16 14:07:28 +02:00
Roman Telezhynskyi
5eed97c640 Enable #pragma message in Clang.
--HG--
branch : develop
2015-11-16 12:28:21 +02:00
Roman Telezhynskyi
7038c25c39 Turn on PCH on mac os x.
--HG--
branch : develop
2015-11-16 12:22:34 +02:00
Roman Telezhynskyi
d118ccb218 Fix for calculating more accurate unclosed seam allowance.
--HG--
branch : develop
2015-11-15 20:49:16 +02:00
Roman Telezhynskyi
7027198f2a Resolved issue #400. Layout 'fold line' is incorrect.
--HG--
branch : develop
2015-11-15 19:06:25 +02:00
Roman Telezhynskyi
af74da95af Corrected measurement N04 (rise_length_side_sitting) short description.
--HG--
branch : develop
2015-11-15 17:57:59 +02:00
Valentina Zhuravska
d253db879f ScrollUp and scrollDown is enabled if we have more than 1 objects in a detail
--HG--
branch : feature
2015-11-13 15:23:56 +02:00
Valentina Zhuravska
13ff0d7973 Removed unwanted strings
--HG--
branch : feature
2015-11-13 14:54:26 +02:00
Valentina Zhuravska
b9deb50c1b Fixed toolTips of scrollUp and scrollDown buttons
--HG--
branch : feature
2015-11-13 14:04:51 +02:00
Valentina Zhuravska
ef1fff7a22 Resolved Issue #329. Add button to 'Scroll Up/Scroll Down' in Detail mode
--HG--
branch : feature
2015-11-13 12:31:10 +02:00
Roman Telezhynskyi
c3e87b4ffc File index.theme. Fixed wrong name of the category.
--HG--
branch : develop
2015-11-12 14:18:56 +02:00
Thies Schröder
823090718b fix build on mac os
--HG--
branch : develop
2015-11-11 21:16:58 +01:00
Roman Telezhinskyi
ae1195df21 Merged in ValentinaZhuravska/valentina/feature (pull request #73)
Fixed problems in DialogDetail

--HG--
branch : develop
2015-11-11 21:50:54 +02:00
Valentina Zhuravska
c6577675e7 Changed some methods to be const
--HG--
branch : feature
2015-11-11 21:46:36 +02:00
Roman Telezhynskyi
67c2de94f7 Fixed infinite loop.
--HG--
branch : develop
2015-11-11 20:53:23 +02:00
Roman Telezhynskyi
22bc725230 Replace measurement "size" on equvivalent "bust_arc_f".
--HG--
branch : develop
2015-11-11 20:52:38 +02:00
Roman Telezhynskyi
4e21bf05e0 Don't show section "Size and Height".
--HG--
branch : develop
2015-11-11 20:52:25 +02:00
Valentina Zhuravska
e323afc4e6 Fixed DetailIsValid() method
--HG--
branch : feature
2015-11-11 19:38:21 +02:00
Roman Telezhynskyi
833c507148 New measurement (N08) rise_length_side.
--HG--
branch : feature
2015-11-11 16:26:48 +02:00
Roman Telezhynskyi
fa822dda24 (N04) 'rise_length_side' renamed to 'rise_length_side_sitting'.
--HG--
branch : feature
2015-11-11 14:37:32 +02:00
Roman Telezhynskyi
e286ae8476 New measurements: (H41) neck_back_to_across_back, (H42) across_back_to_waist_b,
​(L22) arm_neck_side_to_outer_elbow, (G46) hip_circ_with_abdomen.

--HG--
branch : feature
2015-11-11 14:23:39 +02:00
Roman Telezhynskyi
0bfd673ab8 Fixed conversion measurements.
--HG--
branch : feature
2015-11-11 12:15:42 +02:00
Valentina Zhuravska
d27a64b819 Delete the last point from detail when the first point equals the last point
--HG--
branch : feature
2015-11-10 11:58:33 +02:00
Valentina Zhuravska
4c41e04d49 Can not add one point to detail twice
--HG--
branch : feature
2015-11-10 10:07:40 +02:00
Roman Telezhynskyi
9545db280d Test that all command line option names are unique.
--HG--
branch : develop
2015-11-09 20:02:38 +02:00
Roman Telezhynskyi
9327da7a2c Calculate correct paper size. Print preview doesn't support non native
printers.

--HG--
branch : feature
2015-11-09 13:58:45 +02:00
Roman Telezhynskyi
4411cccd9c First draft of the issue #313. Layout pieces too close to right edge.
--HG--
branch : feature
2015-11-09 13:33:36 +02:00
Roman Telezhynskyi
912d1f91f6 Disable changing window size only after first show.
--HG--
branch : develop
2015-11-05 15:01:33 +02:00
Roman Telezhynskyi
7f065cac89 GCC warnings.
--HG--
branch : develop
2015-11-05 14:32:47 +02:00
Roman Telezhynskyi
2e49d1437a For avoiding losing precision use double everywhere.
--HG--
branch : develop
2015-11-05 13:07:51 +02:00
Roman Telezhynskyi
6b54c5bb7d Set default printing color mode.
Known issue: program doesn't print in grayscale color mode.

--HG--
branch : develop
2015-11-04 17:22:49 +02:00
Roman Telezhynskyi
a342948437 Improved loging. Base point's DeleteTool should ignore value "_referens".
--HG--
branch : develop
2015-11-03 17:11:35 +02:00
Roman Telezhynskyi
31ee872a1d Refactoring exceptions.
--HG--
branch : develop
2015-11-02 19:02:41 +02:00
Roman Telezhynskyi
345b0e5c7f Fixed crash after undo creating a pattern piece.
--HG--
branch : develop
2015-11-02 18:25:29 +02:00
Roman Telezhynskyi
9aa8713203 Refactoring.
--HG--
branch : develop
2015-10-31 14:56:28 +02:00
Roman Telezhynskyi
f52d609b9c Refactoring. Test functions RelativeMPath and AbsoluteMPath.
--HG--
branch : develop
2015-10-31 14:41:52 +02:00
Roman Telezhynskyi
82190e2917 Refactoring. StrippedName() doesn't belong to MainWindows.
--HG--
branch : develop
2015-10-31 10:46:45 +02:00
Roman Telezhynskyi
9ffeeec298 Three new languages: English (Canada), English (India), Romanian (Romania).
--HG--
branch : develop
2015-10-30 12:44:10 +02:00
Roman Telezhynskyi
cb8bc39e8c Resolved issue #380.
--HG--
branch : develop
2015-10-29 18:20:59 +02:00
Roman Telezhynskyi
a4bc4a75c0 Integrate QmuParserTests in main testing set.
--HG--
branch : develop
2015-10-28 19:57:34 +02:00
Roman Telezhynskyi
ba89a2856d Better don't touch stack.
--HG--
branch : develop
2015-10-28 18:37:36 +02:00
Roman Telezhynskyi
84f1c4e10f Recognize Intel compiler and return version string.
--HG--
branch : develop
2015-10-28 17:00:59 +02:00
Roman Telezhynskyi
4a0e2dee00 Optimized access to QVector.
--HG--
branch : develop
2015-10-28 16:26:58 +02:00
Roman Telezhynskyi
95ef34bf72 Removed wrong key.
--HG--
branch : develop
2015-10-28 16:24:28 +02:00
Roman Telezhynskyi
88324a11f2 Static Code Analysis.
--HG--
branch : develop
2015-10-28 16:22:36 +02:00
Roman Telezhynskyi
ff31ac889c After last redesign measurements order comments became useless.
--HG--
branch : develop
2015-10-27 08:32:34 +02:00
Roman Telezhynskyi
2b8fb91d17 Fixed missing measurement head_girth -> head_circ in conversion.
--HG--
branch : develop
2015-10-27 08:11:41 +02:00
Roman Telezhynskyi
d104b8bd7e Additionaly each standard table provide measurements size and height.
--HG--
branch : develop
2015-10-26 17:39:23 +02:00
Roman Telezhynskyi
28f5188a92 Remove minus "-" from the list of measurements.
--HG--
branch : develop
2015-10-26 16:46:07 +02:00
Roman Telezhynskyi
caa1a46b01 New option Measurements->Unload measurements.
--HG--
branch : develop
2015-10-26 13:21:49 +02:00
Roman Telezhynskyi
f1796eaf90 GCC warnings. Don't use PCH if use ccache.
--HG--
branch : develop
2015-10-26 12:04:20 +02:00
Roman Telezhynskyi
d1f18dc9a0 Use quint32 instead unsigned int.
--HG--
branch : develop
2015-10-26 10:36:07 +02:00
Roman Telezhynskyi
1e99d00a54 Hide lock file.
--HG--
branch : develop
2015-10-26 09:57:20 +02:00
Roman Telezhynskyi
b516ceb8e1 "CONFIG += silent" doesn't work correct with msvc. Do not create target
"make distclean" with msvc.

--HG--
branch : develop
2015-10-24 14:13:59 +03:00
Roman Telezhynskyi
d6653ca9af Successful build with MSVC 2012.
--HG--
branch : develop
2015-10-23 20:47:33 +03:00
Roman Telezhynskyi
44edb90967 Changed version to 0.4.0b. Fixed file assosiation on Windows Vista and higher.
--HG--
branch : develop
2015-10-22 17:35:54 +03:00
Valentina Zhuravska
dd9fecb89f Added Q_CC_MSVC
--HG--
branch : feature
2015-10-22 15:16:15 +03:00
Valentina Zhuravska
36f0e1dc44 Fixed MSVC build
--HG--
branch : feature
2015-10-22 12:28:17 +03:00
Valentina Zhuravska
38541c78c9 Fixed MSVC build (C2143, missing ';' before 'type')
--HG--
branch : feature
2015-10-21 17:13:16 +03:00
Valentina Zhuravska
b877c49f61 Fixed MSVC build (access the not operator)
--HG--
branch : feature
2015-10-21 16:17:05 +03:00
Roman Telezhynskyi
69f65cf4e7 ICC warnings.
--HG--
branch : develop
2015-10-21 10:25:27 +03:00
Roman Telezhynskyi
467ffbd132 ICC warnings.
--HG--
branch : develop
2015-10-20 17:32:01 +03:00
Roman Telezhynskyi
a21e037de8 GCC/Clang warnings.
--HG--
branch : develop
2015-10-19 23:08:20 +03:00
Roman Telezhynskyi
047f53e2ec Clang Static Analyzer warnings.
--HG--
branch : develop
2015-10-19 22:33:20 +03:00
Roman Telezhynskyi
4d90589f01 Clang warnings.
--HG--
branch : develop
2015-10-19 16:21:06 +03:00
Roman Telezhynskyi
03b6ce08cc Coverity scan.
--HG--
branch : develop
2015-10-19 09:10:39 +03:00
Roman Telezhynskyi
65d2213ef9 Coverity scan missing includes.
--HG--
branch : develop
2015-10-18 22:30:51 +03:00
Valentina Zhuravska
9be90e75db Fixed synchronization (correct path to Valentina settings)
--HG--
branch : feature
2015-10-18 16:17:56 +03:00
Valentina Zhuravska
251cd94407 Fixed synchronization (correct path to Valentina settings)
--HG--
branch : feature
2015-10-18 16:13:51 +03:00
Valentina Zhuravska
fd12524011 Fixed synchronization
--HG--
branch : feature
2015-10-18 15:38:05 +03:00
Valentina Zhuravska
d146d381e8 Save valentina.exe Path Preferences to a file accessible by tape.exe without commonSettings
--HG--
branch : feature
2015-10-18 14:51:14 +03:00
Valentina Zhuravska
e16943cfa2 Resolved issue #388. Add field for measurement template directory in Valentina.exe, 'File', 'Preferences', 'Paths'
--HG--
branch : feature
2015-10-18 13:01:38 +03:00
Valentina Zhuravska
de12c77aa4 Resolved issue #354. Save valentina.exe Path Preferences to a file accessible by tape.exe
--HG--
branch : feature
2015-10-18 12:56:47 +03:00
Roman Telezhynskyi
0862ce75cc Fixed Windows build.
--HG--
branch : develop
2015-10-18 10:50:33 +03:00
Roman Telezhynskyi
6ee987947c Tests that helps to check that all current pattern making systems match pattern
inside XSD scheme.

--HG--
branch : develop
2015-10-17 11:32:54 +03:00
Roman Telezhynskyi
a6dedb814a We can't use tr() macros, but macros translate() need context in the first
parameter.

--HG--
branch : develop
2015-10-16 23:00:05 +03:00
Roman Telezhynskyi
ff768c1c0f Show pattern making system in tab Information of a measurement file.
--HG--
branch : develop
2015-10-16 20:26:05 +03:00
Roman Telezhynskyi
3358f9dbc7 Resolved issue #382. Add 'Create from existing file' option in Tape,
Create/Edit.

--HG--
branch : develop
2015-10-15 15:37:10 +03:00
Roman Telezhynskyi
1e05300ae1 Add method for check that formula contain inside only single value.
--HG--
branch : develop
2015-10-15 13:41:42 +03:00
Roman Telezhynskyi
5cd9a88761 Making class Calculator independent from class VContainer.
--HG--
branch : develop
2015-10-15 13:07:43 +03:00
Roman Telezhynskyi
4fbae45406 Return list of all variables.
--HG--
branch : develop
2015-10-15 12:49:15 +03:00
Roman Telezhynskyi
bdb3bf9050 Fixed height formula field.
--HG--
branch : develop
2015-10-15 12:39:09 +03:00
Roman Telezhynskyi
8066d880c9 Lupdate. Fixed lupdate warnings.
--HG--
branch : develop
2015-10-15 12:32:50 +03:00
Roman Telezhynskyi
6006bca7ba Birth date can't be empty.
--HG--
branch : develop
2015-10-15 08:04:23 +03:00
Roman Telezhynskyi
8388529ad6 Forgot to set aliases.
--HG--
branch : develop
2015-10-14 14:39:44 +03:00
Roman Telezhynskyi
6bdd2c808e Missed icons.
--HG--
branch : develop
2015-10-14 13:49:20 +03:00
Roman Telezhynskyi
6ec1826fbd Popup calendar.
--HG--
branch : develop
2015-10-13 16:38:07 +03:00
Roman Telezhynskyi
c9ff24dd79 Resolved issue #378. Change 'sex' field name to 'gender'.
--HG--
branch : develop
2015-10-13 11:13:43 +03:00
Roman Telezhynskyi
1ba9855d22 Resolved issue #377. Add blank option for 'sex' field in Tape.exe.
--HG--
branch : develop
2015-10-12 20:06:12 +03:00
Roman Telezhynskyi
68eb410082 Updated portuguese alphabet.
--HG--
branch : develop
2015-10-12 18:28:38 +03:00
Roman Telezhynskyi
3b4c4e8261 Resolved issue #376. Add buttons in Tape.exe to move measurement to top or
bottom of list.

--HG--
branch : develop
2015-10-12 17:57:11 +03:00
Roman Telezhynskyi
c2e563a65c variable scope.
--HG--
branch : develop
2015-10-12 16:26:42 +03:00
Roman Telezhynskyi
86982d3d0a Localize parser error messages.
--HG--
branch : develop
2015-10-12 15:25:44 +03:00
Roman Telezhynskyi
be398bae93 cppcheck.
--HG--
branch : develop
2015-10-12 14:52:48 +03:00
Roman Telezhynskyi
97fdd161b7 Optimization copying files.
--HG--
branch : develop
2015-10-11 20:27:47 +03:00
Roman Telezhynskyi
2c042b82ae stable.cpp only need by MSVC.
--HG--
branch : develop
2015-10-11 13:15:08 +03:00
Roman Telezhynskyi
a4b2bb905f Fixed crash on Windows.
--HG--
branch : develop
2015-10-11 12:06:14 +03:00
Valentina Zhuravska
b46e384ca7 Fixed warnings in Windows
--HG--
branch : develop
2015-10-10 04:49:10 +03:00
Roman Telezhynskyi
c1976401a0 Use CONFIG += silent in release mode.
--HG--
branch : develop
2015-10-09 20:22:49 +03:00
Roman Telezhynskyi
e6e8a7ff6d Fix for build on drone.io.
--HG--
branch : develop
2015-10-09 12:50:37 +03:00
Roman Telezhynskyi
026804bc37 Fix for build on drone.io.
--HG--
branch : develop
2015-10-08 21:11:50 +03:00
Roman Telezhynskyi
7676959bdb Fix for build on drone.io.
--HG--
branch : develop
2015-10-08 20:07:48 +03:00
Roman Telezhynskyi
4121dc7689 Fix for build on drone.io.
--HG--
branch : develop
2015-10-08 19:57:50 +03:00
Roman Telezhynskyi
c630b2e0fc Fix for build on drone.io.
--HG--
branch : develop
2015-10-08 19:27:39 +03:00
Roman Telezhynskyi
259f1e1de0 Define macros tr() for reducing code complexity.
--HG--
branch : develop
2015-10-08 08:24:15 +03:00
Roman Telezhynskyi
7daec88f6e Fixed system p25 description.
--HG--
branch : develop
2015-10-07 22:22:44 +03:00
Roman Telezhynskyi
94f86f136e New pattern making system 'None' with code p998.
--HG--
branch : develop
2015-10-07 20:57:18 +03:00
Roman Telezhynskyi
8df6014412 Fixed typos.
--HG--
branch : develop
2015-10-07 19:45:01 +03:00
Roman Telezhynskyi
defbdb8e9c New keys "gsize" and "gheight".
--HG--
branch : develop
2015-10-07 18:28:51 +03:00
Roman Telezhynskyi
8aea332cda Remember cursor position and return focus to the formula field.
--HG--
branch : develop
2015-10-05 17:12:36 +03:00
Roman Telezhynskyi
55421d196b Correct maximum size formula field.
--HG--
branch : develop
2015-10-05 17:07:53 +03:00
Roman Telezhynskyi
7a95b52cd0 Enable debug information Valentina and Tape from one place.
--HG--
branch : develop
2015-10-03 17:03:25 +03:00
Roman Telezhynskyi
5d118c61ea Code style.
--HG--
branch : develop
2015-10-03 17:01:27 +03:00
Roman Telezhynskyi
ed156d3d57 Testing Tape.exe. More test cases.
--HG--
branch : develop
2015-10-03 14:09:06 +03:00
Roman Telezhynskyi
bdfae8230d Check if we seek in a measurement file an empty name.
--HG--
branch : develop
2015-10-03 01:49:15 +03:00
Roman Telezhynskyi
f607e37168 Fixed crash.
--HG--
branch : develop
2015-10-03 01:38:50 +03:00
Roman Telezhynskyi
c65f554a8d Fixed GCC warnings.
--HG--
branch : develop
2015-10-02 08:37:31 +03:00
Roman Telezhynskyi
ad7928248c Merge
--HG--
branch : develop
2015-10-02 08:01:48 +03:00
Valentina Zhuravska
0b16f5acf0 Fixed "comparing floating point with == is unsafe"
--HG--
branch : feature
2015-10-02 05:46:10 +03:00
Valentina Zhuravska
55ab727d78 Correct structure members initialization
--HG--
branch : feature
2015-10-02 04:07:07 +03:00
Roman Telezhynskyi
655a297f73 Test "Converting old individual format to new version".
--HG--
branch : develop
2015-10-01 20:19:19 +03:00
Roman Telezhynskyi
019642e70a Avoid duplicated QStringLiterals.
--HG--
branch : develop
2015-10-01 19:43:41 +03:00
Valentina Zhuravska
c298be342d Q_DISABLE_COPY instead copy constructor
--HG--
branch : feature
2015-10-01 18:48:25 +03:00
Roman Telezhynskyi
06a54ba40c Use qUtf8Printable.
--HG--
branch : develop
2015-10-01 18:34:03 +03:00
Roman Telezhynskyi
0b57b8821a Show error message box only through message handler.
--HG--
branch : develop
2015-10-01 17:59:01 +03:00
Valentina Zhuravska
15834562af Fixed warnings in Linux
--HG--
branch : feature
2015-10-01 05:05:21 +03:00
Valentina Zhuravska
92a7f21621 Fixed warnings in Linux
1. fixed old-style cast
2. correct order of variables

--HG--
branch : feature
2015-09-30 21:10:13 +03:00
Valentina Zhuravska
1eaf5055a7 Fixed warnings in Linux (correct order of variables)
--HG--
branch : feature
2015-09-30 21:06:31 +03:00
Valentina Zhuravska
418a7ab57f Fixed warnings in Linux (default statement in switch case)
--HG--
branch : feature
2015-09-30 21:00:58 +03:00
Valentina Zhuravska
c3fef2abd7 Fixed warnings in Linux (old-style cast)
--HG--
branch : feature
2015-09-30 20:57:50 +03:00
Valentina Zhuravska
80d35507ca Fixed warnings in Linux
1. correct structure members initialization
2. struct has pointer data members but has no copy constructor

--HG--
branch : feature
2015-09-30 20:49:02 +03:00
Valentina Zhuravska
139027926e Fixed warnings in Linux (correct structure members initialization)
--HG--
branch : feature
2015-09-30 19:59:12 +03:00
Valentina Zhuravska
637baaeabb Fixed warnings in Linux (_MSC_VER)
--HG--
branch : feature
2015-09-30 18:10:42 +03:00
Roman Telezhynskyi
da05f74468 Do not create attributes "full name" and "description" for a known measurement.
--HG--
branch : develop
2015-09-29 18:52:30 +03:00
Roman Telezhynskyi
2e344b27b0 Fix for searching the folder 'templates'.
--HG--
branch : develop
2015-09-29 17:13:29 +03:00
Roman Telezhynskyi
bf2db165da Fixed translation.
--HG--
branch : develop
2015-09-29 17:04:24 +03:00
Roman Telezhynskyi
31af1687a6 Improve handling error messages in console mode.
--HG--
branch : develop
2015-09-28 21:54:41 +03:00
Roman Telezhynskyi
d90d24ca61 Check if all defined known measurements in a file are valid.
--HG--
branch : develop
2015-09-22 17:41:05 +03:00
Roman Telezhynskyi
ed373cf6c1 Define "tr" makes code more compact.
--HG--
branch : feature
2015-09-22 16:11:20 +03:00
Roman Telezhynskyi
4f296d46d7 Updated diagrams.
--HG--
branch : feature
2015-09-22 12:11:52 +03:00
Roman Telezhynskyi
055f80ccd5 Updated the measurement numbers.
--HG--
branch : feature
2015-09-21 17:50:50 +03:00
Roman Telezhynskyi
2299054ae6 Updated the long descriptions.
--HG--
branch : feature
2015-09-20 21:08:10 +03:00
Roman Telezhynskyi
4e3197d3d6 Updated the descriptions.
--HG--
branch : feature
2015-09-20 17:54:55 +03:00
Roman Telezhynskyi
141a3a8a05 shoulder_width_f -> shoulder_tip_to_shoulder_tip_f
--HG--
branch : feature
2015-09-20 14:11:06 +03:00
Roman Telezhynskyi
7d72d2d579 shoulder_width_b -> shoulder_tip_to_shoulder_tip_b
--HG--
branch : feature
2015-09-20 13:58:26 +03:00
Roman Telezhynskyi
5a66e753e9 neck_side_to_waist_bladepoint_b -> neck_side_to_waist_scapula_b
--HG--
branch : feature
2015-09-20 13:53:27 +03:00
Roman Telezhynskyi
f444aebc2d Code style.
--HG--
branch : feature
2015-09-20 13:44:59 +03:00
Roman Telezhynskyi
e0cad4e732 Fix for support win64.
--HG--
branch : develop
2015-09-20 13:20:21 +03:00
Roman Telezhynskyi
305818bd8e Merge
--HG--
branch : develop
2015-09-20 13:12:15 +03:00
Roman Telezhynskyi
b5c6bf8260 Command option for setting a locale.
--HG--
branch : develop
2015-09-19 22:58:32 +03:00
Valentina Zhuravska
4423d6b937 Fixed build problem on Windows
--HG--
branch : develop
2015-09-18 23:38:11 +03:00
Roman Telezhynskyi
ad28a200f7 Removed unused variable.
--HG--
branch : develop
2015-09-16 11:03:33 +03:00
Roman Telezhynskyi
f2a111f0d2 Show popup message "Measurements was updated". Fixed path to measurements when
sync.

--HG--
branch : develop
2015-09-16 11:03:15 +03:00
Roman Telezhynskyi
e75951eb8e Validate unique increment name.
--HG--
branch : develop
2015-09-16 09:14:00 +03:00
Roman Telezhynskyi
2e2a6e8f5c Validate unique measurement name.
--HG--
branch : develop
2015-09-16 09:04:43 +03:00
Roman Telezhynskyi
f722964c11 Add increment's formula to the export list.
--HG--
branch : develop
2015-09-16 08:16:27 +03:00
Roman Telezhynskyi
8dc048a47b Fixed typo in measurement name.
--HG--
branch : develop
2015-09-15 15:34:20 +03:00
Roman Telezhynskyi
cf0d1981ca Moved lock-guarding abilities to separated template class.
Changed application/mainwindow to use it. Most likelly mainwindow may be
upgraded more, since lock can hold and manage memory for complex object
like QFile, also it can have stored deallocator for the object
(lambdas), so this is effectively should simple code, when you have
allocation and freening resources declared on the same screen.

--HG--
branch : develop
2015-09-14 14:53:49 +03:00
Roman Telezhynskyi
48d4ed5905 More pretty looking macros.
--HG--
branch : develop
2015-09-14 10:30:14 +03:00
Roman Telezhynskyi
7e2082fc0a Portable DebugBreak().
--HG--
branch : develop
2015-09-13 15:00:33 +03:00