Commit Graph

139 Commits

Author SHA1 Message Date
Roman Telezhynskyi
a5bfb2af35 Resore height and size after load new measurements data.
--HG--
branch : develop
2015-12-12 16:36:00 +02:00
Roman Telezhynskyi
3aa1ccaea4 Optimization. Call creation toolbar only if was not uploaded any measurements.
--HG--
branch : develop
2015-12-11 17:06:20 +02:00
Roman Telezhynskyi
93a52bd889 Allow user to set default size and height for a pattern.
--HG--
branch : develop
2015-12-11 16:19:11 +02:00
Roman Telezhynskyi
3ebac9ce59 Test limited gradation list.
--HG--
branch : develop
2015-12-10 12:19:31 +02:00
Roman Telezhynskyi
0c731ea406 Do not update the recent files list in export/test mode.
--HG--
branch : develop
2015-12-09 13:37:38 +02:00
Roman Telezhynskyi
ca24b201e1 Refactor the method name.
--HG--
branch : develop
2015-12-09 13:31:33 +02:00
Roman Telezhynskyi
36f586ec58 End file opening if error occurred.
--HG--
branch : develop
2015-12-06 18:47:19 +02:00
Roman Telezhynskyi
830c43a89d Mac OS proxy icon.
--HG--
branch : develop
2015-12-05 16:16:29 +02:00
Roman Telezhynskyi
7054714114 Fixed dock menu on Mac OS.
--HG--
branch : develop
2015-12-05 11:50:32 +02:00
Roman Telezhynskyi
454f23a399 Fix incorrect view on Windows.
--HG--
branch : develop
2015-12-04 00:33:54 +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
33087b2fe8 Added support Mac OS Dock Menu.
--HG--
branch : develop
2015-12-03 10:43:31 +02:00
Roman Telezhynskyi
1ccb8f3452 Optimization MaybeSave() method for Mac OS.
--HG--
branch : develop
2015-12-02 21:51:19 +02:00
Roman Telezhynskyi
85bb6141ab Clang warnings.
--HG--
branch : develop
2015-11-30 12:55:39 +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
Valentina Zhuravska
2fbd01d89a Correct save of currentDrawIndex
--HG--
branch : feature
2015-11-25 04:29:12 +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 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
Valentina Zhuravska
aba82baa98 Fixed issue #397. Added UpdateWindowTitle
--HG--
branch : feature
2015-11-04 07:06: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
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
88324a11f2 Static Code Analysis.
--HG--
branch : develop
2015-10-28 16:22:36 +02:00
Roman Telezhynskyi
caa1a46b01 New option Measurements->Unload measurements.
--HG--
branch : develop
2015-10-26 13:21:49 +02:00
Roman Telezhynskyi
1e99d00a54 Hide lock file.
--HG--
branch : develop
2015-10-26 09:57:20 +02:00
Roman Telezhynskyi
467ffbd132 ICC warnings.
--HG--
branch : develop
2015-10-20 17:32:01 +03:00
Roman Telezhynskyi
4d90589f01 Clang warnings.
--HG--
branch : develop
2015-10-19 16:21:06 +03:00
Roman Telezhynskyi
7ef6cfa660 Typo. Lupdate.
--HG--
branch : develop
2015-10-11 22:14:19 +03:00
Roman Telezhynskyi
a4b2bb905f Fixed crash on Windows.
--HG--
branch : develop
2015-10-11 12:06:14 +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
afce2cb0ba Correct update measurements.
--HG--
branch : develop
2015-10-07 16:58:00 +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
06a54ba40c Use qUtf8Printable.
--HG--
branch : develop
2015-10-01 18:34:03 +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
31af1687a6 Improve handling error messages in console mode.
--HG--
branch : develop
2015-09-28 21:54:41 +03:00
Roman Telezhynskyi
25561858f0 Check known names after conversion.
--HG--
branch : develop
2015-09-25 13:45:58 +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
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
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
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
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
val177
17d2df653d Fixed issue #362
--HG--
branch : develop
2015-09-14 03:02:18 +03:00
Roman Telezhynskyi
ef45bf2a94 Removed translation for the standard table.
--HG--
branch : develop
2015-09-09 14:24:54 +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
Roman Telezhynskyi
b7b8523691 Fixed issue #347.
--HG--
branch : develop
2015-09-07 18:02:17 +03:00
Roman Telezhynskyi
b9c91734b4 Conversion measuremnt namses in expressions.
--HG--
branch : develop
2015-09-07 16:51:13 +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
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
7f1d2934a7 Merged changes
--HG--
branch : develop
2015-08-27 21:06:40 +03:00
Roman Telezhynskyi
e3d13cd3b5 Wrong conversion for the tag unit.
--HG--
branch : feature
2015-08-27 14:00:20 +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
Roman Telezhynskyi
62a6fcce44 Sync measurements.
--HG--
branch : feature
2015-08-23 14:01:02 +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
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
5fa0badfc1 Calling dialog for creation an expression.
--HG--
branch : feature
2015-07-24 15:06:53 +03:00
Roman Telezhynskyi
ac187de0c9 "Maybe save" message.
--HG--
branch : feature
2015-07-18 16:01:57 +03:00
Roman Telezhynskyi
4aa690d55d Save and Save as.
--HG--
branch : feature
2015-07-18 15:39:33 +03:00
Roman Telezhynskyi
bc8d2af626 Separate folder for valentina binary code.
--HG--
branch : feature
2015-07-10 12:24:47 +03:00