Commit Graph

1843 Commits

Author SHA1 Message Date
Roman Telezhynskyi
c92699abf3 Fixed build problem on Win.
--HG--
branch : develop
2015-10-09 19:52:56 +03:00
Valentina Zhuravska
9873df47ae Merged dismine/valentina into develop
--HG--
branch : develop
2015-10-09 14:19:00 +03:00
Valentina Zhuravska
a233923587 Fixed build problem on Win
--HG--
branch : develop
2015-10-09 14:17:24 +03:00
Roman Telezhynskyi
aeb0140688 Fix for build on drone.io.
--HG--
branch : develop
2015-10-09 13:16:37 +03:00
Roman Telezhynskyi
e6e8a7ff6d Fix for build on drone.io.
--HG--
branch : develop
2015-10-09 12:50:37 +03:00
Roman Telezhynskyi
894444297b Fix for build on drone.io.
--HG--
branch : develop
2015-10-08 21:33:43 +03:00
Roman Telezhynskyi
026804bc37 Fix for build on drone.io.
--HG--
branch : develop
2015-10-08 21:11:50 +03:00
Roman Telezhynskyi
64e07c405a Fix for build on drone.io.
--HG--
branch : develop
2015-10-08 20:45:26 +03:00
Roman Telezhynskyi
7676959bdb Fix for build on drone.io.
--HG--
branch : develop
2015-10-08 20:07:48 +03:00
Roman Telezhynskyi
4121dc7689 Fix for build on drone.io.
--HG--
branch : develop
2015-10-08 19:57:50 +03:00
Roman Telezhynskyi
c630b2e0fc Fix for build on drone.io.
--HG--
branch : develop
2015-10-08 19:27:39 +03:00
Roman Telezhynskyi
daa9f9fbea Show tooltip "author name" and "book name".
--HG--
branch : develop
2015-10-08 18:21:12 +03:00
Roman Telezhynskyi
85d088179b Fixed bug with resizing QListWidget (black space).
--HG--
branch : develop
2015-10-08 18:20:01 +03:00
Roman Telezhynskyi
0e5cb30801 Context menu "Collapse All" and "Expand All".
--HG--
branch : develop
2015-10-08 16:20:07 +03:00
Roman Telezhynskyi
7649ac5f6f Expend by default all groups.
--HG--
branch : develop
2015-10-08 14:10:56 +03:00
Roman Telezhynskyi
6533579b52 Measurement database keyboard navigation.
--HG--
branch : develop
2015-10-08 13:59:24 +03:00
Roman Telezhynskyi
758fbc714f Force user to save new file after openning a template file.
--HG--
branch : develop
2015-10-08 12:57:00 +03:00
Roman Telezhynskyi
d7e9f8cb8b Refactoring.
--HG--
branch : develop
2015-10-08 09:49:20 +03:00
Roman Telezhynskyi
7ed0f2760b Don't ignore broken xml data.
--HG--
branch : develop
2015-10-08 09:43:29 +03:00
Roman Telezhynskyi
2a742497ea Fixed unit test.
--HG--
branch : develop
2015-10-08 09:31:22 +03:00
Roman Telezhynskyi
a43e852977 Show error message if got unknown object type.
--HG--
branch : develop
2015-10-08 09:30:26 +03:00
Roman Telezhynskyi
259f1e1de0 Define macros tr() for reducing code complexity.
--HG--
branch : develop
2015-10-08 08:24:15 +03:00
Roman Telezhynskyi
7daec88f6e Fixed system p25 description.
--HG--
branch : develop
2015-10-07 22:22:44 +03:00
Roman Telezhynskyi
003849649f New test case. Wrong object type.
--HG--
branch : develop
2015-10-07 21:50:40 +03:00
Roman Telezhynskyi
bda38a978f * The default option (blank field or 'None') should appear at the top of the
list.
* The list should be sorted alphabetically so users can find their system
easily.
* 'None' would be in the middle of an alphabetically sorted list.

--HG--
branch : develop
2015-10-07 21:09:50 +03:00
Roman Telezhynskyi
951f6f2f4e First check if key was setted.
--HG--
branch : develop
2015-10-07 20:59:52 +03:00
Roman Telezhynskyi
94f86f136e New pattern making system 'None' with code p998.
--HG--
branch : develop
2015-10-07 20:57:18 +03:00
Roman Telezhynskyi
8df6014412 Fixed typos.
--HG--
branch : develop
2015-10-07 19:45:01 +03:00
Roman Telezhynskyi
4d21fa8a5b Code style.
--HG--
branch : develop
2015-10-07 19:36:41 +03:00
Roman Telezhynskyi
719598b97b Refactoring validating size and height value.
--HG--
branch : develop
2015-10-07 19:34:46 +03:00
Roman Telezhynskyi
defbdb8e9c New keys "gsize" and "gheight".
--HG--
branch : develop
2015-10-07 18:28:51 +03:00
Roman Telezhynskyi
afce2cb0ba Correct update measurements.
--HG--
branch : develop
2015-10-07 16:58:00 +03:00
Roman Telezhynskyi
8aea332cda Remember cursor position and return focus to the formula field.
--HG--
branch : develop
2015-10-05 17:12:36 +03:00
Roman Telezhynskyi
55421d196b Correct maximum size formula field.
--HG--
branch : develop
2015-10-05 17:07:53 +03:00
Roman Telezhynskyi
61178e64de Remember cursor position and return focus to the formula field.
--HG--
branch : develop
2015-10-05 16:52:18 +03:00
Roman Telezhynskyi
67240af260 Changes in command line options. New key "basename" and "destination".
--HG--
branch : develop
2015-10-05 16:08:26 +03:00
Roman Telezhynskyi
7eff8e8b9c Immediately exit in console mode.
--HG--
branch : develop
2015-10-05 12:56:43 +03:00
Roman Telezhynskyi
bd2e1063e3 Return empty string if relative path to measurements is empty.
--HG--
branch : develop
2015-10-05 11:58:54 +03:00
Roman Telezhynskyi
852bd63fe1 Class for testing run valentina.exe.
--HG--
branch : develop
2015-10-04 15:20:12 +03:00
Roman Telezhynskyi
f310c6a479 Test mode for Valentina.exe.
--HG--
branch : develop
2015-10-03 20:27:27 +03:00
Roman Telezhynskyi
693dd7a06e Fixed Tape client/server work. Disable client/server work in test mode.
--HG--
branch : develop
2015-10-03 17:16:28 +03:00
Roman Telezhynskyi
7a95b52cd0 Enable debug information Valentina and Tape from one place.
--HG--
branch : develop
2015-10-03 17:03:25 +03:00
Roman Telezhynskyi
5d118c61ea Code style.
--HG--
branch : develop
2015-10-03 17:01:27 +03:00
Roman Telezhynskyi
ac32dbc143 Use correct an exit code.
--HG--
branch : develop
2015-10-03 14:10:58 +03:00
Roman Telezhynskyi
ed156d3d57 Testing Tape.exe. More test cases.
--HG--
branch : develop
2015-10-03 14:09:06 +03:00
Valentina Zhuravska
29cd62e5ef Fixed windows build (erased unwanted bracket)
--HG--
branch : develop
2015-10-03 07:50:38 +03:00
Roman Telezhynskyi
bdfae8230d Check if we seek in a measurement file an empty name.
--HG--
branch : develop
2015-10-03 01:49:15 +03:00
Roman Telezhynskyi
b5000e5fae Make variable const.
--HG--
branch : develop
2015-10-03 01:44:44 +03:00
Roman Telezhynskyi
f607e37168 Fixed crash.
--HG--
branch : develop
2015-10-03 01:38:50 +03:00
Roman Telezhynskyi
1d73547d28 Block signals for QLineEdit in readonly mode because it still emits
QLineEdit::editingFinished signal.

--HG--
branch : develop
2015-10-03 01:00:18 +03:00
Roman Telezhynskyi
c65f554a8d Fixed GCC warnings.
--HG--
branch : develop
2015-10-02 08:37:31 +03:00
Roman Telezhynskyi
ad7928248c Merge
--HG--
branch : develop
2015-10-02 08:01:48 +03:00
Valentina Zhuravska
0b16f5acf0 Fixed "comparing floating point with == is unsafe"
--HG--
branch : feature
2015-10-02 05:46:10 +03:00
Valentina Zhuravska
55ab727d78 Correct structure members initialization
--HG--
branch : feature
2015-10-02 04:07:07 +03:00
Roman Telezhynskyi
2d4086206c Try to check all files.
--HG--
branch : develop
2015-10-01 21:41:16 +03:00
Roman Telezhynskyi
30cfa143fe No points to show warnings if we excpect error in test.
--HG--
branch : develop
2015-10-01 21:02:14 +03:00
Roman Telezhynskyi
655a297f73 Test "Converting old individual format to new version".
--HG--
branch : develop
2015-10-01 20:19:19 +03:00
Roman Telezhynskyi
019642e70a Avoid duplicated QStringLiterals.
--HG--
branch : develop
2015-10-01 19:43:41 +03:00
Valentina Zhuravska
c298be342d Q_DISABLE_COPY instead copy constructor
--HG--
branch : feature
2015-10-01 18:48:25 +03:00
Roman Telezhynskyi
06a54ba40c Use qUtf8Printable.
--HG--
branch : develop
2015-10-01 18:34:03 +03:00
Roman Telezhynskyi
9069337a7a Convertor error in console mode.
--HG--
branch : develop
2015-10-01 18:21:13 +03:00
Roman Telezhynskyi
0b57b8821a Show error message box only through message handler.
--HG--
branch : develop
2015-10-01 17:59:01 +03:00
Valentina Zhuravska
15834562af Fixed warnings in Linux
--HG--
branch : feature
2015-10-01 05:05:21 +03:00
Valentina Zhuravska
92a7f21621 Fixed warnings in Linux
1. fixed old-style cast
2. correct order of variables

--HG--
branch : feature
2015-09-30 21:10:13 +03:00
Valentina Zhuravska
1eaf5055a7 Fixed warnings in Linux (correct order of variables)
--HG--
branch : feature
2015-09-30 21:06:31 +03:00
Valentina Zhuravska
418a7ab57f Fixed warnings in Linux (default statement in switch case)
--HG--
branch : feature
2015-09-30 21:00:58 +03:00
Valentina Zhuravska
c3fef2abd7 Fixed warnings in Linux (old-style cast)
--HG--
branch : feature
2015-09-30 20:57:50 +03:00
Valentina Zhuravska
80d35507ca Fixed warnings in Linux
1. correct structure members initialization
2. struct has pointer data members but has no copy constructor

--HG--
branch : feature
2015-09-30 20:49:02 +03:00
Valentina Zhuravska
139027926e Fixed warnings in Linux (correct structure members initialization)
--HG--
branch : feature
2015-09-30 19:59:12 +03:00
Valentina Zhuravska
637baaeabb Fixed warnings in Linux (_MSC_VER)
--HG--
branch : feature
2015-09-30 18:10:42 +03:00
Roman Telezhynskyi
00e38fc119 Fixed Windows build.
--HG--
branch : develop
2015-09-30 13:58:59 +03:00
Roman Telezhynskyi
f6b6a0bc36 Second try to close issue #373.
--HG--
branch : develop
2015-09-29 21:56:46 +03:00
Roman Telezhynskyi
2113f6e7d4 Fixed issue #383. Crash on running Valentina after build.
--HG--
branch : develop
2015-09-29 20:12:23 +03:00
Roman Telezhynskyi
da05f74468 Do not create attributes "full name" and "description" for a known measurement.
--HG--
branch : develop
2015-09-29 18:52:30 +03:00
Roman Telezhynskyi
0601b46f87 Resolved issue #381. Add a 'measurement desc' column in Tape, Create/Edit,
'Add Known' dialog.

--HG--
branch : develop
2015-09-29 18:46:00 +03:00
Roman Telezhynskyi
e6fec09905 Fixed issue #379. Crash in Tape, Create/Edit when '(' in Formula field then
click f(x).

--HG--
branch : develop
2015-09-29 18:09:41 +03:00
Roman Telezhynskyi
2e344b27b0 Fix for searching the folder 'templates'.
--HG--
branch : develop
2015-09-29 17:13:29 +03:00
Roman Telezhynskyi
bf2db165da Fixed translation.
--HG--
branch : develop
2015-09-29 17:04:24 +03:00
Roman Telezhynskyi
31af1687a6 Improve handling error messages in console mode.
--HG--
branch : develop
2015-09-28 21:54:41 +03:00
Roman Telezhynskyi
77dd8f0c77 by default for console version use system locale.
--HG--
branch : develop
2015-09-28 18:34:29 +03:00
Roman Telezhynskyi
e236757d57 Test openning measurement files.
--HG--
branch : develop
2015-09-28 13:42:26 +03:00
Roman Telezhynskyi
25561858f0 Check known names after conversion.
--HG--
branch : develop
2015-09-25 13:45:58 +03:00
Roman Telezhynskyi
96f1f63fa4 Fixed issue #373. Incorrect groupnames in Tape.exe, 'Add Known'.
--HG--
branch : develop
2015-09-25 11:16:25 +03:00
Roman Telezhynskyi
6bbb0c531f Remove the file individual.vit.
--HG--
branch : develop
2015-09-23 17:38:46 +03:00
Roman Telezhynskyi
640202da5f Pass correct path to measurements in a pattern file.
--HG--
branch : develop
2015-09-23 13:11:19 +03:00
Roman Telezhynskyi
d90d24ca61 Check if all defined known measurements in a file are valid.
--HG--
branch : develop
2015-09-22 17:41:05 +03:00
Roman Telezhynskyi
c01bc165db Fix memory leaks.
--HG--
branch : develop
2015-09-22 16:30:06 +03:00
Roman Telezhynskyi
2107a2205a Remove NORET_ATTR.
--HG--
branch : develop
2015-09-22 16:20:19 +03:00
Roman Telezhynskyi
ed373cf6c1 Define "tr" makes code more compact.
--HG--
branch : feature
2015-09-22 16:11:20 +03:00
Roman Telezhynskyi
f1d32e375e Test correct order measurements.
--HG--
branch : feature
2015-09-22 13:50:29 +03:00
Roman Telezhynskyi
4f296d46d7 Updated diagrams.
--HG--
branch : feature
2015-09-22 12:11:52 +03:00
Roman Telezhynskyi
055f80ccd5 Updated the measurement numbers.
--HG--
branch : feature
2015-09-21 17:50:50 +03:00
Roman Telezhynskyi
2299054ae6 Updated the long descriptions.
--HG--
branch : feature
2015-09-20 21:08:10 +03:00
Roman Telezhynskyi
4e3197d3d6 Updated the descriptions.
--HG--
branch : feature
2015-09-20 17:54:55 +03:00
Roman Telezhynskyi
141a3a8a05 shoulder_width_f -> shoulder_tip_to_shoulder_tip_f
--HG--
branch : feature
2015-09-20 14:11:06 +03:00
Roman Telezhynskyi
7d72d2d579 shoulder_width_b -> shoulder_tip_to_shoulder_tip_b
--HG--
branch : feature
2015-09-20 13:58:26 +03:00
Roman Telezhynskyi
5a66e753e9 neck_side_to_waist_bladepoint_b -> neck_side_to_waist_scapula_b
--HG--
branch : feature
2015-09-20 13:53:27 +03:00
Roman Telezhynskyi
f444aebc2d Code style.
--HG--
branch : feature
2015-09-20 13:44:59 +03:00
Roman Telezhynskyi
e0cad4e732 Fix for support win64.
--HG--
branch : develop
2015-09-20 13:20:21 +03:00
Roman Telezhynskyi
305818bd8e Merge
--HG--
branch : develop
2015-09-20 13:12:15 +03:00