Commit Graph

1690 Commits

Author SHA1 Message Date
Roman Telezhynskyi
689a7e4829 Speed up build time. Prevent linking Tape each build.
--HG--
branch : develop
2015-12-03 19:49:47 +02:00
Roman Telezhynskyi
ced638a782 Support a proxy icon on Mac OS.
--HG--
branch : develop
2015-12-03 14:07:51 +02:00
Roman Telezhynskyi
1a0733ad00 Alert user about finished creating a layout.
--HG--
branch : develop
2015-12-03 10:56:19 +02:00
Roman Telezhynskyi
33087b2fe8 Added support Mac OS Dock Menu.
--HG--
branch : develop
2015-12-03 10:43:31 +02:00
Roman Telezhynskyi
61eec32420 Always show Tape's window on Mac OS when the app starts, even when is empty.
--HG--
branch : develop
2015-12-02 21:57:16 +02:00
Roman Telezhynskyi
1ccb8f3452 Optimization MaybeSave() method for Mac OS.
--HG--
branch : develop
2015-12-02 21:51:19 +02:00
Roman Telezhynskyi
8506afc056 Optimization tape config dialog for Mac OS.
--HG--
branch : develop
2015-12-02 17:05:30 +02:00
Roman Telezhynskyi
9f3e41a6f6 Optimization config dialog for Mac OS.
--HG--
branch : develop
2015-12-01 22:53:29 +02:00
Roman Telezhynskyi
cf4e313862 Optimization dialogs for Mac OS.
--HG--
branch : develop
2015-12-01 20:12:40 +02:00
Roman Telezhynskyi
49dc9f7700 We can save user's changes in measurement's full name immediately.
--HG--
branch : develop
2015-12-01 16:56:05 +02:00
Roman Telezhynskyi
d24390bd98 Set of fixes for better look on Mac OS X.
--HG--
branch : develop
2015-12-01 16:38:09 +02:00
Roman Telezhynskyi
85bb6141ab Clang warnings.
--HG--
branch : develop
2015-11-30 12:55:39 +02:00
Roman Telezhynskyi
ada92a27d1 Show path with native separator.
--HG--
branch : develop
2015-11-29 14:12:36 +02:00
Roman Telezhynskyi
b0211b09c9 Resolved issue #403. Tape - Button "Show in Explorer" is not working.
--HG--
branch : develop
2015-11-29 14:03:35 +02:00
Roman Telezhynskyi
7611940c40 Copy paste mistake.
--HG--
branch : develop
2015-11-28 21:31:21 +02:00
Roman Telezhynskyi
40fc6bea54 Backward compatibility with <= Qt 5.1.
--HG--
branch : develop
2015-11-28 21:04:51 +02:00
Roman Telezhynskyi
a781d16cd4 Used way proposed in MainWindow class.
--HG--
branch : develop
2015-11-28 19:02:21 +02:00
Roman Telezhynskyi
b6caf1f53f Try to fix broken build with Qt 5.1 and less.
--HG--
branch : develop
2015-11-28 17:27:17 +02:00
Roman Telezhynskyi
4f776f1fbb Error "rcc: Unknown option: '--binary'"
--HG--
branch : develop
2015-11-28 12:01:24 +02:00
Roman Telezhynskyi
97d60004f6 Update debian files.
--HG--
branch : develop
2015-11-26 15:00:04 +02:00
Roman Telezhynskyi
af1c40e027 Merge
--HG--
branch : develop
2015-11-25 15:47:51 +02:00
Roman Telezhynskyi
1e5fd5e28d Merge
--HG--
branch : develop
2015-11-25 15:45:54 +02:00
Roman Telezhynskyi
36704cd02e Invisible "VSimpleCurve" causes exponential growth scene size, and it causes
the program crash. Because we don't need anymore this calss i just have removed
it.

--HG--
branch : develop
2015-11-25 15:45:38 +02:00
Valentina Zhuravska
58d2410f11 Do not close application when can't open recent file if we have GUI mode
--HG--
branch : feature
2015-11-25 13:46:36 +02:00
Valentina Zhuravska
3d5e8c211d Move 'drawMode = false' inside to 'if' statement
--HG--
branch : feature
2015-11-25 11:52:50 +02:00
Roman Telezhynskyi
2bd5a22218 Fixed memory leak.
--HG--
branch : develop
2015-11-25 11:30:02 +02:00
Valentina Zhuravska
2fbd01d89a Correct save of currentDrawIndex
--HG--
branch : feature
2015-11-25 04:29:12 +02:00
Roman Telezhynskyi
b7caafb0c4 Fixed test failure.
--HG--
branch : develop
2015-11-22 17:49:36 +02:00
Roman Telezhynskyi
0a67af35b3 Don't know why i did this, but this code did not allow change valies of known
measurement in standard table.

--HG--
branch : develop
2015-11-22 16:31:31 +02:00
Roman Telezhynskyi
64df6d8095 Standard table must provide 'height'.
--HG--
branch : develop
2015-11-22 16:30:06 +02:00
Roman Telezhynskyi
0e70d335ce Changes for new debian package.
--HG--
branch : develop
2015-11-21 19:34:23 +02:00
Roman Telezhynskyi
ccca5c84f3 Improved Tape's description options.
--HG--
branch : develop
2015-11-21 15:51:29 +02:00
Roman Telezhynskyi
9e4ead188a Improved description Valentina's options.
--HG--
branch : develop
2015-11-21 15:36:22 +02:00
Roman Telezhynskyi
33bf03994e Handling "Open With" from Finder in Mac OS X.
--HG--
branch : develop
2015-11-19 17:17:25 +02:00
Roman Telezhynskyi
5604f8eea3 Correct path to Tape.
--HG--
branch : develop
2015-11-18 17:36:37 +02:00
Roman Telezhynskyi
42bd8b86f7 We cannot add none exist files to bundle through QMAKE_BUNDLE_DATA. That's why
we must do this manually.

--HG--
branch : develop
2015-11-18 16:46:36 +02:00
Roman Telezhynskyi
ba19d4e88e Try hide very annoying, Qt related, warnings in Mac OS X.
--HG--
branch : develop
2015-11-18 14:54:53 +02:00
Roman Telezhynskyi
e38dc9d866 For avoiding error "dyld: Library not loaded" in Mac OS X we should create app
bundle for Tape. I think if create bundle then make it full, not half made.
The bundle also will be very usefull for testing Tape in Mac and in case if
someone will want to use Tape like independent application. The main bundle
still will have Tape inside.

--HG--
branch : develop
2015-11-18 14:42:25 +02:00
Roman Telezhynskyi
9ce9f45cd3 Fixate size of the Tape 'Config dialog' only after first show.
--HG--
branch : develop
2015-11-18 11:03:19 +02:00
Roman Telezhynskyi
cdec047f58 Very often case in Mac OS is to have translations inside an app bundle. And
searching these files require iterate through subdirectories.

--HG--
branch : develop
2015-11-17 16:20:36 +02:00
Roman Telezhynskyi
ce80ae4523 Tape show correct placeholder [*] in menu Window.
--HG--
branch : develop
2015-11-17 14:49:28 +02:00
Roman Telezhynskyi
dc1b593b4b For correct working menu on Mac OS X use menu roles.
--HG--
branch : develop
2015-11-17 14:42:03 +02:00
Roman Telezhynskyi
974a074ffd Fixate size of the 'Config dialog' only after first show.
--HG--
branch : develop
2015-11-17 12:54:18 +02:00
Roman Telezhynskyi
8c8b7d1570 Fixed generation the list of QM files.
--HG--
branch : develop
2015-11-17 12:18:46 +02:00
Roman Telezhynskyi
3a81bebf93 Copy Qt's translations inside app bundle.
--HG--
branch : develop
2015-11-16 22:04:34 +02:00
Roman Telezhynskyi
8eef5db927 Improved app bundle.
--HG--
branch : develop
2015-11-16 13:39:46 +02:00
Roman Telezhynskyi
f6582f8627 No bundle for tape on mac.
--HG--
branch : develop
2015-11-16 12:39:07 +02:00
Roman Telezhynskyi
e0c98476ca For making app bundle tape must exist before valentina.app will be created.
--HG--
branch : develop
2015-11-16 12:36:41 +02:00
Roman Telezhynskyi
5eed97c640 Enable #pragma message in Clang.
--HG--
branch : develop
2015-11-16 12:28:21 +02:00
Roman Telezhynskyi
7038c25c39 Turn on PCH on mac os x.
--HG--
branch : develop
2015-11-16 12:22:34 +02:00
Roman Telezhynskyi
dc0344bbea Run Tape through Valentina. Need for file association on Mac OS X.
--HG--
branch : develop
2015-11-16 11:28:58 +02:00
Roman Telezhynskyi
7027198f2a Resolved issue #400. Layout 'fold line' is incorrect.
--HG--
branch : develop
2015-11-15 19:06:25 +02:00
Roman Telezhynskyi
089e667f48 Scale diagrams according to screen resolution.
--HG--
branch : develop
2015-11-15 17:48:48 +02:00
Roman Telezhynskyi
b28cc36188 Tape.exe. New option "Check all/Uncheck all".
--HG--
branch : develop
2015-11-12 12:47:00 +02:00
Roman Telezhynskyi
4beed02320 Updated VIT template with all measurements.
--HG--
branch : develop
2015-11-12 10:48:01 +02:00
Thies Schröder
823090718b fix build on mac os
--HG--
branch : develop
2015-11-11 21:16:58 +01:00
Roman Telezhynskyi
0838cf2817 Updated GOST table, removed empty measurements.
--HG--
branch : develop
2015-11-11 16:50:07 +02:00
Roman Telezhynskyi
833c507148 New measurement (N08) rise_length_side.
--HG--
branch : feature
2015-11-11 16:26:48 +02:00
Roman Telezhynskyi
e286ae8476 New measurements: (H41) neck_back_to_across_back, (H42) across_back_to_waist_b,
​(L22) arm_neck_side_to_outer_elbow, (G46) hip_circ_with_abdomen.

--HG--
branch : feature
2015-11-11 14:23:39 +02:00
Roman Telezhynskyi
161f1bd61c Fiexed diagram for measurements (A18) height_neck_back_to_knee and
(A20) height_waist_side_to_hip.

--HG--
branch : feature
2015-11-11 10:49:12 +02:00
Roman Telezhynskyi
779117a34f Fixed files without license header.
--HG--
branch : develop
2015-11-09 20:11:06 +02:00
Roman Telezhynskyi
9545db280d Test that all command line option names are unique.
--HG--
branch : develop
2015-11-09 20:02:38 +02:00
Roman Telezhynskyi
9c38e65b45 Fixed size of the "Legal" paper format.
--HG--
branch : develop
2015-11-09 17:56:54 +02:00
Roman Telezhynskyi
39f7994f1b Command line options for dealing with margins.
--HG--
branch : feature
2015-11-09 17:52:38 +02:00
Roman Telezhynskyi
01a23b5e08 Keep order of options.
--HG--
branch : feature
2015-11-09 17:23:15 +02:00
Roman Telezhynskyi
e7e177898c Each time when set paper size first try to find predefined template size. This
will help user undertand what paper size is setted now.

--HG--
branch : feature
2015-11-09 14:29:37 +02:00
Roman Telezhynskyi
9327da7a2c Calculate correct paper size. Print preview doesn't support non native
printers.

--HG--
branch : feature
2015-11-09 13:58:45 +02:00
Roman Telezhynskyi
9a865ab72d Merge with develop
--HG--
branch : feature
2015-11-09 13:36:36 +02:00
Roman Telezhynskyi
4411cccd9c First draft of the issue #313. Layout pieces too close to right edge.
--HG--
branch : feature
2015-11-09 13:33:36 +02:00
Valentina Zhuravska
bfc6a525ed Fixed print on Windows
--HG--
branch : develop
2015-11-06 17:42:52 +02:00
Roman Telezhinskyi
7eb7cddea9 Merged in ValentinaZhuravska/valentina/feature (pull request #71)
Resolved issue #397

--HG--
branch : develop
2015-11-06 16:08:41 +02:00
Valentina Zhuravska
0c23f86886 UpdateWindowTitle at the end of MeasurementsChanged method
--HG--
branch : feature
2015-11-06 16:06:32 +02:00
Valentina Zhuravska
fa032fced2 Fixed GetMeasurementFileName
--HG--
branch : feature
2015-11-06 15:52:58 +02:00
Valentina Zhuravska
76f4753773 UpdateWindowTitle in one string
--HG--
branch : feature
2015-11-06 05:31:37 +02:00
Roman Telezhynskyi
f632ef6480 New paper size template - "custom". Appers if change height or width. The
program also test each size and show appropriate template from the list.

--HG--
branch : develop
2015-11-05 20:04:09 +02:00
Roman Telezhynskyi
912d1f91f6 Disable changing window size only after first show.
--HG--
branch : develop
2015-11-05 15:01:33 +02:00
Roman Telezhynskyi
840a4a9d92 Fixed crash after language change.
--HG--
branch : develop
2015-11-05 14:06:45 +02:00
Roman Telezhynskyi
f4aabbcf06 Disable changing window size only after first.
--HG--
branch : develop
2015-11-05 13:54:15 +02:00
Roman Telezhynskyi
8b6d8aee70 Before setting a layout settings need to set units.
--HG--
branch : develop
2015-11-05 13:25:44 +02:00
Roman Telezhynskyi
2e49d1437a For avoiding losing precision use double everywhere.
--HG--
branch : develop
2015-11-05 13:07:51 +02:00
Roman Telezhynskyi
6b54c5bb7d Set default printing color mode.
Known issue: program doesn't print in grayscale color mode.

--HG--
branch : develop
2015-11-04 17:22:49 +02:00
Valentina Zhuravska
aba82baa98 Fixed issue #397. Added UpdateWindowTitle
--HG--
branch : feature
2015-11-04 07:06:44 +02:00
Roman Telezhynskyi
8d6c007217 Tooltipe for tool TrueDarts.
--HG--
branch : develop
2015-11-03 22:36:44 +02:00
Roman Telezhynskyi
00a4187eda Set start position for base point according to items bounding rect.
--HG--
branch : develop
2015-11-03 17:54:44 +02:00
Roman Telezhynskyi
345b0e5c7f Fixed crash after undo creating a pattern piece.
--HG--
branch : develop
2015-11-02 18:25:29 +02:00
Valentina Zhuravska
5b9914f409 Merge
--HG--
branch : feature
2015-11-02 16:30:28 +04:00
Roman Telezhynskyi
f52d609b9c Refactoring. Test functions RelativeMPath and AbsoluteMPath.
--HG--
branch : develop
2015-10-31 14:41:52 +02:00
Roman Telezhynskyi
82190e2917 Refactoring. StrippedName() doesn't belong to MainWindows.
--HG--
branch : develop
2015-10-31 10:46:45 +02:00
Valentina Zhuravska
1d9af2dcc0 Resolved issue #397. Display the currently open measurement file name in the top menu of Valentina
--HG--
branch : feature
2015-10-31 05:44:21 +02:00
Roman Telezhynskyi
80ff422a39 Separate file for localization files.
--HG--
branch : develop
2015-10-30 13:05:44 +02:00
Roman Telezhynskyi
9ffeeec298 Three new languages: English (Canada), English (India), Romanian (Romania).
--HG--
branch : develop
2015-10-30 12:44:10 +02:00
Roman Telezhynskyi
cb8bc39e8c Resolved issue #380.
--HG--
branch : develop
2015-10-29 18:20:59 +02:00
Roman Telezhynskyi
c989a2b00e Try fix issue "Problem to export the pattern".
--HG--
branch : develop
2015-10-29 10:14:34 +02:00
Roman Telezhynskyi
88324a11f2 Static Code Analysis.
--HG--
branch : develop
2015-10-28 16:22:36 +02:00
Roman Telezhynskyi
2b8fb91d17 Fixed missing measurement head_girth -> head_circ in conversion.
--HG--
branch : develop
2015-10-27 08:11:41 +02:00
Roman Telezhynskyi
3558d634c0 Improved documentation.
--HG--
branch : develop
2015-10-26 16:24:17 +02:00
Roman Telezhynskyi
3282652be7 Updated standard table and template file.
--HG--
branch : develop
2015-10-26 16:23:46 +02:00
Roman Telezhynskyi
caa1a46b01 New option Measurements->Unload measurements.
--HG--
branch : develop
2015-10-26 13:21:49 +02:00
Roman Telezhynskyi
d1f18dc9a0 Use quint32 instead unsigned int.
--HG--
branch : develop
2015-10-26 10:36:07 +02:00
Roman Telezhynskyi
1e99d00a54 Hide lock file.
--HG--
branch : develop
2015-10-26 09:57:20 +02:00
Roman Telezhynskyi
c6e18b8565 No need anymore run qmake twice.
--HG--
branch : develop
2015-10-25 18:09:24 +02:00
Roman Telezhynskyi
c3aba113a2 Use the -rpath linker option to set the .so search path.
--HG--
branch : develop
2015-10-24 23:06:16 +03:00
Roman Telezhynskyi
b516ceb8e1 "CONFIG += silent" doesn't work correct with msvc. Do not create target
"make distclean" with msvc.

--HG--
branch : develop
2015-10-24 14:13:59 +03:00
Roman Telezhynskyi
d6653ca9af Successful build with MSVC 2012.
--HG--
branch : develop
2015-10-23 20:47:33 +03:00
Roman Telezhynskyi
1af1283ed4 Resolved issue #396. Layout printing is incorrect size.
--HG--
branch : develop
2015-10-23 08:27:47 +03:00
Roman Telezhynskyi
bcbb7e66d2 Skip part about NSIS if was not installed.
--HG--
branch : develop
2015-10-22 17:50:42 +03:00
Roman Telezhynskyi
44edb90967 Changed version to 0.4.0b. Fixed file assosiation on Windows Vista and higher.
--HG--
branch : develop
2015-10-22 17:35:54 +03:00
Roman Telezhynskyi
a7f656a412 Alwayse deploy QM files to test directory.
--HG--
branch : develop
2015-10-21 12:35:52 +03:00
Roman Telezhynskyi
467ffbd132 ICC warnings.
--HG--
branch : develop
2015-10-20 17:32:01 +03:00
Roman Telezhynskyi
2be2c00521 Force qmake to update QM files.
--HG--
branch : develop
2015-10-20 08:58:17 +03:00
Roman Telezhynskyi
4d90589f01 Clang warnings.
--HG--
branch : develop
2015-10-19 16:21:06 +03:00
Roman Telezhynskyi
03b6ce08cc Coverity scan.
--HG--
branch : develop
2015-10-19 09:10:39 +03:00
Roman Telezhynskyi
65d2213ef9 Coverity scan missing includes.
--HG--
branch : develop
2015-10-18 22:30:51 +03:00
Valentina Zhuravska
66a7581bbb Erased unwanted row in pathTable
--HG--
branch : feature
2015-10-18 16:25:39 +03:00
Valentina Zhuravska
e16943cfa2 Resolved issue #388. Add field for measurement template directory in Valentina.exe, 'File', 'Preferences', 'Paths'
--HG--
branch : feature
2015-10-18 13:01:38 +03:00
Roman Telezhynskyi
a6dedb814a We can't use tr() macros, but macros translate() need context in the first
parameter.

--HG--
branch : develop
2015-10-16 23:00:05 +03:00
Roman Telezhynskyi
ff768c1c0f Show pattern making system in tab Information of a measurement file.
--HG--
branch : develop
2015-10-16 20:26:05 +03:00
Roman Telezhynskyi
37f11e732d Check that $TOK$ and $POS$ there are in translated strings.
--HG--
branch : develop
2015-10-16 14:55:23 +03:00
Roman Telezhynskyi
3358f9dbc7 Resolved issue #382. Add 'Create from existing file' option in Tape,
Create/Edit.

--HG--
branch : develop
2015-10-15 15:37:10 +03:00
Roman Telezhynskyi
5cd9a88761 Making class Calculator independent from class VContainer.
--HG--
branch : develop
2015-10-15 13:07:43 +03:00
Roman Telezhynskyi
8066d880c9 Lupdate. Fixed lupdate warnings.
--HG--
branch : develop
2015-10-15 12:32:50 +03:00
Roman Telezhynskyi
ba9407bcb5 Curl.exe is part of crash report tools.
--HG--
branch : develop
2015-10-14 16:21:23 +03:00
Roman Telezhynskyi
3c949e5cc5 First template with all measurements.
--HG--
branch : develop
2015-10-14 16:03:36 +03:00
Roman Telezhynskyi
7cd6f7eb44 Updated standard table.
--HG--
branch : develop
2015-10-14 15:34:33 +03:00
Roman Telezhynskyi
8c7c7a9550 CONFIG+=noCrashReports.
--HG--
branch : develop
2015-10-14 14:12:38 +03:00
Roman Telezhynskyi
fa7cb935cb Tape's logo on macx.
--HG--
branch : develop
2015-10-14 13:56:53 +03:00
Roman Telezhynskyi
f0d87ef440 Prerape Windows installer.
--HG--
branch : develop
2015-10-14 13:06:50 +03:00
Roman Telezhynskyi
9a4b9ad106 Remove lock from template.
--HG--
branch : develop
2015-10-13 16:45:03 +03:00
Roman Telezhynskyi
6ec1826fbd Popup calendar.
--HG--
branch : develop
2015-10-13 16:38:07 +03:00
Roman Telezhynskyi
c9ff24dd79 Resolved issue #378. Change 'sex' field name to 'gender'.
--HG--
branch : develop
2015-10-13 11:13:43 +03:00
Roman Telezhynskyi
1ba9855d22 Resolved issue #377. Add blank option for 'sex' field in Tape.exe.
--HG--
branch : develop
2015-10-12 20:06:12 +03:00
Roman Telezhynskyi
b14f1db74d lupdate. Several tooltipes.
--HG--
branch : develop
2015-10-12 18:16:12 +03:00
Roman Telezhynskyi
1989c0289e Resolved issue #384. Change tooltip for Tape.exe, 'Add Known', f(x) button.
--HG--
branch : develop
2015-10-12 18:10:31 +03:00
Roman Telezhynskyi
90a3400efc Resolved issue #374. Change tooltip for Tape.exe, 'Add Known', 'Delete' [-]
button.

--HG--
branch : develop
2015-10-12 18:08:25 +03:00
Roman Telezhynskyi
d1b6c90a01 Resolved issue #375. Improve cursor placement after deleting a measurement in
Tape.exe.

--HG--
branch : develop
2015-10-12 18:05:53 +03:00
Roman Telezhynskyi
3b4c4e8261 Resolved issue #376. Add buttons in Tape.exe to move measurement to top or
bottom of list.

--HG--
branch : develop
2015-10-12 17:57:11 +03:00
Roman Telezhynskyi
be398bae93 cppcheck.
--HG--
branch : develop
2015-10-12 14:52:48 +03:00
Roman Telezhynskyi
8b6dbc0463 Fixed Issue #372 (bug when running Valentina from commandline).
--HG--
branch : develop
2015-10-12 10:38:48 +03:00
Valentina Zhuravska
fc39c52b79 Fixed Issue #372 (bug when running Valentina from commandline)
--HG--
branch : develop
2015-10-12 06:28:17 +03:00
Roman Telezhynskyi
7ef6cfa660 Typo. Lupdate.
--HG--
branch : develop
2015-10-11 22:14:19 +03:00
Roman Telezhynskyi
aa0042cc60 Typo. Lupdate.
--HG--
branch : develop
2015-10-11 22:07:51 +03:00
Roman Telezhynskyi
14f1b84bc3 Typo.
--HG--
branch : develop
2015-10-11 21:42:13 +03:00
Roman Telezhynskyi
47b2d03304 "make install" on Windows supports only MinGW.
--HG--
branch : develop
2015-10-11 20:30:16 +03:00
Roman Telezhynskyi
97fdd161b7 Optimization copying files.
--HG--
branch : develop
2015-10-11 20:27:47 +03:00
Roman Telezhynskyi
2c042b82ae stable.cpp only need by MSVC.
--HG--
branch : develop
2015-10-11 13:15:08 +03:00
Roman Telezhynskyi
9e69b03a1b Merge
--HG--
branch : develop
2015-10-11 12:06:31 +03:00
Roman Telezhynskyi
a4b2bb905f Fixed crash on Windows.
--HG--
branch : develop
2015-10-11 12:06:14 +03:00
Valentina Zhuravska
2fe176c40d Fixed pdftops error in Windows
--HG--
branch : develop
2015-10-11 00:25:46 +03:00
Roman Telezhynskyi
b3a7063a9b GCC warnings.
--HG--
branch : develop
2015-10-09 20:26:53 +03:00
Roman Telezhynskyi
c1976401a0 Use CONFIG += silent in release mode.
--HG--
branch : develop
2015-10-09 20:22:49 +03:00
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
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
a43e852977 Show error message if got unknown object type.
--HG--
branch : develop
2015-10-08 09:30:26 +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
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
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
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
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
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
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
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
4f296d46d7 Updated diagrams.
--HG--
branch : feature
2015-09-22 12:11:52 +03:00
Roman Telezhynskyi
305818bd8e Merge
--HG--
branch : develop
2015-09-20 13:12:15 +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
Valentina Zhuravska
77cbcd673e Fixed wrong string in vapplication.cpp
--HG--
branch : develop
2015-09-19 21:02:10 +03:00
Valentina Zhuravska
4423d6b937 Fixed build problem on Windows
--HG--
branch : develop
2015-09-18 23:38:11 +03:00
Roman Telezhynskyi
643b84e159 Fixed build error. Fixed GCC warnings.
--HG--
branch : develop
2015-09-18 18:35:26 +03:00
Valentina Zhuravska
2bfd22c02c Merge
--HG--
branch : develop
2015-09-18 16:41:09 +03:00
Valentina Zhuravska
e3a049715d Replaced pointers by QPointers
--HG--
branch : develop
2015-09-17 23:46:45 +03:00
Roman Telezhynskyi
ec31f7268d Test original and translated measurement names.
--HG--
branch : develop
2015-09-17 21:44:15 +03:00
Valentina Zhuravska
07f928cba7 Fixed memory leaks for labels
--HG--
branch : develop
2015-09-17 03:46:05 +03:00
Valentina Zhuravska
4100b0f9b1 Fixed memory allocation for mouseCoordinate
--HG--
branch : develop
2015-09-16 20:38:54 +03:00
Valentina Zhuravska
6bba2e435b Fixed memory leaks
--HG--
branch : develop
2015-09-16 19:37:33 +03:00
Roman Telezhynskyi
826aac16d3 Run sending a crash report "silently".
--HG--
branch : develop
2015-09-16 16:47:32 +03:00
Sergey Alyoshin
0dc78c818c Internationalize coordinates format in status line
--HG--
branch : develop
2015-09-16 15:51:24 +03:00
Roman Telezhynskyi
54b3f642f3 Relock a pattern file after SaveAs.
--HG--
branch : develop
2015-09-16 14:29:01 +03:00
Roman Telezhynskyi
f2a111f0d2 Show popup message "Measurements was updated". Fixed path to measurements when
sync.

--HG--
branch : develop
2015-09-16 11:03:15 +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
1e806ccc08 New contributors.
--HG--
branch : develop
2015-09-14 10:38:04 +03:00
val177
17d2df653d Fixed issue #362
--HG--
branch : develop
2015-09-14 03:02:18 +03:00
val177
07428353e5 Fixed issue #363
--HG--
branch : develop
2015-09-13 23:19:45 +03:00
Roman Telezhynskyi
59389aa049 Valentina did not read/write the layout dialog settings.
--HG--
branch : develop
2015-09-13 13:07:12 +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
57c1465d00 New token.
--HG--
branch : develop
2015-09-13 10:40:41 +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
ef45bf2a94 Removed translation for the standard table.
--HG--
branch : develop
2015-09-09 14:24:54 +03:00
Roman Telezhynskyi
6f5757efaf Remove unused classes.
--HG--
branch : develop
2015-09-09 14:16:45 +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
7d633d7270 Merge
--HG--
branch : develop
2015-09-08 10:22:42 +03:00
Roman Telezhynskyi
0c8b8514e4 Fixed issue #350.
--HG--
branch : develop
2015-09-08 10:22:09 +03:00
val177
80b0f38f0d Added dxf export
--HG--
branch : feature
2015-09-07 22:47:02 +03:00
Roman Telezhynskyi
b7b8523691 Fixed issue #347.
--HG--
branch : develop
2015-09-07 18:02:17 +03:00
val177
c9eb629e8c Added dxflib
--HG--
branch : feature
2015-09-07 17:39:04 +03:00
Roman Telezhynskyi
b9c91734b4 Conversion measuremnt namses in expressions.
--HG--
branch : develop
2015-09-07 16:51:13 +03:00
Roman Telezhynskyi
d2bb126d04 Conversion individual measurements.
--HG--
branch : develop
2015-09-07 14:51:21 +03:00
val177
ffc51e5d6e Fixed filter in load standart measurements dialog
--HG--
branch : develop
2015-09-05 14:50:52 +03:00
val177
6a63ac7999 Fixed issues #348 and #349
--HG--
branch : develop
2015-09-05 11:59:31 +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
c849cd1a9f Fixed issue #343. Error while building 20150828 develop branch in Qt
(dismine/valentina)

--HG--
branch : develop
2015-08-28 22:54:17 +03:00
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
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
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
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
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
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