Commit Graph

906 Commits

Author SHA1 Message Date
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
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
Roman Telezhynskyi
0459fccee0 Convert number to string according to locale options.
--HG--
branch : feature
2015-02-10 22:09:44 +02:00
Roman Telezhynskyi
0056ec49e0 Set locale according to global options.
--HG--
branch : feature
2015-02-10 21:27:11 +02:00
Roman Telezhynskyi
a12eb73bec Dynamic update tool property browser after applying options changes.
--HG--
branch : feature
2015-02-10 19:50:47 +02:00
Roman Telezhynskyi
cfc2b187f6 Dialogs don't return correct formulas.
--HG--
branch : feature
2015-02-10 15:17:18 +02:00
Roman Telezhynskyi
420f2e1da7 "," can't be argument separator in C locale. Parser will return error for big
numbers.

--HG--
branch : feature
2015-02-10 14:46:11 +02:00
Roman Telezhynskyi
7176bd0668 Bug in VFormula class. SetFormula was broken.
--HG--
branch : feature
2015-02-10 13:51:51 +02:00
Roman Telezhynskyi
cc65f00e2f Windows build.
--HG--
branch : develop
2015-02-09 18:34:50 +02:00
Roman Telezhynskyi
c2191dd8d0 Fixed issue #217. Bug with mouse cursor.
--HG--
branch : develop
2015-02-09 11:54:19 +02:00
Roman Telezhynskyi
2885abb5a1 Fixed issue #242. Tool Dialogs: Label at bottom doesn't update for empty lists.
--HG--
branch : develop
2015-02-08 23:55:24 +02:00
Felix Ulber
ba5e218ff4 DialogTool: Line Angle property not considered in ValChenged slot
--HG--
branch : develop
2015-02-08 20:58:03 +01:00
Felix Ulber
77a24bba0b Tool dialog: disable "Hide Empty Measurements" checkbox when input data is "Size and height"
--HG--
branch : develop
2015-02-08 20:23:01 +01:00
Felix Ulber
1f51d0122f arc tool dialog: tab changes focus for angle values, tab order
--HG--
branch : develop
2015-02-08 20:16:13 +01:00
Roman Telezhynskyi
7064dbfaa2 Improwing documentation.
--HG--
branch : develop
2015-02-08 15:43:30 +02:00
Roman Telezhynskyi
074ca3a4e0 Improving documantation and little refactoring changes in class Calculator.
--HG--
branch : develop
2015-02-08 13:48:27 +02:00
Roman Telezhynskyi
17fa00ba75 Merge with feature. Fixed issue #74. Fold Line in pattern piece.
--HG--
branch : develop
2015-02-08 13:01:18 +02:00
Roman Telezhynskyi
401e6ea534 Leave line thick if tool was selected.
--HG--
branch : feature
2015-02-08 12:56:32 +02:00
Roman Telezhynskyi
eb56288d13 Color property also for cut tools: cut arc, cut spline, cut spline path.
--HG--
branch : feature
2015-02-08 12:23:26 +02:00
Roman Telezhynskyi
aa7b2a4112 Use visualization for highlighting tool.
--HG--
branch : feature
2015-02-07 17:18:18 +02:00
Roman Telezhynskyi
ff5c6dbb17 Fixed bug. We don't have object for line in data container. Just will send
empty object.

--HG--
branch : feature
2015-02-07 16:48:48 +02:00
Roman Telezhynskyi
619a303e9b Property explorer now show color combobox.
--HG--
branch : feature
2015-02-07 16:42:49 +02:00
Roman Telezhynskyi
805100ec0f Generate translated color names list. Need for property browser.
--HG--
branch : feature
2015-02-07 14:31:10 +02:00
Roman Telezhynskyi
c595df7517 Read attribute color from file.
--HG--
branch : feature
2015-02-07 13:17:31 +02:00
Roman Telezhynskyi
5da451a5ce Save tool color attribute to xml.
--HG--
branch : feature
2015-02-06 20:05:52 +02:00
Roman Telezhynskyi
1563193662 Save color from tool option dialog to xml.
--HG--
branch : feature
2015-02-06 19:50:33 +02:00
Roman Telezhynskyi
f687105905 Refactoring. Also read attribute color from xml.
--HG--
branch : feature
2015-02-06 19:43:31 +02:00
Roman Telezhynskyi
b8e7cbd1ac Use for each tool correct method Disable.
--HG--
branch : feature
2015-02-06 16:25:04 +02:00
Roman Telezhynskyi
25691639d4 This method now can be virtual.
--HG--
branch : feature
2015-02-06 14:34:02 +02:00
Roman Telezhynskyi
4f91c69127 Refactoring, correct disabling tool.
--HG--
branch : feature
2015-02-06 14:31:40 +02:00
Roman Telezhynskyi
5f49394236 Use different colors for different parts of tool.
--HG--
branch : feature
2015-02-06 13:41:30 +02:00
Roman Telezhynskyi
16662a34d5 Use variable "enabled" everywhere.
--HG--
branch : feature
2015-02-06 11:58:04 +02:00
Roman Telezhynskyi
e94c5070dc If pattern piece disabled need correct tool color.
--HG--
branch : feature
2015-02-06 11:53:36 +02:00
Roman Telezhynskyi
e64e3a9044 Wrong conversion expression if number has 0 in fractional part. Example 10,0.
Such numbers ignored and left untouched. This cause error in calculation.

--HG--
branch : develop
2015-02-05 13:56:51 +02:00
Roman Telezhynskyi
8b7567c32a Use method setEnabled instead direct change Pen where possible.
--HG--
branch : feature
2015-02-04 15:09:37 +02:00
Roman Telezhynskyi
06d415f320 Disable curve if pattern piece disabled.
--HG--
branch : feature
2015-02-04 14:17:49 +02:00
Roman Telezhynskyi
8aa8438064 Disable label if pattern piece disabled.
--HG--
branch : feature
2015-02-04 13:47:53 +02:00
Roman Telezhynskyi
4d6fae5840 Setter and getter for attribute line color.
--HG--
branch : feature
2015-02-04 11:21:09 +02:00
Roman Telezhynskyi
9d9bc2404b Refactoring. Move line type to VDrawTool class.
--HG--
branch : feature
2015-02-03 16:46:14 +02:00
Felix ulber
278c4e7ee8 Fixed wrong title in vtooloptionspropertybrowser for curve intersect axis tool.
--HG--
branch : develop
2015-02-03 12:21:01 +01:00
Felix ulber
e1283c410e Fixed some tooltips in tool dialogs.
--HG--
branch : develop
2015-02-03 11:29:34 +01:00
Roman Telezhynskyi
cf2aea280d Refactoring.
--HG--
branch : feature
2015-02-03 12:17:04 +02:00
Roman Telezhynskyi
4572da85c8 Refactoring.
--HG--
branch : feature
2015-02-03 11:27:33 +02:00
Roman Telezhynskyi
d6a2388762 Refactoring.
--HG--
branch : feature
2015-02-03 10:55:02 +02:00
Roman Telezhynskyi
c52d0a045d Refactoring.
--HG--
branch : feature
2015-02-03 10:45:27 +02:00
Roman Telezhynskyi
f141edad27 Refactoring.
--HG--
branch : feature
2015-02-03 10:32:32 +02:00
Roman Telezhynskyi
493f607cac Refactoring. Deleted additional variables for storing ids.
--HG--
branch : feature
2015-02-03 10:17:59 +02:00
Roman Telezhynskyi
b535460715 Fixed wrong window title.
--HG--
branch : develop
2015-02-03 09:55:27 +02:00
Roman Telezhynskyi
6a9cc6da0a Default style for line Qt::SolidLine.
--HG--
branch : develop
2015-02-03 00:08:39 +02:00
Roman Telezhynskyi
d5836e2fb3 Refactoring. Left method getPointName only in parent class.
--HG--
branch : feature
2015-02-02 18:35:40 +02:00
Roman Telezhynskyi
e3b54789f3 Refactoring. Move inline methods in cpp file.
--HG--
branch : feature
2015-02-02 17:11:48 +02:00
Roman Telezhynskyi
d41308e1f4 Set line color for dialog tool " point along line".
--HG--
branch : feature
2015-02-02 13:55:42 +02:00
Roman Telezhynskyi
9381cc78a6 Initialization color conmbobox.
--HG--
branch : feature
2015-02-02 13:10:02 +02:00
Roman Telezhynskyi
c06938272f Color comboboxs in dialogs.
--HG--
branch : feature
2015-02-02 13:06:58 +02:00
Roman Telezhynskyi
e2fab3345a Test combobox that show colors.
--HG--
branch : feature
2015-02-02 12:28:09 +02:00
Roman Telezhynskyi
de1c9d8a77 List of colors.
--HG--
branch : feature
2015-02-02 11:29:50 +02:00
dismine
1b6408c144 Fixed issue #171. QComboBox to show Qt::PenStyle.
--HG--
branch : develop
2015-01-29 17:47:02 +02:00
dismine
5dcfa88691 Fix for Mac OS. Issue Makefile overriding commands for target
"bin/valentina.app/Contents/Frameworks/".

--HG--
branch : develop
2015-01-28 17:33:01 +02:00
dismine
d70879276e Fixed bug "Can't get Valentina to pick the .vst initial file (OSX)".
--HG--
branch : develop
2015-01-28 16:46:41 +02:00
dismine
f8c62b9b25 Fixed issue #208. Point from X and Y needs vertical bar to help select point
for X vertical value.

--HG--
branch : develop
2015-01-27 20:17:28 +02:00
dismine
c15c0ac67b Fixed issue #196. Detail Editor crashes on Delete.
--HG--
branch : develop
2015-01-27 18:32:50 +02:00
dismine
12c1b59c79 Fixed issue #218. Pattern disappears when Detail icon on icon bar is selected.
--HG--
branch : develop
2015-01-27 16:14:54 +02:00
dismine
e8329a1294 Merged
--HG--
branch : develop
2015-01-27 15:57:08 +02:00
dismine
2a27ebfe1f Fixed issue #230. Program hangs when I try to open saved file.
--HG--
branch : develop
2015-01-27 15:56:44 +02:00
Felix Ulber
f9f6ae884f Fixed Issue #212: Tooltip for Tool triangle is unclear. Rename.
--HG--
branch : develop
2015-01-27 11:20:30 +01:00
Felix Ulber
665d276e96 Fixed Issue #205: Point from X and Y needs improved tooltip and user prompts.
--HG--
branch : develop
2015-01-26 23:13:57 +01:00
Felix Ulber
70ffdcc1c6 Fixed Issue #207: Point from intersection of line and arc has incorrect options dialog title.
--HG--
branch : develop
2015-01-26 22:28:54 +01:00
Felix Ulber
acadc898dc Fixed Issue #204. Point from X and Y tool needs X & Y labels in options box.
--HG--
branch : develop
2015-01-26 21:05:59 +01:00
dismine
9875558e49 Fixed issue #222. Move Layout icon on top toolbar so it is next to Detail mode.
--HG--
branch : develop
2015-01-26 17:13:46 +02:00
dismine
aac096d897 Fixed issue #223. Attempt to remove stale lock file.
--HG--
branch : develop
2015-01-26 17:02:57 +02:00
dismine
886f347ba6 To File/Preferences/Paths added path to export a layout.
--HG--
branch : develop
2015-01-26 16:08:09 +02:00
dismine
57c4813255 Refactoring changed word 'Mask' to 'File Name' when saving the layout.
--HG--
branch : develop
2015-01-26 15:38:51 +02:00
dismine
878cc2d573 Use pattern file name in mask.
--HG--
branch : develop
2015-01-23 13:40:17 +02:00
dismine
bc2df2b1b3 Changed layout allowence value.
--HG--
branch : develop
2015-01-23 12:59:40 +02:00
dismine
bdc1fa2e7f Merge with develop.
--HG--
branch : feature
2015-01-23 12:11:12 +02:00
dismine
4a9e69d32f Saving the layout paper sheets.
--HG--
branch : feature
2015-01-23 12:07:58 +02:00
dismine
0b85380f20 Show paper preview in list.
--HG--
branch : feature
2015-01-22 18:22:37 +02:00
dismine
ef73b351ed New options: rotatate and rotation increase.
--HG--
branch : feature
2015-01-22 16:11:50 +02:00
dismine
56aa09a639 Don't save last options for creation a layout.
--HG--
branch : feature
2015-01-17 15:14:28 +02:00
dismine
28b2f97aaa Fixed getting seam allowence points.
--HG--
branch : feature
2015-01-16 21:35:50 +02:00
dismine
ce67acc6ff Dialog must do not allow values smaller than 1 pixel.
--HG--
branch : feature
2015-01-15 19:31:42 +02:00
dismine
79325fe91f Changes for table widows. All prepare for begin testing.
--HG--
branch : feature
2015-01-15 15:10:05 +02:00
dismine
f6380cf739 Dialog for showing progress of creation.
--HG--
branch : feature
2015-01-14 19:52:16 +02:00
dismine
a121845407 Dialog layout settings.
--HG--
branch : feature
2015-01-14 16:14:51 +02:00
dismine
166f2fbcdb Save each frame to png file for debuging creation layout.
--HG--
branch : feature
2015-01-12 22:35:32 +02:00
dismine
b53d32225a Class that handle choose next detail.
--HG--
branch : feature
2015-01-11 15:11:56 +02:00
dismine
9effd8af02 Layout detail.
--HG--
branch : feature
2015-01-07 18:54:43 +02:00
dismine
0b80c2b9f8 We alwayse need information about “the current parent of the working directory”.
--HG--
branch : develop
2015-01-04 18:11:00 +02:00
dismine
06e945d8a3 Detail must return contour points and seam allowence points yourself.
--HG--
branch : feature
2015-01-03 14:22:55 +02:00
dismine
4ba488d0c0 VAbstractDetail parent class for VDetail.
--HG--
branch : feature
2015-01-02 19:02:07 +02:00
dismine
7d6f22d01b Better use method here.
--HG--
branch : develop
2015-01-02 13:13:14 +02:00
dismine
4bb5930cad Default value for seam allowence is 1 cm. But pattern have different units, so
just set 1 in dialog not enough.

--HG--
branch : develop
2015-01-02 13:08:24 +02:00
dismine
1a59396196 Method CheckLoops return wrong list of points if points less then 4.
--HG--
branch : develop
2015-01-02 13:00:20 +02:00
dismine
d59bfb8a56 Url to user manual for unstable builds.
--HG--
branch : develop
2015-01-01 14:00:17 +02:00
dismine
eb2e3ea799 By default on Windows font point size 8 points we need 11 like on Linux.
--HG--
branch : develop
2014-12-31 16:54:11 +02:00
dismine
6221833f45 Version 0.2.9.
--HG--
branch : develop
2014-12-31 15:55:41 +02:00
dismine
db3b35af46 Url to user manual for stable release.
--HG--
branch : develop
2014-12-31 15:48:43 +02:00
dismine
a72e1459e8 Updated translations.
--HG--
branch : develop
2014-12-31 14:28:08 +02:00
dismine
2efc995496 Fixed broken build on Windows.
--HG--
branch : develop
2014-12-31 13:28:55 +02:00
dismine
8bbfacabb4 Since Qt 5.4.0 the source code location is recorded only in debug builds.
We need this information also in release builds. For this need define
QT_MESSAGELOGCONTEXT.

--HG--
branch : develop
2014-12-31 13:25:22 +02:00
dismine
eb17d6b37e Command for taking build revision number now work on Windows.
--HG--
branch : develop
2014-12-30 23:21:59 +02:00
dismine
7da26995c3 Patrick in list of contributors.
--HG--
branch : develop
2014-12-30 21:42:58 +02:00
dismine
08f8fc70e1 Same lenght to point label for draw and detail.
--HG--
branch : develop
2014-12-29 20:19:23 +02:00
dismine
56653c7943 Changes in version policy. Major.Minor.Debug.Distance.
Also now we save build revision number.

--HG--
branch : develop
2014-12-29 18:06:09 +02:00
dismine
3febdd31fb Check if log file empty.
--HG--
branch : develop
2014-12-27 21:12:45 +02:00
dismine
541d3d2eac Fixed issue #214.
--HG--
branch : develop
2014-12-26 15:56:07 +02:00
dismine
64f0d13449 Fixed issue #213.
--HG--
branch : develop
2014-12-26 13:17:11 +02:00
dismine
8563234dae More log information.
--HG--
branch : develop
2014-12-25 21:29:04 +02:00
dismine
13f87b66f4 More log information.
--HG--
branch : develop
2014-12-25 21:04:10 +02:00
dismine
ccd06caef9 Fix for line to label.
--HG--
branch : develop
2014-12-25 19:19:31 +02:00
dismine
141ec30b8c Make visiable amied axis.
--HG--
branch : develop
2014-12-25 18:22:32 +02:00
dismine
e431388be8 Don't scale points.
--HG--
branch : develop
2014-12-25 18:21:56 +02:00
dismine
a49606a0de Fixed issue #211.
--HG--
branch : develop
2014-12-25 18:21:01 +02:00
dismine
163200a8c5 Better don't be silent.
--HG--
branch : develop
2014-12-25 17:50:46 +02:00
dismine
100857ab21 Don't use scaling factor for circle.
--HG--
branch : develop
2014-12-25 16:06:50 +02:00
dismine
44b3064290 Undo moving label.
--HG--
branch : develop
2014-12-25 13:33:27 +02:00
dismine
c978a8c090 Set undo stack clean after each document save.
--HG--
branch : develop
2014-12-25 12:28:42 +02:00
dismine
45aebc627e Delete previous file name from restore list after save as action.
--HG--
branch : develop
2014-12-24 16:39:44 +02:00
dismine
a1bb140bb5 Hide objects before they need.
--HG--
branch : develop
2014-12-24 15:13:13 +02:00
dismine
4fe796f508 Crash. Forgot check event type.
--HG--
branch : develop
2014-12-24 14:11:47 +02:00
dismine
586b541aec Lite parse each time was changed active pattern piece.
--HG--
branch : develop
2014-12-24 14:08:08 +02:00
dismine
955b0148e9 Disable SCASSERT function if debugging is not set.
--HG--
branch : develop
2014-12-24 11:54:56 +02:00
dismine
2beb229f9c Some systems use special name for lrelease. For example opensuse 13.2 has
lrelease-qt5.

--HG--
branch : develop
2014-12-23 14:00:29 +02:00
dismine
9bfe1f3cd9 Minimal Qt version 5.2.0.
--HG--
branch : develop
2014-12-22 21:46:36 +02:00
dismine
42275e32b0 First try create rpm package.
--HG--
branch : develop
2014-12-22 19:06:24 +02:00
dismine
5d12cf5e99 Coverity Scan warnings.
--HG--
branch : develop
2014-12-21 22:33:31 +02:00
dismine
d8dfa651ff Cppcheck warnings.
--HG--
branch : develop
2014-12-21 13:35:12 +02:00
dismine
f62b78bd9b Compile debug build with gcc's Address Sanitizer.
--HG--
branch : develop
2014-12-20 20:18:00 +02:00
dismine
a94d7b4066 Fixed issue #200.
--HG--
branch : develop
2014-12-19 09:19:26 +02:00
dismine
dfd1b35562 Windows build.
--HG--
branch : develop
2014-12-18 13:34:32 +02:00
dismine
934ccce310 Added translation for library vobj.
--HG--
branch : develop
2014-12-18 12:52:39 +02:00
dismine
0e6188d847 Application crash.
--HG--
branch : feature
2014-12-17 14:57:17 +02:00
dismine
d6c78ca1a1 All points in detail should go clockwise. This mean in some cases need reverse
curves that go anticlockwise. Old method reversing curves doesn't work
correct in all cases. I don't see now way automatically handle this. That's
why now user can choose himself need reverse points for this curve or not.

Also this mean increment in format version to 0.1.2.

--HG--
branch : feature
2014-12-17 14:56:14 +02:00
dismine
fa9a1d7807 Cutting too long an acute angle.
--HG--
branch : feature
2014-12-17 12:02:45 +02:00
dismine
8fac8f87ae Fixed disappearing curve in detail if path counterclockwise.
--HG--
branch : feature
2014-12-16 15:33:00 +02:00
dismine
ad96323e29 Preparation for new changes in pattern format.
--HG--
branch : feature
2014-12-16 09:42:24 +02:00
dismine
9621904b97 By default seam allowence for the detail is 1 pattern's units.
--HG--
branch : feature
2014-12-15 16:28:03 +02:00
dismine
aed090aed3 New better way select objects for creation a detail.
Now the detail cutting points and use only cutted part for creation paths.

--HG--
branch : feature
2014-12-15 16:25:40 +02:00
dismine
30d1fad26f Static library for export a layout to Wavefront OBJ file.
--HG--
branch : develop
2014-12-12 16:08:31 +02:00
dismine
0efbe1745c Fixed issue #198.
--HG--
branch : develop
2014-12-12 14:35:54 +02:00
dismine
8c2a06e63f If not get all list of details user will not show all details for creation a
layout. For this change mode from Draw to Details and than prepare details.

--HG--
branch : develop
2014-12-12 12:30:02 +02:00
dismine
3293916d50 Don't open new window if user canceled opening file.
--HG--
branch : develop
2014-12-12 11:56:26 +02:00
dismine
3ebb56a40c Add conversion when openning pattern.
--HG--
branch : feature
2014-12-11 22:56:59 +02:00