Commit graph

2885 commits

Author SHA1 Message Date
Roman Telezhynskyi 524419e53f Fixed build on OS X.
--HG--
branch : develop
2016-07-23 12:56:22 +03:00
Roman Telezhynskyi dfb8c387b6 Added checking which minimal OSX version supports current Qt version.
From time to time Qt change minimal supported OS X version. This checking will
help build Valentina on older Qt version without fixing .pro files.

--HG--
branch : develop
2016-07-23 12:54:00 +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 28af32f027 Removed unnecessary method call
--HG--
branch : feature
2016-07-22 10:07:16 +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
BojanKverh d6341b50e4 Fixed alignment
--HG--
branch : feature
2016-07-21 08:38:10 +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 f477904ef3 Use QStringLiteral everywhere inside noisyFailureMsgHandler().
--HG--
branch : develop
2016-07-20 11:25:53 +03:00
Roman Telezhynskyi dc275dce14 Fixed search string for error "setGeometry: Unable to set geometry".
--HG--
branch : develop
2016-07-20 11:11:35 +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 ce50203d57 Better code look.
--HG--
branch : develop
2016-07-19 20:51:12 +03: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
Bojan Kverh cb6b967a40 Merged develop into feature
--HG--
branch : feature
2016-07-19 02:28:45 +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
Roman Telezhynskyi 8b438daa6c Slot OpenRecentFile in Tape replaced by lambda.
--HG--
branch : develop
2016-07-18 22:58:14 +03:00
Roman Telezhynskyi 7cabc7df18 Fixed loading recent files in main window.
--HG--
branch : develop
2016-07-18 22:55:18 +03:00
BojanKverh 363714985c Merging
--HG--
branch : feature
2016-07-18 21:02:02 +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 e080d845f3 We need to connect ToolTip signal from splines that already exists to ShowToolTip slot.
--HG--
branch : feature
2016-07-13 22:50:55 +03: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 d94b3dad14 Fixed build on Mac OS X.
--HG--
branch : develop
2016-07-07 18:15:28 +03: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 a78a516ce9 Remove zoom original from toolbar.
Rare used feature as i see it.

--HG--
branch : develop
2016-07-07 16:47:52 +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 f0a84471b3 Toolbar is only for frequently used features. "Config pattern piece" is not one
of them.

--HG--
branch : develop
2016-07-06 15:39:16 +03:00
Roman Telezhynskyi c97fa6a1e8 We don't need anymore button Stop Tool. Arrow Tool does this function.
--HG--
branch : develop
2016-07-06 15:28:36 +03: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 4829b28d25 Fixed saving documents that were created before 0.3.3 schema. This change sets a new version right after the DOM tree from loaded document is created.
--HG--
branch : feature
2016-07-03 11:41:48 +02: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
Valentina Zhuravska 9d19ac14c5 Resoved issue #522. Error: Crash in new file after clicking 'OK' in Point From
Distance And Angle tool.

--HG--
branch : develop
2016-07-02 08:10:09 +03: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 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