Commit Graph

1036 Commits

Author SHA1 Message Date
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