Commit Graph

4107 Commits

Author SHA1 Message Date
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
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
abca716d7b DebugBreak() exist only for MSVC compiler.
--HG--
branch : develop
2015-02-10 16:27:16 +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
8c0bdcc612 Make parser static locale variable local for each parser instance.
--HG--
branch : feature
2015-02-10 13:39:31 +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
6d638a3080 Class that show line colors.
--HG--
branch : feature
2015-02-07 15:18:08 +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
Roman Telezhynskyi
76074f2820 Pattern format 0.1.3 support colors.
--HG--
branch : feature
2015-02-03 13:15:52 +02: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