Commit Graph

2835 Commits

Author SHA1 Message Date
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
750fe98ea4 Following "Clean all/qmake/Build all" did not refresh all data properly.
QM files inside /share/translations/ were not cleaned after call clean all.

--HG--
branch : develop
2016-06-28 22:08:58 +03: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
Valentina Zhuravska
15145fd10a Added tests for VToolLineIntersectAxis::FindPoint and VToolTriangle::FindPoint.
--HG--
branch : feature
2016-06-28 05:13:26 +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
ba98e64217 These files also were broken by pngcrush.
--HG--
branch : develop
2016-06-27 19:01:31 +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
1a218b5edb Set cell with icon in table non-editable.
--HG--
branch : develop
2016-06-26 15:45:31 +03:00
Roman Telezhynskyi
e0c22b6809 Detect when group name in the list was changed.
--HG--
branch : develop
2016-06-26 15:42:54 +03: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
7450ddf790 Set the item non-editable (view only), and non-selectable
--HG--
branch : feature
2016-06-26 14:38:44 +03:00
Roman Telezhynskyi
1608599795 Added list "Details in layout".
--HG--
branch : feature
2016-06-26 14:36:12 +03:00
Roman Telezhynskyi
93836ddf35 Refactoring MainWindowsNoGUI::PrepareDetailsForLayout. Use const iterator.
--HG--
branch : feature
2016-06-26 14:33:34 +03:00
BojanKverh
21debaf249 Reimplemented QTextGraphicsItem class
--HG--
branch : feature
2016-06-25 17:19:44 +02:00
Roman Telezhynskyi
39c84aa2c2 Refactoring. Use C++11 lambdas.
--HG--
branch : feature
2016-06-25 17:16:20 +03:00
Roman Telezhynskyi
31ed3d526c Fixed code style.
--HG--
branch : feature
2016-06-25 16:17:50 +03: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
Bojan Kverh
cef47f89fc Merged develop into feature
--HG--
branch : feature
2016-06-23 19:36:00 +02: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
Roman Telezhynskyi
10d29af2a2 Refactoring, removed unused code.
--HG--
branch : develop
2016-06-22 21:09:00 +03:00
Roman Telezhynskyi
94a2de1f75 Fixed error in Tape app.
Editing values of standard table was incorrect.

--HG--
branch : develop
2016-06-22 21:07:06 +03:00
Roman Telezhynskyi
decb74f99e Fixed not enought decimals.
--HG--
branch : develop
2016-06-22 19:56:44 +03:00
Roman Telezhynskyi
d57cddd84b Fixed issue #497. Printed document size as info.
--HG--
branch : develop
2016-06-22 16:23:05 +03:00
Roman Telezhynskyi
8a02129e24 Fixed path to Inno Setup.
--HG--
branch : develop
2016-06-22 14:10:40 +03: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
aaab56fe00 Fixed typos.
--HG--
branch : develop
2016-06-21 16:04:24 +03: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
Roman Telezhynskyi
2d25702c97 Restore correct pattern piece if no details were found for switching to Detail
mode.

--HG--
branch : develop
2016-06-21 14:58:43 +03:00
Roman Telezhynskyi
8c63b44e65 Fixed bug editing height increase value.
--HG--
branch : develop
2016-06-21 14:13:14 +03:00
Roman Telezhynskyi
b7d62d3dbe Set single step depend on measurement unit.
--HG--
branch : develop
2016-06-21 13:53:33 +03:00
BojanKverh
c05c51e078 Finished the detail dialog
--HG--
branch : feature
2016-06-21 00:49:22 +02:00
Roman Telezhynskyi
ed6c72bda9 Fixed Tape crash.
(grafted from 47b3aaf84786a338bc7c31284bef0bd5017a0c67)

--HG--
branch : develop
2016-06-19 20:31:24 +03: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
Roman Telezhynskyi
458d7be6b2 Show appropriate button text when file is read only.
--HG--
branch : develop
2016-06-18 18:09:18 +03:00
Roman Telezhynskyi
174b1fbfd6 Fixed issue #514. Read only setting not working properly.
--HG--
branch : develop
2016-06-18 17:37:06 +03: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
d4abab1029 Explorer on Mac OS X has own name Finder.
--HG--
branch : develop
2016-06-18 16:09:04 +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
c3ddf18063 Fixed broken path to vit file.
--HG--
branch : develop
2016-06-17 16:18:44 +03:00
Roman Telezhynskyi
76d1c02423 Call details context menu through label.
--HG--
branch : develop
2016-06-17 16:13:49 +03:00
Roman Telezhynskyi
2744f89ff3 Fix broken test.
--HG--
branch : develop
2016-06-17 16:03:52 +03:00
Roman Telezhynskyi
0be2cd2b17 Close #513. Trousers pattern.
The pattern added to collection.

--HG--
branch : develop
2016-06-17 15:54:37 +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
4bf082bbe5 Fixed failed tests.
--HG--
branch : develop
2016-06-16 18:06:07 +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
Holger Pandel
80f396d636 Merge with develop
--HG--
branch : feature
2016-06-13 12:47:27 +02:00
Holger Pandel
1d87a046f0 Changed the way the setup compiler exe is searched for.
--HG--
branch : feature
2016-06-13 12:37:44 +02:00
Valentina Zhuravska
45f9737fba Used Lambda expressions for slots in TMainWindow and DialogIncrements.
--HG--
branch : develop
2016-06-11 19:50:20 +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
24a7294a38 Made the preferences dialog in Tape look a bit better with resizeable left column
--HG--
branch : feature
2016-06-10 21:57:47 +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
74d47b5a4f Resolved issue #505. New installer script based on Inno Setup 5.
--HG--
branch : feature
2016-06-10 16:56:35 +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
BojanKverh
98b232930f Fixed issue #479. Improve feature: The Preferences dialog box should be expandable.
--HG--
branch : feature
2016-06-09 13:16:04 +02:00
Roman Telezhynskyi
8f46a9666a Fixed issue #501. Rename Window->Close Window to Window->Close pattern.
(grafted from 3831b343e88f7b875ba191f467a056a247d50db2)

--HG--
branch : develop
2016-06-07 11:51:41 +03:00
Valentina Zhuravska
20ffdc607d Tape 'Save As' should save a file without read only state.
--HG--
branch : develop
2016-06-06 21:27:38 +03:00
Valentina Zhuravska
9b48867ee6 Merged dismine/valentina into develop
--HG--
branch : develop
2016-06-06 01:29:54 +03:00
Roman Telezhynskyi
17bc0c3ff0 New test case. Male shirt.
--HG--
branch : develop
2016-06-05 16:54:39 +03:00
Valentina Zhuravska
0b36836f00 Fixed issue #468. Tape 'Save As' should set 'Read Only' to false.
--HG--
branch : develop
2016-06-05 05:45:50 +03:00
Roman Telezhynskyi
805e04ace6 Scale page rect according to printer's dpi. Issue #494.
--HG--
branch : develop
2016-06-02 21:28:44 +03:00
Roman Telezhynskyi
c36f19aba9 According to documentation "The origin of the QPainter's coordinate system will
coincide with the top-left corner of the page rectangle, and painting operations
will be clipped to the bounds of the drawable part of the page".

--HG--
branch : develop
2016-06-02 21:00:23 +03:00
Roman Telezhynskyi
342095408a Show message "Pages will be cropped because they do not fit printer paper size."
--HG--
branch : develop
2016-06-02 16:51:37 +03:00
Roman Telezhynskyi
6c6edf3728 Second try. Issue #494.
--HG--
branch : develop
2016-06-02 13:25:34 +03: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
Valentina Zhuravska
096976b682 Better to use ifndef Q_OS_WIN.
--HG--
branch : feature
2016-06-01 21:59:34 +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
Valentina Zhuravska
12ae761527 Merge with develop
--HG--
branch : feature
2016-06-01 20:44:50 +03:00
Valentina Zhuravska
bcdedaf659 Fixed TST_VMeasurements tests in Windows.
--HG--
branch : feature
2016-06-01 20:14:42 +03:00
Roman Telezhynskyi
282a5da24a Show menu "Export to CSV" in Mac OS X.
--HG--
branch : develop
2016-06-01 19:58:46 +03:00
Valentina Zhuravska
8c5f14937d Fixed TST_VPoster::BigPoster test in Windows.
--HG--
branch : feature
2016-06-01 17:40:01 +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
8e3f3a4cd8 Fixed crash with dialog History.
--HG--
branch : develop
2016-05-28 13:16:27 +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
6b8e354661 Click on VSimpleCurve did not call a visualization.
--HG--
branch : develop
2016-05-25 11:46:57 +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
b7b1ea3db7 Hide an error message "setGeometryDp: Unable to set geometry" for release
builds.

--HG--
branch : develop
2016-05-24 13:06:51 +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
823b29d907 Fixed issue #492. Valentina crashes when add an increment.
(grafted from 5d4057b6c1b14fbc6f8ff2be39c2066a14412d4e)

--HG--
branch : develop
2016-05-23 21:16:43 +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
Valentina Zhuravska
db014092a3 Fixed TST_ValentinaCommandLine tests in Windows.
--HG--
branch : feature
2016-05-19 15:22:27 +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
Valentina Zhuravska
fbd5203491 Fixed TST_Misc tests in Windows.
--HG--
branch : feature
2016-05-19 14:56:35 +03:00
Roman Telezhynskyi
60ad8d2fd1 Fixed test. Wrong conversion to QPointF.
--HG--
branch : feature
2016-05-19 13:16:33 +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
efb852a63e Call the property browser to update state each time a user call undo/redo
command.

--HG--
branch : feature
2016-05-18 19:34:34 +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
e5a84ccd14 Fixed issue #488. Error: Measurements File Sync dialog box never returns. Win10,
MSVC.

--HG--
branch : develop
2016-05-08 19:25:51 +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
637ca7015e Unit test for the issue #485.
--HG--
branch : develop
2016-05-07 16:14:43 +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
288b8dbca6 Merge.
--HG--
branch : develop
2016-05-07 11:55:49 +03:00
Roman Telezhynskyi
384d85dfae Fixed build with MSVC.
--HG--
branch : develop
2016-05-06 19:32:35 +03:00
Valentina Zhuravska
3914f11bab Resolved issue #435. Valentina doesn't change the cursor
--HG--
branch : develop
2016-05-05 18:01:05 +03:00
Roman Telezhynskyi
5f7c250415 Qt's but QTBUG-42846 "QNSView mouseDragged: Internal mouse button tracking
invalid (missing Qt::LeftButton)" was fixed. No need to hide the warning message
anymore.

--HG--
branch : develop
2016-05-04 16:40:15 +03:00
Roman Telezhynskyi
a3b95f5927 Merged in curious_one/valentina (pull request #114)
Made compilable with msvc by adding compiler directive where necessary...

--HG--
branch : develop
2016-05-04 15:30:09 +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
Valentina Zhuravska
cd9c6c99ae Resolved issue #473. Tape 'Preferences' cause loss of focus
--HG--
branch : develop
2016-05-03 23:16:57 +03:00
Roman Telezhynskyi
cc84b6e7d6 Fix problem with updating localization.
--HG--
branch : develop
2016-05-03 20:13:17 +03:00
Roman Telezhynskyi
6f56b46d26 Fixed Clang warnings.
--HG--
branch : develop
2016-05-03 19:50:37 +03:00
Roman Telezhynskyi
acb8b57b24 Merge
--HG--
branch : develop
2016-05-02 20:49:43 +03:00
Roman Telezhynskyi
95bb0c054d Hide Qt's warning related to the bug 'Assertion when reading an icns file'.
--HG--
branch : develop
2016-05-02 19:45:36 +03:00
Roman Telezhynskyi
613fa5d6da Fixed build on Mac OS X with Qt 5.6. Minimally supported target is now 10.7.
--HG--
branch : develop
2016-05-02 19:41:23 +03:00
Valentina Zhuravska
afb3c20820 Resolved issue #478
--HG--
branch : develop
2016-05-02 03:44:33 +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
Roman Telezhynskyi
8651bcadd4 GCC warning.
--HG--
branch : develop
2016-04-26 15:38:49 +03:00
Valentina Zhuravska
86de5ba274 Resolved Issue #471. Add a 'Show/Hide' button for measurement diagram in Tape
--HG--
branch : develop
2016-04-25 20:00:03 +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
a34d9ebde1 Updated measurement templates with all measurements. Added new template
Aldrich/Women measurements.
(grafted from 0c8e7ce25a9601d144397ebf1445b02feb189a9e)

--HG--
branch : develop
2016-04-08 13:21:26 +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
526363a84c Better look of group name.
--HG--
branch : feature
2016-04-07 19:56:06 +03:00
Roman Telezhynskyi
be062fff7d Better tooltipe.
--HG--
branch : feature
2016-04-07 19:48:20 +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
85c45960e5 Removed button, added tooltipe.
--HG--
branch : develop
2016-04-07 13:11:21 +03:00
Roman Telezhynskyi
5697af33e8 Fixed tests.
--HG--
branch : develop
2016-04-07 12:35:08 +03:00
Roman Telezhynskyi
0759dba4ac GCC warnings.
--HG--
branch : develop
2016-04-07 12:33:34 +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
Valentina Zhuravska
d42a39de10 Disable save, show and delete actions when we have no image
--HG--
branch : feature
2016-04-07 03:20:15 +03:00
Valentina Zhuravska
5d38b188c4 Better looks if we have just one button "change image"
--HG--
branch : feature
2016-04-07 02:51:11 +03:00
Roman Telezhynskyi
fe3bd88c17 Remember docks settings.
--HG--
branch : feature
2016-04-06 14:40:44 +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
b57354792c Fixed GUI issue. After full parse some widgets was incorrectly reseted.
(grafted from 49bad435c9e9a940fb91e6142cc0d9a951536f6a)

--HG--
branch : develop
2016-04-03 20:01:37 +03:00
Roman Telezhynskyi
297b32d5d9 Fixed issue #464. Crash. Issue with modeling node objects.
(grafted from 291ce7d161d51618e7164f6f7addb929e27ee8ac)

--HG--
branch : develop
2016-04-03 19:52:53 +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
Valentina Zhuravska
55a2da02cc Little optimization
--HG--
branch : feature
2016-03-29 01:08:07 +03:00