Commit Graph

173 Commits

Author SHA1 Message Date
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
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
719598b97b Refactoring validating size and height value.
--HG--
branch : develop
2015-10-07 19:34:46 +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
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
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
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
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
Roman Telezhynskyi
f6b6a0bc36 Second try to close issue #373.
--HG--
branch : develop
2015-09-29 21:56:46 +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
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
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
4f296d46d7 Updated diagrams.
--HG--
branch : feature
2015-09-22 12:11:52 +03:00
Roman Telezhynskyi
274cbb3aad notify() for MApplication.
--HG--
branch : develop
2015-09-19 23:08:03 +03:00
Roman Telezhynskyi
b5c6bf8260 Command option for setting a locale.
--HG--
branch : develop
2015-09-19 22:58:32 +03:00
Roman Telezhynskyi
54b3f642f3 Relock a pattern file after SaveAs.
--HG--
branch : develop
2015-09-16 14:29:01 +03:00
Roman Telezhynskyi
b3f2869975 Fixed debug output.
--HG--
branch : develop
2015-09-16 09:21:34 +03:00
Roman Telezhynskyi
7718b0748e Show a message box with an error. Release a lock file after error.
--HG--
branch : develop
2015-09-15 21:21:51 +03:00
Roman Telezhynskyi
902fe178e5 Resolved issue #364. Add Search feature to Measurement dialogs.
--HG--
branch : develop
2015-09-15 19:49:24 +03:00
Roman Telezhynskyi
cf0d1981ca Moved lock-guarding abilities to separated template class.
Changed application/mainwindow to use it. Most likelly mainwindow may be
upgraded more, since lock can hold and manage memory for complex object
like QFile, also it can have stored deallocator for the object
(lambdas), so this is effectively should simple code, when you have
allocation and freening resources declared on the same screen.

--HG--
branch : develop
2015-09-14 14:53:49 +03:00
Roman Telezhynskyi
ec82936f86 Fixed the typo in the Measurements tab.
--HG--
branch : develop
2015-09-13 10:44:59 +03:00
Roman Telezhynskyi
516c3eaa8f Resolved issue #355. Change Measurements 'Create new' to 'Create/Edit'.
--HG--
branch : develop
2015-09-11 13:04:01 +03:00
Roman Telezhynskyi
df11ffa981 Don't ask if file was created without modifications.
--HG--
branch : develop
2015-09-09 13:00:22 +03:00
Roman Telezhynskyi
da077a5b59 Disable fields if a list is empty.
--HG--
branch : develop
2015-09-09 12:45:30 +03:00
Roman Telezhynskyi
b4c1e68eb4 Correct reading notes.
--HG--
branch : develop
2015-09-08 16:10:37 +03:00
Roman Telezhynskyi
fa6329c2eb Support single options.
--HG--
branch : develop
2015-09-08 12:10:28 +03:00
Roman Telezhynskyi
755cbc34d5 Correct file description.
--HG--
branch : develop
2015-09-08 10:37:23 +03:00
Roman Telezhynskyi
0c8b8514e4 Fixed issue #350.
--HG--
branch : develop
2015-09-08 10:22:09 +03:00
Roman Telezhynskyi
d2bb126d04 Conversion individual measurements.
--HG--
branch : develop
2015-09-07 14:51:21 +03:00
Roman Telezhynskyi
3d297d657c Fixed crash after retranslation UI.
--HG--
branch : develop
2015-09-03 13:31:23 +03:00
Roman Telezhynskyi
9a5fa4b026 Updated diagrams.
--HG--
branch : develop
2015-09-03 11:58:34 +03:00
Roman Telezhynskyi
219d27632c Fixed issue #344. Error while building 20150828 #2.
--HG--
branch : develop
2015-08-29 12:48:03 +03:00
Roman Telezhynskyi
5a1208655c Working with new Increments.
--HG--
branch : feature
2015-08-25 13:35:50 +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
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
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
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
Roman Telezhynskyi
fff806e110 Lock producing random attribute order in XML
--HG--
branch : feature
2015-07-26 10:17:53 +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
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