Commit Graph

1715 Commits

Author SHA1 Message Date
Alex
605fb6ad8f Fixed extra / found in include, changed Tool/Vis enums to use strict valid static_cast to make all kinds of tools happy
--HG--
branch : develop
2015-08-28 19:38:02 +03:00
Alex
8fabf871d8 updated save dialog to take file path from command line instead it had in settings
--HG--
branch : develop
2015-08-28 00:29:08 +03:00
Alex
7c6cd2e4a0 ok...more error message?
--HG--
branch : develop
2015-08-27 23:38:26 +03:00
Alex
f87d0e6642 1 more gui message removed when vit file is present but invalid
--HG--
branch : develop
2015-08-27 23:11:09 +03:00
Alex
f5d5c9fd57 Make load function return true/false to fine control DoExport
--HG--
branch : develop
2015-08-27 23:02:54 +03:00
Alex
505e938949 Added message to console when measure not found
--HG--
branch : develop
2015-08-27 22:53:03 +03:00
Alex
9a15ee5740 Forgot braces
--HG--
branch : develop
2015-08-27 22:28:54 +03:00
Alex
4b5250209c Added check when error shown for the wrong file name
--HG--
branch : develop
2015-08-27 22:27:37 +03:00
Alex
f4b4c6011f Corrections to merge
--HG--
branch : develop
2015-08-27 21:33:38 +03:00
Alex
7f1d2934a7 Merged changes
--HG--
branch : develop
2015-08-27 21:06:40 +03:00
Alex
3da8df7bbb -
--HG--
branch : develop
2015-08-27 20:34:29 +03:00
Alex
8cd58af79b --
--HG--
branch : develop
2015-08-27 19:20:02 +03:00
Alex
2ec0e31c2b still merge fixes...
--HG--
branch : develop
2015-08-27 19:03:43 +03:00
Alex
53e98f562f Still merge fixes...
--HG--
branch : develop
2015-08-27 18:55:17 +03:00
Alex
1641e16f50 Trying to fix conflicts
--HG--
branch : develop
2015-08-27 18:39:02 +03:00
Roman Telezhynskyi
e0f256514c Merge with feature. Conversion files is not finished yet.
--HG--
branch : develop
2015-08-27 15:25:39 +03:00
Roman Telezhynskyi
e3d13cd3b5 Wrong conversion for the tag unit.
--HG--
branch : feature
2015-08-27 14:00:20 +03:00
Roman Telezhynskyi
a69223299c Reserve a pattern file before conversion.
--HG--
branch : feature
2015-08-27 11:45:31 +03:00
Roman Telezhynskyi
62a22b122e Conversion a pattern file.
--HG--
branch : feature
2015-08-27 11:25:11 +03:00
Roman Telezhynskyi
a988c4b185 Removed DoubleSpinBoxDelegate and TextDelegate.
--HG--
branch : feature
2015-08-26 21:32:35 +03:00
Roman Telezhynskyi
a5e0ace3a5 Use V_FALLTHROUGH.
--HG--
branch : feature
2015-08-26 21:21:42 +03:00
Roman Telezhynskyi
98a5d8aadb Don't clean measurement before begin full parsing.
--HG--
branch : feature
2015-08-26 21:14:47 +03:00
Roman Telezhynskyi
2f34e86322 Convert to absolute path and show measurements.
--HG--
branch : feature
2015-08-26 17:31:45 +03:00
Roman Telezhynskyi
0cacf1034a Open a pattern file.
--HG--
branch : feature
2015-08-26 17:20:23 +03:00
Alex
166946df92 Updated includes ..
--HG--
branch : develop
2015-08-26 06:39:33 +03:00
Alex
dc95ae30e9 Issue #334, try 2.
Changed spaces, some minor stuffs like [[noreturn]].
Removed added by error clang settings.

--HG--
branch : develop
2015-08-25 22:27:21 +03:00
Alex
799d5d1dc2 Issue #334 mostly with minor neccessary changes, all options implemented
for command line, disabled gui popups when command line detected.

--HG--
branch : develop
2015-08-25 20:53:03 +03:00
Roman Telezhynskyi
5a1208655c Working with new Increments.
--HG--
branch : feature
2015-08-25 13:35:50 +03:00
Roman Telezhynskyi
f8b92a0e89 Remove tab Measurements.
--HG--
branch : feature
2015-08-23 14:35:17 +03:00
Roman Telezhynskyi
62a6fcce44 Sync measurements.
--HG--
branch : feature
2015-08-23 14:01:02 +03:00
Roman Telezhynskyi
00cd073fad Send for the server correct command line string.
--HG--
branch : feature
2015-08-20 13:56:55 +03:00
Roman Telezhynskyi
be336aba41 Watch changes a measurement file.
--HG--
branch : feature
2015-08-20 11:54:48 +03:00
Roman Telezhynskyi
6c2c36a11d Show current measurements in Tape.
--HG--
branch : feature
2015-08-18 17:53:33 +03:00
Roman Telezhynskyi
81d072d030 Command line options for showing a measurement file.
--HG--
branch : feature
2015-08-18 16:31:21 +03:00
Roman Telezhynskyi
99a018c900 Show calucalted value in pattern unit.
--HG--
branch : feature
2015-08-18 14:53:30 +03:00
Roman Telezhynskyi
05acaaa8fc Run Tape for creating measurement file.
--HG--
branch : feature
2015-08-18 13:36:17 +03:00
Roman Telezhynskyi
f3d24856be Check Measurement file unit.
--HG--
branch : feature
2015-08-18 10:24:51 +03:00
Roman Telezhynskyi
0c73e7f760 Convert measurements to a pattern file's unit.
--HG--
branch : feature
2015-08-17 15:36:55 +03:00
Roman Telezhynskyi
0acf149be7 Load measurements.
--HG--
branch : feature
2015-08-17 13:26:27 +03:00
Roman Telezhynskyi
498aaa4ea2 Don't convert measurement from the main app. Compare two lists of measurements.
--HG--
branch : feature
2015-08-17 07:50:58 +03:00
Roman Telezhynskyi
8146f53be3 Create a measurement independent pattern file.
--HG--
branch : feature
2015-08-16 18:56:06 +03:00
Roman Telezhynskyi
8bc20fa82f Import measurements from a pattern file.
--HG--
branch : feature
2015-08-11 17:52:18 +03:00
Roman Telezhynskyi
90455b8910 Class LitePattern for getting a list of measurements from a pattern file.
--HG--
branch : feature
2015-08-11 16:41:03 +03:00
Roman Telezhynskyi
aec99643b3 Separate class Calculator.
--HG--
branch : feature
2015-08-09 20:46:21 +03:00
Roman Telezhynskyi
6380471267 Correct paths.
--HG--
branch : feature
2015-08-09 19:38:12 +03:00
Roman Telezhynskyi
336dee5454 Remove section Standard.
--HG--
branch : feature
2015-08-08 18:34:09 +03:00
Roman Telezhynskyi
8c79d8fa6b Refactoring.
--HG--
branch : feature
2015-08-08 18:30:15 +03:00
Roman Telezhynskyi
ed38ffef38 Retranslate GUI.
--HG--
branch : feature
2015-08-08 17:33:37 +03:00
Roman Telezhynskyi
1dece1e9e5 make install. Corrected paths to translations.
--HG--
branch : feature
2015-08-08 11:22:51 +03:00
Roman Telezhynskyi
65c09f7547 Translation file for mapping pattern making systems.
--HG--
branch : feature
2015-08-02 20:39:29 +03:00
Roman Telezhynskyi
e8577487b1 Dialog Preferences.
--HG--
branch : feature
2015-08-02 18:27:18 +03:00
Roman Telezhynskyi
fb3b1ddc43 Correct version.h for main binary.
--HG--
branch : feature
2015-08-01 20:13:32 +03:00
Roman Telezhynskyi
6e6b040b60 Lock file. Save windows geometry.
--HG--
branch : feature
2015-08-01 20:09:10 +03:00
Roman Telezhynskyi
d9ca57d550 Changed default size the dialog Database.
--HG--
branch : feature
2015-08-01 17:39:08 +03:00
Roman Telezhynskyi
32ec3fd83c Show fields for known neasurements.
--HG--
branch : feature
2015-08-01 17:36:56 +03:00
Roman Telezhynskyi
78329af822 Show measurement database.
--HG--
branch : feature
2015-08-01 16:56:37 +03:00
Roman Telezhynskyi
58f013cd1e Show ordinal number each untitled window.
--HG--
branch : feature
2015-08-01 16:29:28 +03:00
Roman Telezhynskyi
4b62d4a20b New menu item "New window".
--HG--
branch : feature
2015-08-01 16:14:10 +03:00
Roman Telezhynskyi
9acd880dd6 Clear deleted window from the list.
--HG--
branch : feature
2015-08-01 16:06:12 +03:00
Roman Telezhynskyi
5524fd60e6 Special aligment for text columns.
--HG--
branch : feature
2015-08-01 16:00:33 +03:00
Roman Telezhynskyi
08c9f9a064 Just update label Calculated value if formulas equal.
--HG--
branch : feature
2015-08-01 15:55:52 +03:00
Roman Telezhynskyi
3ee7bf574f Formula should be available for editing.
--HG--
branch : feature
2015-08-01 15:47:29 +03:00
Roman Telezhynskyi
5615817334 Disable unchecking a section if all child in the list. Backgroud color show
sections and measurements in the list.

--HG--
branch : feature
2015-08-01 15:22:24 +03:00
Roman Telezhynskyi
925805a5e3 Show ToolTip.
--HG--
branch : feature
2015-08-01 14:44:41 +03:00
Roman Telezhynskyi
dcbfc2240d Return selected names. Add them to the table.
--HG--
branch : feature
2015-08-01 14:25:05 +03:00
Roman Telezhynskyi
bff2731a7e Enough just update.
--HG--
branch : feature
2015-08-01 13:33:57 +03:00
Roman Telezhynskyi
e5a73a0dec Clear if was selected section instead of a measurement.
--HG--
branch : feature
2015-08-01 13:12:03 +03:00
Roman Telezhynskyi
e5c74c7866 Database window.
--HG--
branch : feature
2015-08-01 12:39:32 +03:00
val177
6293b88b95 fixed libpng-bug
--HG--
branch : develop
2015-07-29 05:05:35 +03:00
val177
b0fbe74911 fixed about-Valentina bug
--HG--
branch : develop
2015-07-28 23:41:20 +03:00
val177
c92e45e25c fixed build on windows with qt5.4
--HG--
branch : develop
2015-07-28 23:13:30 +03:00
val177
e5b115ad33 Erased unwanted string from dialogtool.h
--HG--
branch : develop
2015-07-28 16:09:57 +03:00
val177
3974e1a0a8 Erased unwanted strings from vtools.pro
--HG--
branch : develop
2015-07-28 15:39:25 +03:00
Roman Telezhynskyi
fff806e110 Lock producing random attribute order in XML
--HG--
branch : feature
2015-07-26 10:17:53 +03:00
Roman Telezhynskyi
3346bd96f2 Return list known and list all measurements in a file.
--HG--
branch : feature
2015-07-26 10:01:26 +03:00
val177
3d25bb1bc5 fixed build problem on Windows
--HG--
branch : develop
2015-07-26 03:38:01 +03:00
Roman Telezhynskyi
3c32c869a6 In some cases need just disable GUI (Read only mode) without writing in file.
--HG--
branch : feature
2015-07-25 18:18:01 +03:00
Roman Telezhynskyi
6294fcc753 Method Show in Explorer.
--HG--
branch : feature
2015-07-25 16:37:07 +03:00
Roman Telezhynskyi
984d10498b Correct size of the label path to a file.
--HG--
branch : feature
2015-07-25 16:05:16 +03:00
Roman Telezhynskyi
19b787b111 Open measurement file.
--HG--
branch : feature
2015-07-25 15:59:40 +03:00
Roman Telezhynskyi
5697d45b2d New field full name.
--HG--
branch : feature
2015-07-25 11:54:39 +03:00
Roman Telezhynskyi
7484d9e807 Refactoring.
--HG--
branch : feature
2015-07-25 10:44:33 +03:00
Roman Telezhynskyi
8bb325a71f Instead of just disabling use read only.
--HG--
branch : feature
2015-07-25 10:38:36 +03:00
Roman Telezhynskyi
0026b698bb Values should be fractional.
--HG--
branch : feature
2015-07-25 09:10:56 +03:00
Roman Telezhynskyi
34859e5913 Fixed a bug in calculation graduation value. Values base size and heights from
file was ignored.

--HG--
branch : feature
2015-07-25 08:41:04 +03:00
Roman Telezhynskyi
5fb426c248 Fixed path to resource Icon.
--HG--
branch : feature
2015-07-24 21:04:38 +03:00
Roman Telezhynskyi
b5e4880c71 Move resource Icon to the vmisc library.
--HG--
branch : feature
2015-07-24 20:53:21 +03:00
Roman Telezhynskyi
5fa0badfc1 Calling dialog for creation an expression.
--HG--
branch : feature
2015-07-24 15:06:53 +03:00
Roman Telezhynskyi
ba7a46c4b3 After remove alwayse show the first row.
--HG--
branch : feature
2015-07-24 13:20:38 +03:00
Roman Telezhynskyi
6f0b776ff5 Correct row number after move up and down.
--HG--
branch : feature
2015-07-24 13:11:03 +03:00
Roman Telezhynskyi
7e25a27a0c Block wrong formula and don't write to file.
--HG--
branch : feature
2015-07-24 13:06:39 +03:00
Roman Telezhynskyi
c2c64921ab Validation names.
--HG--
branch : feature
2015-07-22 12:47:51 +03:00
Roman Telezhynskyi
180af51f99 Save attributes.
--HG--
branch : feature
2015-07-22 12:44:31 +03:00
Roman Telezhynskyi
17e99b4cb4 Move up and move down.
--HG--
branch : feature
2015-07-22 10:01:34 +03:00
Roman Telezhynskyi
a74bfd9c42 Delete measurement.
--HG--
branch : feature
2015-07-22 09:41:04 +03:00
Roman Telezhynskyi
b79807a8ef Methods AddEmpty, AddEmptyAfter.
--HG--
branch : feature
2015-07-21 20:26:33 +03:00
Roman Telezhynskyi
f6ec3ecb95 Deploy formula.
--HG--
branch : feature
2015-07-21 19:24:47 +03:00
Roman Telezhynskyi
2cb4b18491 Show column Calculated value.
--HG--
branch : feature
2015-07-21 19:13:09 +03:00
Roman Telezhynskyi
930c7cbf42 Show measurement details.
--HG--
branch : feature
2015-07-21 18:28:20 +03:00
Roman Telezhynskyi
dfc7332356 Field Calculated value.
--HG--
branch : feature
2015-07-21 16:24:21 +03:00
Roman Telezhynskyi
08d46c1809 Gradation fields.
--HG--
branch : feature
2015-07-21 16:18:10 +03:00
Roman Telezhynskyi
1506acf581 Remove fields of filtration.
--HG--
branch : feature
2015-07-21 15:32:53 +03:00
Roman Telezhynskyi
b046aba66c Add custom measurement in table.
--HG--
branch : feature
2015-07-19 15:28:01 +03:00
Roman Telezhynskyi
397f5b65bc Ignore new values if file read only.
--HG--
branch : feature
2015-07-18 16:25:56 +03:00
Roman Telezhynskyi
bc7e998597 Disable GUI if user made file read only.
--HG--
branch : feature
2015-07-18 16:23:18 +03:00
Roman Telezhynskyi
ac187de0c9 "Maybe save" message.
--HG--
branch : feature
2015-07-18 16:01:57 +03:00
Roman Telezhynskyi
820d3dc9bd Catch modification file.
--HG--
branch : feature
2015-07-18 15:53:37 +03:00
Roman Telezhynskyi
b318bc1ead Correct name in list of windows.
--HG--
branch : feature
2015-07-18 15:50:34 +03:00
Roman Telezhynskyi
4aa690d55d Save and Save as.
--HG--
branch : feature
2015-07-18 15:39:33 +03:00
Roman Telezhynskyi
5ba6d62d94 Save basic information in file.
--HG--
branch : feature
2015-07-18 14:08:44 +03:00
Roman Telezhynskyi
a9edee47e5 Creation empty file.
--HG--
branch : feature
2015-07-16 12:38:54 +03:00
Roman Telezhynskyi
58d1cf5fdd Open new window if file was created.
--HG--
branch : feature
2015-07-15 10:16:59 +03:00
Roman Telezhynskyi
1aad1090b1 New static library VFormat.
--HG--
branch : feature
2015-07-14 20:22:31 +03:00
Roman Telezhynskyi
e72c54318a New actions.
--HG--
branch : feature
2015-07-14 19:28:50 +03:00
Roman Telezhynskyi
11ef76d0ae Show new empty table.
--HG--
branch : feature
2015-07-13 13:48:29 +03:00
Roman Telezhynskyi
47c5a2dc99 Dialog about app.
--HG--
branch : feature
2015-07-12 20:38:30 +03:00
Roman Telezhynskyi
4a96b92d93 Menu Windows.
--HG--
branch : feature
2015-07-12 18:56:34 +03:00
Roman Telezhynskyi
01e1958aa5 Move windows theme to VMisc library.
--HG--
branch : feature
2015-07-12 18:15:35 +03:00
Roman Telezhynskyi
1aa09c1901 Fields for the main window.
--HG--
branch : feature
2015-07-12 18:07:04 +03:00
Roman Telezhynskyi
ad285ec4c9 Icons for tabs.
--HG--
branch : feature
2015-07-12 17:19:53 +03:00
Roman Telezhynskyi
f5d9f1ff72 Show tooltipe message.
--HG--
branch : feature
2015-07-10 14:22:46 +03:00
Roman Telezhynskyi
9228e417b2 Class MApplication.
--HG--
branch : feature
2015-07-10 14:14:55 +03:00
Roman Telezhynskyi
4cecde8941 Long life tape.
--HG--
branch : feature
2015-07-10 12:49:37 +03:00
Roman Telezhynskyi
77767ed85b Rename ambiguous Valentina.pri.
--HG--
branch : feature
2015-07-10 12:28:30 +03:00
Roman Telezhynskyi
bc8d2af626 Separate folder for valentina binary code.
--HG--
branch : feature
2015-07-10 12:24:47 +03:00
Roman Telezhynskyi
2d3b50637c Fixed automatic layout problem. Don't check workpiece bounding rect because it
is not always correct.

--HG--
branch : develop
2015-07-07 10:47:10 +03:00
Roman Telezhynskyi
cc64b0627e Just set default values and don't show dialog. User still can easy get access
to options.

--HG--
branch : develop
2015-07-03 22:22:52 +03:00
Roman Telezhynskyi
0d43f83b34 "Gap length" instead "Layout width".
--HG--
branch : develop
2015-07-03 20:10:46 +03:00
Roman Telezhynskyi
1a67aafe05 Show translated names in combobox.
--HG--
branch : develop
2015-07-03 20:06:30 +03:00
Roman Telezhynskyi
fb71593e93 By default don't show line for tool "Point along line".
--HG--
branch : develop
2015-07-03 19:00:57 +03:00
Roman Telezhynskyi
f3f5982d3f Show unit in description of the Internal data.
--HG--
branch : develop
2015-07-03 18:54:25 +03:00
Roman Telezhynskyi
82a24587c5 Show "Error (pattern unit)". Example "Error (cm)". Help quick understand
pattern unit.

--HG--
branch : develop
2015-07-03 17:14:35 +03:00
Roman Telezhynskyi
75e9bd0ed5 Move templates outside class definition.
--HG--
branch : develop
2015-07-03 17:03:19 +03:00
Roman Telezhynskyi
d4e13bfe34 Use Q_DECL_OVERRIDE.
--HG--
branch : develop
2015-07-03 16:36:54 +03:00
Roman Telezhynskyi
f6a551ed4b Fixed window titles for tools "Point from circle and tangent" and
"Point from arc and tangent".

--HG--
branch : develop
2015-07-03 14:02:46 +03:00
Roman Telezhynskyi
371020b824 Message "All objects in path should follow in clockwise direction.".
--HG--
branch : develop
2015-06-29 20:23:01 +03:00
Roman Telezhynskyi
73908d0e01 Help user understand how deal with modes.
--HG--
branch : develop
2015-06-29 20:06:26 +03:00
Roman Telezhynskyi
5116261b05 Fixed issue #319. From base-drawing to other state.
--HG--
branch : develop
2015-06-29 18:44:36 +03:00
Roman Telezhynskyi
03eb5c92a7 GCC warnings.
--HG--
branch : develop
2015-06-25 13:52:09 +03:00
Roman Telezhynskyi
0cf7a344a0 Fixed Windows build.
--HG--
branch : develop
2015-06-25 13:42:49 +03:00
Roman Telezhynskyi
edc8664f3f Additional changes for the issue #303.
--HG--
branch : develop
2015-06-25 10:05:19 +03:00
Roman Telezhynskyi
da4d47c7ac Refactoring. Independent method for parse each tool.
--HG--
branch : develop
2015-06-24 19:14:26 +03:00
Roman Telezhynskyi
07e7cbf908 Names must begin with a lowercase letter.
--HG--
branch : develop
2015-06-24 17:48:57 +03:00
Roman Telezhynskyi
bb89e681a2 Ignore children in list.
--HG--
branch : feature
2015-06-24 17:44:21 +03:00
Roman Telezhynskyi
b866e7b91e Resolved issue #301. True darts.
--HG--
branch : feature
2015-06-24 17:30:07 +03:00
Roman Telezhynskyi
0c947f5f50 Don't show children in point combobox.
--HG--
branch : feature
2015-06-20 21:32:35 +03:00
Roman Telezhynskyi
9b49c5122c VToolDoublePoint.
--HG--
branch : feature
2015-06-20 19:14:04 +03:00
Roman Telezhynskyi
0097d67865 Rename VToolPoint.
--HG--
branch : feature
2015-06-20 09:23:04 +03:00
Roman Telezhynskyi
a99c3ce54a Better structure for tools.
--HG--
branch : develop
2015-06-19 17:17:31 +03:00
Roman Telezhynskyi
dfd717fb24 Rename VToolSinglePoint to VToolBasePoint.
--HG--
branch : develop
2015-06-19 15:08:27 +03:00