Commit Graph

370 Commits

Author SHA1 Message Date
Benjamin Nauck
1254de52d5 Update toolbar icons and add HiDPI versions
--HG--
branch : feature
2016-01-02 03:14:54 +01:00
Benjamin Nauck
c57201fe82 Add support for high dpi bitmap resources
--HG--
branch : feature
2016-01-02 02:40:33 +01:00
Roman Telezhynskyi
d6de99babb Fixed test build fail.
--HG--
branch : develop
2015-12-26 20:04:26 +02:00
Roman Telezhynskyi
37e799ce71 Fixed issue with deleting detail (after union details) and blocked objects.
--HG--
branch : feature
2015-12-26 19:10:02 +02:00
Roman Telezhynskyi
00b8aae5a7 Fixed issue with deleting detail and blocked objects. Part about tool union
still is not fixed.

--HG--
branch : feature
2015-12-26 15:08:41 +02:00
Roman Telezhynskyi
4d3aeaca08 Allow user to ignore warning "This file already opened in another window".
--HG--
branch : develop
2015-12-23 15:26:29 +02:00
Roman Telezhynskyi
d227ce68c2 Show dialog "Fix broken formula" only in GUI mode.
--HG--
branch : develop
2015-12-22 20:12:09 +02:00
Roman Telezhynskyi
8b7602e223 In restore list clear all files that do not exist.
--HG--
branch : develop
2015-12-22 17:39:04 +02:00
Roman Telezhynskyi
6e394a20f2 Resolved issue #256. Crash if open pattern with wrong measurements file.
--HG--
branch : develop
2015-12-22 15:29:16 +02:00
Roman Telezhynskyi
90dac31a2e Discard vmargins.h. Build backport files if only need.
--HG--
branch : develop
2015-12-19 16:38:24 +02:00
Roman Telezhynskyi
1e5def1361 Instead of indexes save and set string values.
--HG--
branch : develop
2015-12-19 15:56:09 +02:00
Roman Telezhynskyi
0c3fcfb14e Merge.
--HG--
branch : develop
2015-12-19 10:09:25 +02:00
Roman Telezhynskyi
2fdd441a1c Fixed issue #420. Crash, not able to to open Standard measurements tables.
--HG--
branch : develop
2015-12-19 10:09:03 +02:00
Valentina Zhuravska
662ae70919 Resolved issue #417. Valentina don't change cursor to arrow when we change the mode
--HG--
branch : develop
2015-12-19 03:20:15 +02:00
Roman Telezhynskyi
af5a74badd Fixed issue #419. Message in footer obsolete.
--HG--
branch : develop
2015-12-18 14:01:13 +02:00
Roman Telezhynskyi
b2ec130d7e Fixed issue #167. Window modified indication disappears even we have unsaved
change.

--HG--
branch : develop
2015-12-18 13:57:03 +02:00
Roman Telezhynskyi
6ba9bb8b28 Little optimization.
--HG--
branch : develop
2015-12-17 21:01:06 +02:00
Valentina Zhuravska
550816a958 Resolved issue #270. Selection point by clicking on label in tools seam allowance and union.
--HG--
branch : feature
2015-12-17 12:03:44 +02:00
Roman Telezhynskyi
e39d42146c Lupdate. Fixed typos.
--HG--
branch : develop
2015-12-15 16:39:26 +02:00
Roman Telezhynskyi
7bc0399134 New contributor.
--HG--
branch : develop
2015-12-14 21:32:11 +02:00
Roman Telezhynskyi
88d22ee3dd Fixed incorrect string place markers.
--HG--
branch : develop
2015-12-14 13:06:04 +02:00
Roman Telezhynskyi
7ef2c22c47 Fixed bug with setting default height and size. Relative to the issue #418.
--HG--
branch : develop
2015-12-14 09:39:57 +02:00
Roman Telezhynskyi
f7814ed6ba Lupdate. Fixed issue in English string.
--HG--
branch : develop
2015-12-13 19:30:25 +02:00
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
abb7147bc8 Return 0 if default height/size is not custom.
--HG--
branch : develop
2015-12-12 13:15:29 +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
da827ad952 QComboBox clear button in property browser.
--HG--
branch : develop
2015-12-09 13:13:34 +02:00
Roman Telezhynskyi
6f1dcb7592 Resolved build issue on OpenSuse. The method setClearButtonEnable is available
only since Qt 5.2.

--HG--
branch : develop
2015-12-09 12:40:43 +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
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
1ccb8f3452 Optimization MaybeSave() method for Mac OS.
--HG--
branch : develop
2015-12-02 21:51:19 +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
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
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
0e70d335ce Changes for new debian package.
--HG--
branch : develop
2015-11-21 19:34:23 +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
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
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
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
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
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
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
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
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
65d2213ef9 Coverity scan missing includes.
--HG--
branch : develop
2015-10-18 22:30:51 +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
37f11e732d Check that $TOK$ and $POS$ there are in translated strings.
--HG--
branch : develop
2015-10-16 14:55:23 +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
f0d87ef440 Prerape Windows installer.
--HG--
branch : develop
2015-10-14 13:06:50 +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
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
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
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