Commit Graph

1706 Commits

Author SHA1 Message Date
Roman Telezhynskyi
67dbe7409f Remove path to VMainGraphicsView.
--HG--
branch : feature
2015-06-16 12:06:51 +03:00
Roman Telezhynskyi
d969cfb2d5 Complited refactoring VPattern.
--HG--
branch : feature
2015-06-16 12:04:48 +03:00
Roman Telezhynskyi
f166f2521b Refactoring UndoCommands.
--HG--
branch : feature
2015-06-16 11:30:25 +03:00
Roman Telezhynskyi
3bf2e056c0 Precompiled headers for Valentina tests.
--HG--
branch : feature
2015-06-15 17:06:37 +03:00
Roman Telezhynskyi
f4aeff48cd Move classes VGraphicsSimpleTextItem and VControlPointSpline to library
VWidgets.

--HG--
branch : feature
2015-06-15 16:59:19 +03:00
Roman Telezhynskyi
2c49348495 Class VGraphicsSimpleTextItem more independent.
--HG--
branch : feature
2015-06-15 16:49:34 +03:00
Roman Telezhynskyi
fe704484c5 Class VControlPointSpline more independent.
--HG--
branch : feature
2015-06-15 16:47:44 +03:00
Roman Telezhynskyi
78dbb63c1b Move class VSettings to library VMisc.
--HG--
branch : feature
2015-06-15 16:24:57 +03:00
Roman Telezhynskyi
224241adde More independent class VSettings.
--HG--
branch : feature
2015-06-15 16:14:10 +03:00
Roman Telezhynskyi
63d5001899 Unite "core" and "widgets" folders.
--HG--
branch : feature
2015-06-15 16:10:55 +03:00
Roman Telezhynskyi
6132153338 Move classes to VWidgets.
--HG--
branch : feature
2015-06-15 15:50:59 +03:00
Roman Telezhynskyi
8faded8de2 Move classes to VMisc.
--HG--
branch : feature
2015-06-15 15:02:42 +03:00
Roman Telezhynskyi
cababbfc37 New static library VMisc.
--HG--
branch : feature
2015-06-15 14:43:41 +03:00
Roman Telezhynskyi
a67cd0b855 Remove CONFIG += ordered.
--HG--
branch : feature
2015-06-15 13:03:24 +03:00
Roman Telezhynskyi
95f141d737 Move realization to cpp.
--HG--
branch : feature
2015-06-15 12:37:18 +03:00
Roman Telezhynskyi
4e4deeb2e5 Refactoring. More independent class VSimpleCurve.
--HG--
branch : feature
2015-06-15 12:32:27 +03:00
Roman Telezhynskyi
70441f48ed Refactoring. Preparetion for creation VWidgets static library.
--HG--
branch : feature
2015-06-15 10:40:23 +03:00
Roman Telezhynskyi
792784de24 Refactoring.
--HG--
branch : feature
2015-06-12 12:49:52 +03:00
Roman Telezhynskyi
48cd74cabd Move class VToolRecord to library IFC.
--HG--
branch : feature
2015-06-12 12:49:35 +03:00
Roman Telezhynskyi
fdb45fdc76 Move class VFormula to core folder.
--HG--
branch : feature
2015-06-12 12:22:25 +03:00
Roman Telezhynskyi
f331f6fa5f Cppcheck warnings.
--HG--
branch : feature
2015-06-12 12:15:59 +03:00
Roman Telezhynskyi
fbeabaa8a9 Remove CONFIG += ordered.
--HG--
branch : feature
2015-06-12 12:10:52 +03:00
Roman Telezhynskyi
f8c6a65962 Moving class VContainer in a static library complited.
--HG--
branch : feature
2015-06-12 11:55:44 +03:00
Roman Telezhynskyi
0322457ece Refactoring. Make class VDetail more independent.
--HG--
branch : feature
2015-06-11 20:36:17 +03:00
Roman Telezhynskyi
8e8422c5fd Refactoring. VContainer is more independent now.
--HG--
branch : feature
2015-06-11 15:40:43 +03:00
Roman Telezhynskyi
4c7033492a Refactoring.
--HG--
branch : feature
2015-06-11 15:24:38 +03:00
Roman Telezhynskyi
a3caf574cb Refactoring. Move translation variables outside VApplication.
--HG--
branch : feature
2015-06-11 13:15:57 +03:00
Roman Telezhynskyi
6e74a5ac48 Tooltipes for tool tabs.
--HG--
branch : develop
2015-06-09 21:26:50 +03:00
Roman Telezhynskyi
4635593b5a Resolved issue #245 New tool "Arc with given length".
--HG--
branch : develop
2015-06-09 21:23:37 +03:00
Roman Telezhynskyi
7143d9fe16 Construct acr from angle and length.
--HG--
branch : develop
2015-06-09 13:21:10 +03:00
Roman Telezhynskyi
e4235cf0b3 Updated comment in pattern file.
--HG--
branch : develop
2015-06-08 15:11:13 +03:00
Roman Telezhynskyi
8dd553854f Added ToolBox icons for tool sections.
--HG--
branch : develop
2015-06-08 13:47:51 +03:00
Roman Telezhynskyi
b7a4fb3071 Independent resource file for a tool icon.
--HG--
branch : develop
2015-06-08 12:29:50 +03:00
Roman Telezhynskyi
e4850bfb09 Merge.
--HG--
branch : develop
2015-06-06 10:06:57 +03:00
Roman Telezhynskyi
37efc60e2a Fixed window icon in dialogs.
--HG--
branch : develop
2015-06-06 09:35:49 +03:00
Roman Telezhynskyi
717e95e672 New tool point from arc and tangent.
--HG--
branch : develop
2015-06-06 09:33:19 +03:00
Roman Telezhynskyi
a327bc4985 Resolved issue #209. New tool point from circle and tangent.
--HG--
branch : develop
2015-06-05 16:43:41 +03:00
Stephan Müller
ef00e4dbf0 trivial: separated class definition and definition of templated member functions
--HG--
branch : develop
2015-06-04 15:58:38 +02:00
Roman Telezhynskyi
9041ebc2cf Refactoring.
--HG--
branch : develop
2015-06-03 14:16:46 +03:00
Roman Telezhynskyi
48ad6cb678 Refactoring.
--HG--
branch : develop
2015-06-02 16:56:49 +03:00
Roman Telezhynskyi
ab01a5b064 Resolved issue #259. Draw free curve path point at distance.
--HG--
branch : develop
2015-06-02 16:53:19 +03:00
Roman Telezhynskyi
001c676ab5 Refactoring.
--HG--
branch : develop
2015-06-01 15:42:47 +03:00
Roman Telezhynskyi
bd58148080 GCC warnings.
--HG--
branch : develop
2015-05-31 13:00:26 +03:00
Roman Telezhynskyi
b3352b8b37 Windows build.
--HG--
branch : develop
2015-05-31 13:00:16 +03:00
Roman Telezhynskyi
b1a354df69 New internal variable "Radius arc".
--HG--
branch : develop
2015-05-31 12:17:09 +03:00
Roman Telezhynskyi
d6c90d1bcc Show lines angle in list of variables.
--HG--
branch : develop
2015-05-30 13:58:27 +03:00
Roman Telezhynskyi
5f977c640e Hide options if user click on visualization's objects.
--HG--
branch : develop
2015-05-30 13:10:15 +03:00
Roman Telezhynskyi
c3d5688f28 New tool "Point of the intersection circles".
--HG--
branch : develop
2015-05-30 13:02:20 +03:00
Roman Telezhynskyi
6530b57a8a Changes for issue #232.
--HG--
branch : develop
2015-05-29 11:03:16 +03:00
Roman Telezhynskyi
9a898a7c99 Refactoring.
--HG--
branch : develop
2015-05-28 15:36:26 +03:00
Roman Telezhynskyi
605b299f15 Refactoring.
--HG--
branch : develop
2015-05-28 15:13:37 +03:00
Roman Telezhynskyi
9145d4d4f1 Refactoring.
--HG--
branch : develop
2015-05-28 13:16:59 +03:00
Roman Telezhynskyi
7e490b6d60 Minimal width for tool's window is 300 px.
--HG--
branch : develop
2015-05-28 13:05:19 +03:00
Roman Telezhynskyi
1ab342bc64 Not enough place for ToolBox's page text.
--HG--
branch : develop
2015-05-28 12:47:39 +03:00
Roman Telezhynskyi
256ad10169 New pattern format version.
--HG--
branch : feature
2015-05-28 12:07:52 +03:00
Roman Telezhynskyi
93a812af08 Fixes.
--HG--
branch : feature
2015-05-27 21:23:50 +03:00
Roman Telezhynskyi
e37e2d48f3 Successful show first point.
--HG--
branch : feature
2015-05-27 19:24:20 +03:00
Roman Telezhynskyi
2beac39ce1 History record.
--HG--
branch : feature
2015-05-27 13:48:50 +03:00
Roman Telezhynskyi
71302fddf0 First successful build.
--HG--
branch : feature
2015-05-27 13:48:21 +03:00
Roman Telezhynskyi
086a2ebaa9 Toolbutton for tool "Point of intersection arcs".
--HG--
branch : feature
2015-05-25 16:00:52 +03:00
Roman Telezhynskyi
99bb6bb983 Refactoring.
--HG--
branch : feature
2015-05-25 15:51:44 +03:00
Roman Telezhynskyi
1ba4725538 Method intersection circles.
--HG--
branch : feature
2015-05-25 15:49:28 +03:00
Roman Telezhynskyi
8980db725d Fixed issue #307. Valentina enables wrong pattern piece after deleting curve.
--HG--
branch : develop
2015-05-25 09:24:16 +03:00
Roman Telezhynskyi
8e3ef70859 Wrong pen width.
--HG--
branch : develop
2015-05-23 21:47:35 +03:00
Roman Telezhynskyi
d3b228df25 Enable redo/undo actions if stack is not empty.
--HG--
branch : develop
2015-05-23 18:37:55 +03:00
Roman Telezhynskyi
71930befed Refactoring.
--HG--
branch : develop
2015-05-23 17:42:53 +03:00
Roman Telezhynskyi
2034f94aa9 Refactoring tool classes.
--HG--
branch : develop
2015-05-23 16:10:08 +03:00
Roman Telezhynskyi
10133a7a13 Refactoring tool classes.
--HG--
branch : develop
2015-05-23 14:40:43 +03:00
Roman Telezhynskyi
bf60cfec3b Fixed issue #303. Valentina stops accepting input on defocus - Gentoo
Linux/KDE/KWin.

--HG--
branch : develop
2015-05-22 08:21:38 +03:00
Roman Telezhynskyi
cda5b76a7a Refactoring dialogs.
--HG--
branch : develop
2015-05-21 22:24:31 +03:00
Roman Telezhynskyi
d7a1ad6edc Preparation to new release.
--HG--
branch : develop
2015-05-17 18:35:29 +03:00
Roman Telezhynskyi
ee9b1a6481 NoBrush style for page brush and fix page pen width value.
--HG--
branch : develop
2015-05-20 20:21:36 +03:00
Roman Telezhynskyi
c989124772 Fixed issue #297. Scaling Error - Print.
--HG--
branch : develop
2015-05-20 20:16:37 +03:00
Roman Telezhynskyi
5ebcd1caba New option "Unite papers".
--HG--
branch : develop
2015-05-18 14:26:37 +03:00
Roman Telezhynskyi
dffb7f27a0 Forgot disable these sections.
--HG--
branch : develop
2015-05-18 11:26:54 +03:00
Roman Telezhynskyi
7862468fef Spelling error.
--HG--
branch : develop
2015-05-17 18:51:51 +03:00
Roman Telezhynskyi
661c1d3042 Don't clean a layout if an error has occured.
--HG--
branch : develop
2015-05-17 18:50:25 +03:00
Roman Telezhynskyi
7392e8e914 Fixed issue #304. Layout appears different than my pattern.
--HG--
branch : develop
2015-05-17 18:31:17 +03:00
Roman Telezhynskyi
0fe066925a Oprion for disable debug symbols or(and) strip debug symbols in release mode.
--HG--
branch : develop
2015-05-16 20:38:05 +03:00
Roman Telezhynskyi
3c6441bd85 Comments about disabling Address Sanitizer.
--HG--
branch : develop
2015-05-16 17:17:34 +03:00
Roman Telezhynskyi
fb054879e0 Preparation to new release.
--HG--
branch : develop
2015-05-07 20:00:00 +03:00
Roman Telezhynskyi
027bd31c2a Speed optimization.
--HG--
branch : develop
2015-05-15 18:16:15 +03:00
Roman Telezhynskyi
1ee4ccc8e5 Fixed issue #302. Error when creating layout.
--HG--
branch : develop
2015-05-15 18:15:14 +03:00
Roman Telezhynskyi
3cf421bde4 Speed optimization.
--HG--
branch : develop
2015-05-14 20:22:24 +03:00
Roman Telezhynskyi
cd19fe14cb Optimization for case when expression has only function. Example fmod(5;2).
--HG--
branch : develop
2015-05-14 19:20:34 +03:00
Roman Telezhynskyi
a869874429 Resolved issue #300. How to find even odd number.
--HG--
branch : develop
2015-05-14 19:19:23 +03:00
Roman Telezhynskyi
d200548661 Use QRegularExpression instead QRegExp.
--HG--
branch : develop
2015-05-14 16:04:23 +03:00
Roman Telezhynskyi
b1b932c1c2 We don't need these classes anymore.
--HG--
branch : feature
2015-05-14 15:49:44 +03:00
Roman Telezhynskyi
c954c2654c Print/Save functions.
--HG--
branch : feature
2015-05-14 15:27:04 +03:00
Roman Telezhynskyi
7a7753e3f1 Disable or hide all unnecessary functions in Layout mode.
--HG--
branch : feature
2015-05-13 13:23:57 +03:00
Roman Telezhynskyi
80d7c39a92 Show layout settings dialog if a layout was not created.
--HG--
branch : feature
2015-05-12 20:59:36 +03:00
Roman Telezhynskyi
46948a9fc4 Restore layout scene.
--HG--
branch : feature
2015-05-12 20:13:45 +03:00
Roman Telezhynskyi
e0b78f0f27 Show the result generation a layout.
--HG--
branch : feature
2015-05-12 19:52:07 +03:00
Roman Telezhynskyi
c76718e9d0 Tool layout settings.
--HG--
branch : feature
2015-05-12 18:15:10 +03:00
Roman Telezhynskyi
f4e511e825 Hide toolbar if user doesn't need it.
--HG--
branch : feature
2015-05-12 16:22:39 +03:00
Roman Telezhynskyi
3cb7e5a393 First step to unite Layout and main windows.
--HG--
branch : feature
2015-05-12 15:42:19 +03:00
Roman Telezhynskyi
641e718a04 Fixed issue #299. Error when opening .val file.
--HG--
branch : develop
2015-05-11 15:59:53 +03:00
Roman Telezhynskyi
e9fcd00111 GCC's warnings.
--HG--
branch : develop
2015-05-11 11:02:38 +03:00
Roman Telezhynskyi
2db88bb95b For debugging creation a layout we don't need always have whole sheet length.
--HG--
branch : develop
2015-05-11 10:48:57 +03:00
Roman Telezhynskyi
c1980cc7aa Make possible disable Address Sanitizer.
--HG--
branch : develop
2015-05-11 10:10:25 +03:00
Roman Telezhynskyi
c73b2f51e1 Save/Restore a last layout settings. Added button RestoreDefaults.
--HG--
branch : develop
2015-05-08 17:24:20 +03:00
Roman Telezhynskyi
56c027686d New Layout setting "Save length of the sheet".
--HG--
branch : develop
2015-05-08 13:10:56 +03:00
Roman Telezhynskyi
cfca4b55de Different proportions for sheets make them look more similar.
--HG--
branch : develop
2015-05-08 11:43:16 +03:00
Roman Telezhynskyi
90fe90118a No one want deal with source code. From no one we will have TS file for english
language. Changes from this file will be ported to source code.

--HG--
branch : develop
2015-05-07 17:13:41 +03:00
Roman Telezhynskyi
cd65c671f2 Test for issue #298.
--HG--
branch : develop
2015-05-07 16:12:53 +03:00
Roman Telezhynskyi
af2e0fb509 New static libray VGeomerty. Need for unit testing.
--HG--
branch : develop
2015-05-07 15:31:53 +03:00
Roman Telezhynskyi
5abac4a384 Fixed issue #298. Segmented Curve isn't selected in Seam Allowance tool.
--HG--
branch : develop
2015-05-07 12:39:08 +03:00
Roman Telezhynskyi
01475d4122 Refactoring. Better name.
--HG--
branch : develop
2015-05-07 11:49:56 +03:00
Roman Telezhynskyi
c98aa9487e Show nice "loading" gif icon.
--HG--
branch : develop
2015-05-06 17:31:28 +03:00
Roman Telezhynskyi
fcbb301004 Spelling error.
--HG--
branch : develop
2015-05-06 17:11:12 +03:00
Roman Telezhynskyi
44ef0936d9 Much more correct work with QThreadPool.
Use "volatile" keyword. Don't use method waitForDone() anymore.

--HG--
branch : develop
2015-05-06 17:09:58 +03:00
Roman Telezhynskyi
84661014e8 Show label with information in progress dialog.
--HG--
branch : develop
2015-05-06 15:49:27 +03:00
Roman Telezhynskyi
b0e0f73aa3 QImage supports a maximum of 32768x32768 px images.
--HG--
branch : develop
2015-05-06 15:03:45 +03:00
Roman Telezhynskyi
177882bd1d Merge with default.
--HG--
branch : develop
2015-05-04 20:34:29 +03:00
Roman Telezhynskyi
7e84225935 Lengthen the Roll papers to 500".
--HG--
branch : develop
2015-05-04 11:10:15 +03:00
Roman Telezhynskyi
2b6f9c9fef Fixed broken checking intersection workpieces.
--HG--
branch : release
2015-05-04 10:59:35 +03:00
Roman Telezhynskyi
7e6809557b Fixed broken checking intersection workpieces.
--HG--
branch : develop
2015-05-04 10:57:38 +03:00
Roman Telezhynskyi
6ce904d652 Memory leak. Quick stop creation a layout.
--HG--
branch : develop
2015-05-02 20:18:31 +03:00
Roman Telezhynskyi
5766523733 Resolved issue #290. Add paper type 'Roll - 36" & 'Roll - 44" to 'Create Layout'
paper size.

--HG--
branch : develop
2015-05-02 19:21:47 +03:00
Roman Telezhynskyi
350cc90ced Resolved issue #282. Add dialog for File/New, update Create Pattern Piece
dialog.

--HG--
branch : develop
2015-05-01 20:24:16 +03:00
Roman Telezhynskyi
d83b8b2e68 Resolved issue #285. Remove Table of Variables icon from work menu.
--HG--
branch : develop
2015-05-01 16:38:32 +03:00
Roman Telezhynskyi
df843d880a Resolved issue #283. Change 'Export Pattern' icon label to 'Layout'.
--HG--
branch : develop
2015-05-01 16:29:15 +03:00
Roman Telezhynskyi
d643adaf06 Resolved issue #286. Add 'Mode' menu picklist to top menu, create
enable/disable for design workflow.

--HG--
branch : develop
2015-05-01 16:26:56 +03:00
Roman Telezhynskyi
d2b55e0942 Resolved issue #284. Remove History icon from work menu, add to top menu.
--HG--
branch : develop
2015-05-01 16:21:21 +03:00
Roman Telezhynskyi
7e3b40b0dd Fixed issue #289. Rename 'Generate a Layout' dialog to 'Create Layout'.
--HG--
branch : develop
2015-04-30 14:54:50 +03:00
Roman Telezhynskyi
9fb1e972c5 Refactoring. Move method to class DialogEditWrongFormula.
--HG--
branch : feature
2015-04-30 14:08:54 +03:00
Roman Telezhynskyi
225c1b219b F(x) button for tool Special point on shoulder.
--HG--
branch : feature
2015-04-29 21:30:44 +03:00
Roman Telezhynskyi
e90398e77e F(x) button for tool Point at intersection of arc and line.
--HG--
branch : feature
2015-04-29 21:26:32 +03:00
Roman Telezhynskyi
09fd789659 F(x) button for tool Point along perpendicular.
--HG--
branch : feature
2015-04-29 21:19:57 +03:00
Roman Telezhynskyi
8540359444 F(x) button for tool Point intersect line and axis.
--HG--
branch : feature
2015-04-29 21:15:26 +03:00
Roman Telezhynskyi
483b9c28ba F(x) button for tool Segment a curved path.
--HG--
branch : feature
2015-04-29 21:11:17 +03:00
Roman Telezhynskyi
182e0f4241 F(x) button for tool Segmenting a simple curve.
--HG--
branch : feature
2015-04-29 20:54:03 +03:00
Roman Telezhynskyi
3af87c2260 F(x) button for tool Segment an arc.
--HG--
branch : feature
2015-04-29 20:50:15 +03:00
Roman Telezhynskyi
d4403c1714 F(x) button for tool Point intersect curve and axis.
--HG--
branch : feature
2015-04-29 20:46:53 +03:00
Roman Telezhynskyi
4221eb75ff F(x) button for tool Point along bisector.
--HG--
branch : feature
2015-04-29 20:42:03 +03:00
Roman Telezhynskyi
1f3fce60de F(x) buttons for tool Arc.
--HG--
branch : feature
2015-04-29 20:32:27 +03:00
Roman Telezhynskyi
7e4aea059f Disable cursor-arrow-openhand cursor before delete a item.
--HG--
branch : feature
2015-04-29 20:02:03 +03:00
Roman Telezhynskyi
05ec681136 Math function icon in tool property browser.
--HG--
branch : feature
2015-04-29 19:47:07 +03:00
Roman Telezhynskyi
ce101c10f5 F(x)button for tool "Point at distance along line".
--HG--
branch : feature
2015-04-29 19:35:38 +03:00
Roman Telezhynskyi
356f1f2e85 Updated tooltip.
--HG--
branch : feature
2015-04-29 17:59:43 +03:00
Roman Telezhynskyi
7baefba769 F(x) button for tool "Point at distance and angle".
--HG--
branch : feature
2015-04-29 17:57:02 +03:00
Roman Telezhynskyi
47c7609ebb Default Toolbar icon size too big on macx.
--HG--
branch : release
2015-04-29 15:43:33 +03:00
Roman Telezhynskyi
a233d37317 Fix for building on Mac OS X.
--HG--
branch : release
2015-04-29 15:10:26 +03:00
Roman Telezhynskyi
e0bd213cee Load also translations for qtxmlpatterns.
--HG--
branch : release
2015-04-29 12:43:11 +03:00
Roman Telezhynskyi
712886e39c Qt's translation moved to 'translations' folder.
--HG--
branch : release
2015-04-29 12:40:21 +03:00
Roman Telezhynskyi
75dd335cca Resolved issue #277. Add 'Letter' and 'Legal' to paper size selection.
--HG--
branch : develop
2015-04-28 15:40:57 +03:00
Roman Telezhynskyi
9031ce633a Fixed issue #276. Rename Layout node's 'Creation a layout' dialog.
--HG--
branch : release
2015-04-28 09:43:52 +03:00
Roman Telezhynskyi
5df31f9ede Fixed issue #276. Rename Layout node's 'Creation a layout' dialog.
--HG--
branch : develop
2015-04-28 09:43:52 +03:00
Roman Telezhynskyi
7ea3c6030e Fixed issue #278. Rename Layout mode's 'Save' dialog.
--HG--
branch : release
2015-04-28 09:23:45 +03:00
Roman Telezhynskyi
0cec306997 Fixed issue #278. Rename Layout mode's 'Save' dialog.
--HG--
branch : develop
2015-04-28 09:23:45 +03:00
Roman Telezhynskyi
ff1b060ebc Utility pdftops need for saving a layout image to PS and EPS formates.
Better keep this utility in repository for avoiding mistakes.

--HG--
branch : release
2015-04-27 16:48:10 +03:00
Roman Telezhynskyi
b3aa122bf8 "make install" command for Windows.
May be add dlls to repository it is not the best idea, but it will make creation
installers very easy.

--HG--
branch : release
2015-04-27 15:44:27 +03:00
Roman Telezhynskyi
17d1a6911b Increment version number.
--HG--
branch : release
2015-04-24 13:08:26 +03:00
Roman Telezhynskyi
354ca935d2 Resolved issue #275. Add 'Show Curve Details' icon on top menu bar to show/hide
control points and curve direction.

--HG--
branch : develop
2015-04-23 18:06:17 +03:00
Roman Telezhynskyi
768a5df031 Refactoring. More correct name for method.
--HG--
branch : develop
2015-04-22 17:30:48 +03:00
Roman Telezhynskyi
4e92968f36 Saves/restores the current state of mainwindow's toolbars and dockwidgets.
--HG--
branch : develop
2015-04-22 17:22:47 +03:00
Roman Telezhynskyi
7834647208 Refactoring. Removed dublicate public slot. We can use method contextMenuEvent
instead.

--HG--
branch : develop
2015-04-22 16:30:47 +03:00
Roman Telezhynskyi
8b008e8513 Issue #274 Add The Curve options dialog box.
--HG--
branch : develop
2015-04-22 16:13:13 +03:00
Roman Telezhynskyi
6d436675e4 More contrast for the layout icon.
--HG--
branch : develop
2015-04-20 22:12:23 +03:00
Roman Telezhynskyi
e22f3e97a3 From the usability review: The drawing mode ist hard to recognize as an icon,
since the icon has too many elements.
Suggestion: a pen.

--HG--
branch : develop
2015-04-20 20:31:36 +03:00
Roman Telezhynskyi
74608b0481 Grid(1,1) instead Grid(0,0).
--HG--
branch : develop
2015-04-19 17:41:46 +03:00
Roman Telezhynskyi
fca862a351 Check if file has correct suffix.
--HG--
branch : develop
2015-04-19 14:04:15 +03:00
Roman Telezhynskyi
44b01e8f1b Calculate allowance value according to resolution value.
--HG--
branch : develop
2015-04-19 13:59:19 +03:00
Roman Telezhynskyi
fc693a94e9 Bug with transparent fields in png file. Image was little bit less than scene
with paper shadow.

--HG--
branch : release
2015-04-19 13:54:42 +03:00
Roman Telezhynskyi
84243b096f Bug with transparent fields in png file. Image was little bit less than scene
with paper shadow.

--HG--
branch : develop
2015-04-19 13:54:42 +03:00
Roman Telezhynskyi
fb39798b3c Use QPageSetupDialog dialog for "Print to pdf" mode.
--HG--
branch : develop
2015-04-19 13:40:44 +03:00
Roman Telezhynskyi
c326a4cd75 We can't setMinMax() method now.
--HG--
branch : develop
2015-04-19 13:16:16 +03:00
Roman Telezhynskyi
3f801298e1 Handle the fromPage(), toPage(), supportsMultipleCopies(), and numCopies()
values from QPrinter.

--HG--
branch : develop
2015-04-19 12:33:30 +03:00
Roman Telezhynskyi
21ef36bb12 Tooltip that layout width will be multiplied by two.
--HG--
branch : release
2015-04-17 20:43:20 +03:00
Roman Telezhynskyi
e2df375595 Tooltip that layout width will be multiplied by two.
--HG--
branch : develop
2015-04-17 20:43:20 +03:00
Roman Telezhynskyi
ded7591e65 We are waiting not empty string.
--HG--
branch : develop
2015-04-17 11:51:43 +03:00
Roman Telezhynskyi
58f17fec13 Unit test for checking removing loops.
--HG--
branch : develop
2015-04-16 16:54:40 +03:00
Roman Telezhynskyi
9e50028b20 Check for loops need only do after we create equdistant path.
--HG--
branch : release
2015-04-16 15:43:40 +03:00
Roman Telezhynskyi
8616ef8b9b Check for loops need only do after we create equdistant path.
--HG--
branch : develop
2015-04-16 15:43:40 +03:00
Roman Telezhynskyi
cc35816108 Result is not floating-point. Coverity scan.
--HG--
branch : release
2015-04-16 13:19:23 +03:00
Roman Telezhynskyi
0c83c86e27 Result is not floating-point. Coverity scan.
--HG--
branch : develop
2015-04-16 13:19:23 +03:00
Roman Telezhynskyi
ac862320f7 Resource leaks. Coverity scan.
--HG--
branch : release
2015-04-16 13:10:44 +03:00
Roman Telezhynskyi
e1e4804503 Resource leaks. Coverity scan.
--HG--
branch : develop
2015-04-16 13:10:44 +03:00
Roman Telezhynskyi
c4d4f472ab Missed header.
--HG--
branch : develop
2015-04-16 13:04:46 +03:00
Roman Telezhynskyi
d3dd53eaa1 Change name for Valentina's test binary.
--HG--
branch : develop
2015-04-15 21:41:29 +03:00
Roman Telezhynskyi
89f13a0016 fatal error: QtMath: No such file or directory.
--HG--
branch : develop
2015-04-15 20:41:23 +03:00
Roman Telezhynskyi
78f1e89f08 Cppcheck.
--HG--
branch : develop
2015-04-15 15:44:57 +03:00
Roman Telezhynskyi
806a1c41d9 Delete test template class.
--HG--
branch : develop
2015-04-15 15:13:19 +03:00
Roman Telezhynskyi
edaafb7c6a VPoster tests.
--HG--
branch : develop
2015-04-15 15:11:13 +03:00
Roman Telezhynskyi
8bfc9d1ca3 Don't show bottom border if only one page need to print.
--HG--
branch : develop
2015-04-15 12:10:35 +03:00
Roman Telezhynskyi
d7d1c0b78a Don't show left border and top border if page margin is 0.
--HG--
branch : develop
2015-04-15 11:36:08 +03:00
Roman Telezhynskyi
41b2617110 Spelling mistake.
--HG--
branch : release
2015-04-11 21:22:34 +03:00
Roman Telezhynskyi
f45875134b Spelling mistake.
--HG--
branch : develop
2015-04-11 21:22:34 +03:00
Roman Telezhynskyi
9466da601c GUI experts say that just use tool button icons not very good choise. This way
good only for standard icons. I added option show text under icon.

--HG--
branch : develop
2015-04-11 21:20:37 +03:00
Roman Telezhynskyi
3c96dfddcb Action print to pdf.
--HG--
branch : feature
2015-04-11 18:33:43 +03:00
Roman Telezhynskyi
e97cceb65b Actions print.
--HG--
branch : feature
2015-04-11 18:16:30 +03:00
Roman Telezhynskyi
fc54866019 Action print preview.
--HG--
branch : feature
2015-04-11 17:30:49 +03:00
Roman Telezhynskyi
130063d690 Menu bar. Theme icons for actions print and print preview.
--HG--
branch : feature
2015-04-11 14:22:50 +03:00
Roman Telezhynskyi
c144c149e6 Class VPoster.
--HG--
branch : feature
2015-04-11 14:01:25 +03:00
Roman Telezhynskyi
36990d6531 Dependies for class QLockFile make it impossible easy backport this class to
Qt 5.0.0. I decided don't do this. And just disable using the class if
Qt version < Qt 5.1. It will open some issues, but for Unit testing this reason
not important.

--HG--
branch : develop
2015-04-05 16:31:28 +02:00
Пользователь@pc2009
93eb3d692c Backporting QlockFile. Successful build on Windows.
--HG--
branch : develop
2015-04-04 18:47:25 +04:00
Roman Telezhynskyi
94e2fe8c5a Disable installation tests.
--HG--
branch : develop
2015-04-02 20:43:33 +03:00
Roman Telezhynskyi
7de628f79a undefined reference to `QLoggingCategory::~QLoggingCategory()'.
--HG--
branch : develop
2015-04-02 20:09:57 +03:00
Roman Telezhynskyi
f59625f56f Removed strange expression Q_FUNC_QT_VERSION < 0x053000INFO.
--HG--
branch : develop
2015-04-02 19:13:29 +03:00
Roman Telezhynskyi
1de5ba3411 fatal error: qlockfile.h: No such file or directory.
--HG--
branch : develop
2015-04-02 18:38:34 +03:00
Roman Telezhynskyi
c952b54122 Files from Qt 5.2.0.
--HG--
branch : develop
2015-04-02 18:25:19 +03:00
Roman Telezhynskyi
0c023a9db9 Files from Qt 5.4.1.
--HG--
branch : develop
2015-04-02 17:56:17 +03:00
Roman Telezhynskyi
fb879c7ae1 Qt < 5.2 didn't feature categorized logging.
--HG--
branch : develop
2015-04-02 17:01:05 +03:00
Roman Telezhynskyi
49ffd7a77d QLockFile was introduced in Qt 5.1.
--HG--
branch : develop
2015-04-02 15:54:35 +03:00
Roman Telezhynskyi
4d171184bd Forgot change methods.
--HG--
branch : develop
2015-04-02 14:53:42 +03:00
Roman Telezhynskyi
ab3c60fe03 travis.yml. Added support for "make check", run tests.
--HG--
branch : develop
2015-04-02 14:31:23 +03:00
Roman Telezhynskyi
7e49c3524f QCombobox::currentData was introduced since Qt 5.2.
--HG--
branch : develop
2015-04-02 12:51:27 +03:00
Roman Telezhynskyi
07ec5aacf8 QVector::removeLast() was introduced only in Qt 5.1.
--HG--
branch : develop
2015-04-01 21:38:42 +03:00
Roman Telezhynskyi
6dea77276c QtMath apperas only since Qt 5.1.
--HG--
branch : develop
2015-04-01 21:21:24 +03:00
Roman Telezhynskyi
ff44834417 GCC warning “ISO C99 requires rest arguments to be used”.
For fixing use printf style.

--HG--
branch : develop
2015-04-01 20:08:35 +03:00
Roman Telezhynskyi
30f6aea194 Hide warnings, minimal requirements for build is Qt 5.0.0.
--HG--
branch : develop
2015-04-01 15:51:54 +03:00
Roman Telezhynskyi
e1e995abe7 Test template for future test system.
--HG--
branch : develop
2015-03-31 17:48:58 +03:00
Roman Telezhynskyi
b14e98fea3 Show appers only after user change format.
--HG--
branch : develop
2015-03-31 16:38:59 +03:00
Roman Telezhynskyi
8d497c68eb Increase version qmuparser.
--HG--
branch : develop
2015-03-31 16:35:01 +03:00
Roman Telezhynskyi
0cabe83e10 Fix for ParserTokenReader::ExtractOperatorToken incorrectly uses
ValidInfixOprtChars().

--HG--
branch : develop
2015-03-31 16:13:41 +03:00
Roman Telezhynskyi
aef39533c8 Bugfix for Bulkmode: Expressions with like "a=b, b*10" did not compute properly.
--HG--
branch : develop
2015-03-31 16:08:44 +03:00
Roman Telezhynskyi
99bb3f8962 Fixed issue #267. Error in the creation of obj files.
--HG--
branch : develop
2015-03-31 14:14:08 +03:00
Roman Telezhynskyi
74e4761634 Refactoring.
--HG--
branch : develop
2015-03-31 13:46:47 +03:00
Roman Telezhynskyi
478dbe13dd Fixed issue #263. Regression. Union tool doesn't work.
--HG--
branch : develop
2015-03-31 13:39:10 +03:00
Roman Telezhynskyi
8c5ea079d7 Additional checkings.
--HG--
branch : develop
2015-03-30 21:04:44 +03:00
Roman Telezhynskyi
d9a9df14f6 Don't allow selection details with less than 2 points and less than three
objects.

--HG--
branch : develop
2015-03-30 17:27:45 +03:00
Roman Telezhynskyi
a38448623c When we unite two detalis don't skip a point of a second detail if edges length
don't equal.

--HG--
branch : develop
2015-03-30 15:43:30 +03:00
Roman Telezhynskyi
b104f0dfa5 Fixed crash. If we have no points in the seam allowence path just don't show
him.

--HG--
branch : develop
2015-03-28 14:26:49 +02:00
Roman Telezhynskyi
f97a077dcd For tool Curve intersect axis fixed wrong calculation point in case with too
small scene rect size. No code always use the biggest possible rect.

--HG--
branch : develop
2015-03-28 12:59:37 +02:00
Roman Telezhynskyi
2cab9b4f90 Fixed missed attribute in XML schema.
--HG--
branch : develop
2015-03-28 11:08:11 +02:00
Roman Telezhynskyi
91a0966271 New token.
--HG--
branch : release
2015-03-23 15:03:12 +02:00
Roman Telezhynskyi
40e786c348 New language Finnish.
--HG--
branch : release
2015-03-23 14:37:53 +02:00
Roman Telezhynskyi
6b8cb0bf69 Improving for layout debug mode.
--HG--
branch : release
2015-03-23 14:13:44 +02:00
Roman Telezhynskyi
1f74e30d39 New version v0.3.0.
--HG--
branch : release
2015-03-19 17:46:45 +02:00
Roman Telezhynskyi
0f33cb6352 Fixed bug with circle intersection. Case with one real and one theoretical
intersection.

--HG--
branch : release
2015-03-19 16:20:25 +02:00
Roman Telezhynskyi
37dbe31050 Allow user add points in list by clicking on label.
--HG--
branch : release
2015-03-19 15:02:39 +02:00
Roman Telezhynskyi
7fccb9eb63 Set checked Detail mode button after close Layout Editor window.
--HG--
branch : release
2015-03-19 14:44:57 +02:00
Roman Telezhynskyi
c4d7b03905 Hide tool options before switch to Details mode.
--HG--
branch : release
2015-03-19 14:40:54 +02:00
Roman Telezhynskyi
f1b7726646 Block moving point label if tool is active.
--HG--
branch : release
2015-03-19 13:13:13 +02:00
Roman Telezhynskyi
c77b165cf0 Can't defeat PATH variable on Mac OS.
--HG--
branch : release
2015-03-16 18:31:27 +02:00
Roman Telezhynskyi
1f0ac82547 Hide warning about not available pdftops. Seek tool pdftops in app bundle on
mac os, near exe on Windows and in standard path on linux.

--HG--
branch : release
2015-03-16 16:49:51 +02:00
Roman Telezhynskyi
7555c67c3e Clang warnings.
--HG--
branch : release
2015-03-16 14:23:02 +02:00
Roman Telezhynskyi
cabac6f3d0 GCC warnings.
--HG--
branch : release
2015-03-16 12:33:37 +02:00
Roman Telezhynskyi
ef0a2e206b Don't use set specific index number. If user don't have pdftops application it
will make combobox empty.

--HG--
branch : release
2015-03-15 19:12:30 +02:00
Roman Telezhynskyi
2b711c5f8f Bad API in class LayoutDetail. Fixed checking seam allowence points.
--HG--
branch : release
2015-03-14 14:38:44 +02:00
Roman Telezhynskyi
d287e63790 Seam allowence width can't be <= 0.
--HG--
branch : release
2015-03-14 12:39:09 +02:00
Roman Telezhynskyi
365248f7e2 Separate file name from page number.
--HG--
branch : release
2015-03-10 18:01:33 +02:00
Roman Telezhynskyi
de9534b6d5 Fixed crash DialogUndo. After canceling fixing formula user will see again
DialogUndo and can try again. Button cancel make pattern broken, but left
posibility undo operation.

--HG--
branch : release
2015-03-03 17:47:31 +02:00
Roman Telezhynskyi
8f0e5fbd78 Error message about broken formula show twice if set current pattern piece after
deletion.

--HG--
branch : release
2015-03-03 17:31:18 +02:00
Roman Telezhynskyi
c466fc40b4 GCC warnings.
--HG--
branch : release
2015-03-03 17:29:33 +02:00
Roman Telezhynskyi
8b0de7504f Coverity Scan.
--HG--
branch : release
2015-03-02 21:20:09 +02:00
Roman Telezhynskyi
850d51adac cppcheck.
--HG--
branch : release
2015-03-02 19:54:33 +02:00
Roman Telezhynskyi
22055ab684 Vera++.
--HG--
branch : release
2015-03-02 19:11:43 +02:00
Roman Telezhynskyi
bb74ed2da6 Updated contributors list.
--HG--
branch : develop
2015-02-27 15:07:43 +02:00
Roman Telezhynskyi
629a2a7579 Copyright dates.
--HG--
branch : develop
2015-02-27 12:27:48 +02:00
Roman Telezhynskyi
bfbe2a5fc2 Fixed copyright notice for library qmuparser.
--HG--
branch : develop
2015-02-27 12:21:09 +02:00
Felix Ulber
139d4d26f0 merge fix
--HG--
branch : develop
2015-02-26 23:27:33 +01:00
Felix Ulber
f3eb68c2db resolve merge conflict
--HG--
branch : develop
2015-02-26 23:16:38 +01:00
Felix Ulber
12c66e873f Corrections on license text
--HG--
branch : develop
2015-02-26 22:48:52 +01:00
Felix Ulber
6ad6eda04a Some code corrections on fix of issue #235
--HG--
branch : develop
2015-02-26 22:34:33 +01:00
Roman Telezhynskyi
018fae459a Build on Mac OS.
--HG--
branch : develop
2015-02-26 22:18:52 +02:00
Felix Ulber
1f0027fd22 Merged dismine/valentina into develop
--HG--
branch : develop
2015-02-26 18:45:37 +01:00
Roman Telezhynskyi
13dcebb082 Fixed unable setting AboutValentina dialog size on Windows.
--HG--
branch : develop
2015-02-26 17:06:19 +02:00
Roman Telezhynskyi
47a61dcbc7 Prevent deletion uninitialized pointer.
--HG--
branch : develop
2015-02-26 16:29:32 +02:00
Roman Telezhynskyi
fbe84b74f4 Updated translations. New language Spanish.
--HG--
branch : develop
2015-02-26 16:10:01 +02:00
Roman Telezhynskyi
326a790044 Fixed issue #253. Add description, id, size base and height base to Table of
Variables.

--HG--
branch : develop
2015-02-26 11:26:43 +02:00
Felix Ulber
7a30a08ba5 Merged dismine/valentina into develop
--HG--
branch : develop
2015-02-25 23:27:57 +01:00
Felix Ulber
80a58cd729 Fixed Issue #235
--HG--
branch : develop
2015-02-25 23:27:09 +01:00
Roman Telezhynskyi
72324c0942 Fixed issue #249. Size Base and Height Base (Calculations Error and Display
Wish List).

--HG--
branch : develop
2015-02-25 21:50:13 +02:00
Roman Telezhynskyi
924af81eae Rows in list can't be more than count();
--HG--
branch : develop
2015-02-25 20:21:44 +02:00
Roman Telezhynskyi
cdeddbfa1e Check pointers.
--HG--
branch : develop
2015-02-25 20:12:15 +02:00
Roman Telezhynskyi
0bfd03d98a Hide token.
--HG--
branch : develop
2015-02-22 20:46:08 +02:00
Felix Ulber
c169287336 Completed Issue #241
--HG--
branch : develop
2015-02-21 16:38:11 +01:00
Roman Telezhynskyi
9f92c1ca94 Build on Windows in debug mode.
--HG--
branch : develop
2015-02-18 18:26:28 +02:00
Roman Telezhynskyi
890c87e228 Set color for curved path.
--HG--
branch : develop
2015-02-18 18:04:27 +02:00
Roman Telezhynskyi
f77258ac70 Close property browser when reset window.
--HG--
branch : develop
2015-02-18 15:34:06 +02:00
Roman Telezhynskyi
22aa73e308 Web site URL in log file.
--HG--
branch : develop
2015-02-18 15:29:44 +02:00
Roman Telezhynskyi
8d0027ab8f Improving log.
--HG--
branch : develop
2015-02-18 15:05:20 +02:00
Roman Telezhynskyi
f3fceaea64 Build revision in crash report.
--HG--
branch : develop
2015-02-18 12:17:56 +02:00
Roman Telezhynskyi
0d6a53f5d2 Fixed issue #248. Fix dialog header for Tables Of Variables.
--HG--
branch : develop
2015-02-18 12:06:03 +02:00
Roman Telezhynskyi
48c5e6ad94 Fixed issue #247. Individual measurement file 'Where save measurements' dialog
doesn't open directory from Preferences.

--HG--
branch : develop
2015-02-17 23:34:32 +02:00
Roman Telezhynskyi
614b57a5f2 Merge
--HG--
branch : develop
2015-02-17 19:03:05 +02:00
Roman Telezhynskyi
75f6bfd381 Fixed issue #183. Show message "Changes saved".
--HG--
branch : develop
2015-02-17 19:02:47 +02:00
Felix Ulber
78341ef434 Fixed problem with formula editing in vtooloptionspropertybrowser and "," decimal separator, related to issue 234
--HG--
branch : develop
2015-02-17 17:28:32 +01:00
Roman Telezhynskyi
b05266b78e Deleted needless class.
--HG--
branch : develop
2015-02-16 21:05:44 +02:00
Roman Telezhynskyi
734efb4145 Fixed issue #219. Rename 'Tool new detail' to 'Seam Allowance tool'.
Fixed issue #220. Rename 'Tool for union two details' to 'Union tool'.

--HG--
branch : develop
2015-02-16 16:38:37 +02:00
Roman Telezhynskyi
352637a40a Fixed issue #210. Rename Point of intersection line and axis.
--HG--
branch : develop
2015-02-16 16:02:52 +02:00
Roman Telezhynskyi
bac1baf59f Fixed issue #184. Delete button "Equal" in dialogs.
--HG--
branch : develop
2015-02-16 15:54:56 +02:00
Roman Telezhynskyi
0db66e1946 Update layout save path when show dialog first time.
--HG--
branch : develop
2015-02-15 09:14:02 +02:00
Roman Telezhynskyi
0ec2748293 Don't allow move if we use tool.
--HG--
branch : develop
2015-02-13 11:33:20 +02:00
Roman Telezhynskyi
7db74d4f20 We don't need anymore simple curves. First step just hide them.
--HG--
branch : feature
2015-02-13 11:26:02 +02:00
Roman Telezhynskyi
99ebbc3ed9 Simple curve ignore press event and allow move curve by mouse.
--HG--
branch : feature
2015-02-12 18:10:47 +02:00
Roman Telezhynskyi
0deaa1b7b4 Cut tools use attribute "color" instead "lineColor".
--HG--
branch : feature
2015-02-12 18:02:23 +02:00
Roman Telezhynskyi
ee0f8d51be Auto save should not change "was modefied" sign (*).
--HG--
branch : feature
2015-02-12 17:47:53 +02:00
Roman Telezhynskyi
f16cccd89f Curved path can move by mouse.
--HG--
branch : feature
2015-02-12 17:42:44 +02:00
Roman Telezhynskyi
d6069c9201 Avoid declaring the same literal in multiple places.
--HG--
branch : feature
2015-02-12 13:55:35 +02:00
Roman Telezhynskyi
d5eded4eda Show "move cursor".
--HG--
branch : feature
2015-02-12 13:43:38 +02:00
Roman Telezhynskyi
254d9b7b7a Now spline can move by mouse.
--HG--
branch : feature
2015-02-12 12:55:09 +02:00
Roman Telezhynskyi
fb8dca8452 After refreshing arc visualization get wrong f1 and f2 angels.
--HG--
branch : develop
2015-02-11 16:45:35 +02:00
Roman Telezhynskyi
d550d27d99 Fixed setting f1 and f2 angles for arc visualization.
--HG--
branch : develop
2015-02-11 15:13:17 +02:00
Roman Telezhynskyi
c4c03e1d3e Don't show asterisk (*) near file name if file saved.
--HG--
branch : develop
2015-02-11 13:04:12 +02:00
Roman Telezhynskyi
949e1d9011 Merge with feature
--HG--
branch : develop
2015-02-11 12:52:19 +02:00
Roman Telezhynskyi
28f806a779 Refactoring. More good looking code.
--HG--
branch : feature
2015-02-11 12:43:50 +02:00
Roman Telezhynskyi
f6e511e43c Set and dynamically refresh locale settings for tool property browser.
--HG--
branch : feature
2015-02-11 12:33:13 +02:00
Roman Telezhynskyi
2726bd4eb6 Global locale settings in dialog increments.
--HG--
branch : feature
2015-02-11 11:11:49 +02:00