Commit Graph

2096 Commits

Author SHA1 Message Date
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
e781b8252d Cut less scene rect size for showing axis.
--HG--
branch : develop
2015-12-04 22:21:07 +02:00
Roman Telezhynskyi
6de8a44314 Try to fix flowing of drawing.
--HG--
branch : develop
2015-12-04 21:49:00 +02:00
Roman Telezhynskyi
dc25101d78 Refactoring. Call parent's method.
--HG--
branch : develop
2015-12-04 21:47:44 +02:00
Roman Telezhynskyi
2b0e358cdd Saving position of the base point should be handled in ItemPositionChange
section.

--HG--
branch : develop
2015-12-04 21:46:52 +02:00
Roman Telezhynskyi
6d566c2715 Make fictive scene bigger in all cases.
--HG--
branch : develop
2015-12-04 10:04:43 +02:00
Roman Telezhynskyi
019b3dc38b Tape create .lock file for wrong file path.
--HG--
branch : develop
2015-12-04 02:58:39 +02:00
Roman Telezhynskyi
454f23a399 Fix incorrect view on Windows.
--HG--
branch : develop
2015-12-04 00:33:54 +02:00
Roman Telezhynskyi
4da3c9d7a5 Forgot to hide QMAKE_EXTRA_COMPILERS.
--HG--
branch : develop
2015-12-03 22:42:26 +02:00
Roman Telezhynskyi
ae43c66bd9 Fixed issue #412. Error in Detail using 'Segment a Simple Curve' tool.
--HG--
branch : develop
2015-12-03 21:56:40 +02:00
Roman Telezhynskyi
b431f65ff2 Fixed issue #411. Curve Tool handles detach from curve.
--HG--
branch : develop
2015-12-03 19:50:42 +02:00
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
Valentina Zhuravska
dfa46dc1cd Added mousePressEvent and changed QApplication::setOverrideCursor to SetOverrideCursor
--HG--
branch : feature
2015-12-02 23:07:23 +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
Valentina Zhuravska
75a4acaea7 Resolved Issue #272. Show that user can move workpiece.
--HG--
branch : feature
2015-12-02 21:33:42 +02:00
Roman Telezhynskyi
6cd674ec0f QGraphicsView Zooming in and out under mouse position using mouse wheel finally
works like i want.

--HG--
branch : develop
2015-12-02 20:39:25 +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
477a95798a Optimization line color combobox for Mac.
--HG--
branch : develop
2015-12-01 17:13:57 +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 Telezhinskyi
3dc675e0ce Merged in ValentinaZhuravska/valentina/feature (pull request #81)
Resolved issue #80.

--HG--
branch : develop
2015-11-29 16:43:59 +02:00
Valentina Zhuravska
f91fbaaa01 We need do set decimals before we set value
--HG--
branch : feature
2015-11-29 16:42: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
Valentina Zhuravska
cd15fd711e Resolved issue #80. Choice between inches and centimeters in options
--HG--
branch : feature
2015-11-28 22:48:43 +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
70cc2b6f95 QDebugStateSaver available only since Qt 5.1.
--HG--
branch : develop
2015-11-28 12:36:54 +02:00
Roman Telezhynskyi
4f776f1fbb Error "rcc: Unknown option: '--binary'"
--HG--
branch : develop
2015-11-28 12:01:24 +02:00
Roman Telezhynskyi
b6506b2cae Wrong defining QLoggingCategory.
--HG--
branch : develop
2015-11-27 14:04:23 +02:00
Roman Telezhynskyi
97d60004f6 Update debian files.
--HG--
branch : develop
2015-11-26 15:00:04 +02:00
Roman Telezhynskyi
f0691d7c9f Mark implicitly shared classes as a movable type. This can improve performance
and memory efficiency when using Qt's container classes.

--HG--
branch : develop
2015-11-25 20:56:17 +02:00
Roman Telezhynskyi
783e3d57c2 Support QGraphicsView autoscroll of a draged object.
--HG--
branch : develop
2015-11-25 19:26:37 +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
8f47af2c56 GCC warning.
--HG--
branch : develop
2015-11-22 19:45:20 +02:00
Roman Telezhinskyi
4c3eae4c80 Merged in ValentinaZhuravska/valentina/feature (pull request #78)
Tests for SumTrapezoids method in VAbstractDetail class

--HG--
branch : develop
2015-11-22 18:59:07 +02:00
Valentina Zhuravska
88503bb806 Added comments to tests for SumTrapezoids
--HG--
branch : feature
2015-11-22 18:56:49 +02:00
Roman Telezhynskyi
b7caafb0c4 Fixed test failure.
--HG--
branch : develop
2015-11-22 17:49:36 +02:00
Valentina Zhuravska
56d655f2ff Tests for SumTrapezoids method in VAbstractDetail class
--HG--
branch : feature
2015-11-22 17:08:22 +02:00
Roman Telezhynskyi
e8570f9812 Merge
--HG--
branch : develop
2015-11-22 17:02:08 +02:00
Valentina Zhuravska
d575ad5ad3 Return false if we have less than 3 points
--HG--
branch : feature
2015-11-22 16:58:58 +02:00
Valentina Zhuravska
3e9793dbbb We don't need variable points in method Square
--HG--
branch : feature
2015-11-22 16:47:50 +02:00
Valentina Zhuravska
6c653163f9 Erased QString(" ")
--HG--
branch : feature
2015-11-22 16:36:55 +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
Valentina Zhuravska
d679187f15 Fixed SumTrapezoids method
--HG--
branch : feature
2015-11-22 15:58:31 +02:00
Valentina Zhuravska
40ef4732ca Changed SumTrapezoids method to static
--HG--
branch : feature
2015-11-22 03:01:56 +02:00
Valentina Zhuravska
e8deb4b29c The user must select points in a clockwise direction
--HG--
branch : feature
2015-11-22 01:52:18 +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
0473db2947 Load also qtbase_*.qm files.
--HG--
branch : develop
2015-11-17 16:27:51 +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
ab526a54b4 New icon in the icon theme 'help-about'.
--HG--
branch : develop
2015-11-17 12:45:22 +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
7ef98c3c4b Fixed building on Linux.
--HG--
branch : develop
2015-11-17 12:17:53 +02:00
Roman Telezhynskyi
e31a6eb841 Merge
--HG--
branch : develop
2015-11-16 22:04:56 +02:00
Roman Telezhynskyi
3a81bebf93 Copy Qt's translations inside app bundle.
--HG--
branch : develop
2015-11-16 22:04:34 +02:00
Valentina Zhuravska
fe23631251 Changed pixmap and icon to const, removed setTextFormat
--HG--
branch : feature
2015-11-16 17:54:45 +02:00
Valentina Zhuravska
e0237e901f Added help label to detail mode
--HG--
branch : feature
2015-11-16 17:34:16 +02:00
Roman Telezhynskyi
3347d0ad77 Clang warnings.
--HG--
branch : develop
2015-11-16 14:08:15 +02:00
Roman Telezhynskyi
96b2d644e1 Fixed broken compatible with higher Qt versions.
--HG--
branch : develop
2015-11-16 14:07:28 +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
14e3c06833 Improved test TST_QmuParserErrorMsg::TestEErrorCodes().
--HG--
branch : develop
2015-11-15 21:09:52 +02:00
Roman Telezhynskyi
d118ccb218 Fix for calculating more accurate unclosed seam allowance.
--HG--
branch : develop
2015-11-15 20:49:16 +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
af74da95af Corrected measurement N04 (rise_length_side_sitting) short description.
--HG--
branch : develop
2015-11-15 17:57:59 +02:00
Roman Telezhynskyi
089e667f48 Scale diagrams according to screen resolution.
--HG--
branch : develop
2015-11-15 17:48:48 +02:00
Valentina Zhuravska
d253db879f ScrollUp and scrollDown is enabled if we have more than 1 objects in a detail
--HG--
branch : feature
2015-11-13 15:23:56 +02:00
Valentina Zhuravska
13ff0d7973 Removed unwanted strings
--HG--
branch : feature
2015-11-13 14:54:26 +02:00