Commit graph

458 commits

Author SHA1 Message Date
dismine 6b4067ee1b Support local separator for numbers in formulas. Fix bug in translation formula.
--HG--
branch : develop
2014-05-27 17:58:25 +03:00
dismine 1501eb77eb Remember last open file path.
--HG--
branch : develop
2014-05-27 13:08:16 +03:00
dismine f99b571c6e Move documentation to cpp file.
--HG--
branch : develop
2014-05-27 12:27:02 +03:00
dismine ed844c1c82 Alwayse show scrollbars for scene.
--HG--
branch : develop
2014-05-27 12:06:36 +03:00
dismine 6f7a30f3a7 Errors after merging.
--HG--
branch : DialogTools
2014-05-26 17:33:44 +03:00
dismine 6f009a8ee4 Merge with develop
--HG--
branch : DialogTools
2014-05-26 17:26:25 +03:00
dismine 19ab8f9299 Set aligment for table.
--HG--
branch : feature
2014-05-26 16:42:41 +03:00
dismine 063bacc444 Show translated measurements name in table.
--HG--
branch : feature
2014-05-26 16:36:45 +03:00
dismine 51a420bbdd Show language independent formula in dialog.
--HG--
branch : feature
2014-05-26 16:18:48 +03:00
Patrick Proy 2afc195a87 Backout changeset 38e907833133b065c72ba362fed040f608d4b66d
--HG--
branch : XML Editor
2014-05-26 14:20:14 +02:00
Patrick Proy 5cb0a5cf96 Multi lines for formula and apply button are now working for DialogEndLine
--HG--
branch : DialogTools
2014-05-26 13:48:42 +02:00
dismine 6170aea8b6 Russian translation.
--HG--
branch : feature
2014-05-26 11:41:18 +03:00
Patrick Proy e645e671de First test for apply on creation
--HG--
branch : DialogTools
2014-05-26 09:03:51 +02:00
Patrick Proy 2913e55024 Apply button works like ok button in first dialog.
Still needs more code to be able to update on first dialog

--HG--
branch : DialogTools
2014-05-25 23:50:21 +02:00
Patrick Proy aa2eda12ee First change for "apply button" (works only when modifying an existing point).
--HG--
branch : DialogTools
2014-05-25 21:54:17 +02:00
Patrick Proy 43fe3e1371 Change DialogEndLine formula to multiline
--HG--
branch : DialogTools
2014-05-25 11:46:54 +02:00
dismine cfe682bb96 Add italy and dutch languages.
--HG--
branch : feature
2014-05-24 19:56:40 +03:00
dismine 9aed00904c lupdate doesn't see string in variables.
--HG--
branch : feature
2014-05-24 19:50:40 +03:00
Patrick Proy 81e8638a6d Change formula input to multiline (in dialogendline only )
Other dialogs don't work for now on this version.

--HG--
branch : XML Editor
2014-05-24 16:23:47 +02:00
dismine 0f4cd08eed Translation formula.
--HG--
branch : feature
2014-05-23 21:11:13 +03:00
dismine b94ab9bda6 Initialization translation for postfix operators.
--HG--
branch : feature
2014-05-23 10:14:21 +03:00
dismine ccde48e3bf Factory function for creating new parser variables. New methods what return
tokens and numbers.

--HG--
branch : feature
2014-05-22 15:11:14 +03:00
dismine 1bbee62a79 App for running tests for QmuParser library.
--HG--
branch : feature
2014-05-22 11:08:12 +03:00
dismine 2896d7feeb Parse tag version in pattern file.
--HG--
branch : feature
2014-05-21 20:33:40 +03:00
dismine 7a5f12b77d Little fix for tools dialogs.
--HG--
branch : feature
2014-05-21 20:22:40 +03:00
dismine 34bd172f9a Clear error message from parser.
--HG--
branch : feature
2014-05-21 19:59:53 +03:00
dismine 107b131fdf New tag "version" in empty pattern file.
--HG--
branch : feature
2014-05-21 17:40:21 +03:00
dismine da34abaa85 Wrong attribute in measurement front_chest_width.
--HG--
branch : feature
2014-05-21 17:07:08 +03:00
dismine 5adc0555ef Save all variable in dynamic array.
--HG--
branch : feature
2014-05-21 16:51:47 +03:00
dismine e4ab794211 Catch math parser exceptions.
--HG--
branch : feature
2014-05-21 13:12:52 +03:00
dismine 8c2c8a8a7e Delete old methods.
--HG--
branch : feature
2014-05-21 11:54:34 +03:00
dismine bd5fda320f Use new math parser instead old.
--HG--
branch : feature
2014-05-21 11:51:16 +03:00
dismine 0b16424a5e Update for Precompiled Headers in Qt.
--HG--
branch : feature
2014-05-20 16:02:05 +03:00
dismine ffda1e5f8d All pattern pieces instead All drawings.
--HG--
branch : XML Editor
2014-05-19 21:16:26 +03:00
dismine b83633541b Hide header.
--HG--
branch : XML Editor
2014-05-19 21:07:51 +03:00
dismine dc1d7c5fe2 Make xml editor disable on the start.
--HG--
branch : XML Editor
2014-05-19 21:03:12 +03:00
Patrick Proy bb3e8e58bb Corrected display problems when restoring nodes
Changes casting styles

--HG--
branch : XML Editor
2014-05-19 08:04:33 +02:00
Patrick Proy 99818c3d28 Added node delete
Added undo change button

--HG--
branch : XML Editor
2014-05-18 21:42:36 +02:00
dismine e1c3f418e5 GCC warnings.
--HG--
branch : XML Editor
2014-05-16 20:24:51 +03:00
dismine b28bd29092 Vera++.
--HG--
branch : XML Editor
2014-05-16 20:00:13 +03:00
dismine 1489dc6a1c Unix Line Endings. Need for Vera++.
--HG--
branch : XML Editor
2014-05-16 19:39:46 +03:00
Patrick Proy cc572df448 Code style
--HG--
branch : XML Editor
2014-05-16 17:13:45 +02:00
Patrick Proy c1bf6c8a73 Code style
--HG--
branch : XML Editor
2014-05-16 16:49:58 +02:00
dismine 7b617223e9 Get format version.
--HG--
branch : feature
2014-05-16 17:11:31 +03:00
Patrick Proy f51f703026 Main code push after branch creation
--HG--
branch : XML Editor
2014-05-16 14:51:39 +02:00
Patrick Proy 9bf2c4662d Branch create
--HG--
branch : XML Editor
2014-05-16 13:19:22 +02:00
dismine 37cab897fa Make measurements names more unique.
--HG--
branch : feature
2014-05-16 14:17:25 +03:00
dismine 91c7a3c9a3 Change for reading standard measurements.
--HG--
branch : feature
2014-05-16 13:34:12 +03:00
dismine 3fc99547fb Change for reading individual measurements.
--HG--
branch : feature
2014-05-16 13:00:33 +03:00
dismine f2cc874e7e Initial extended measurements.
--HG--
branch : feature
2014-05-15 16:18:31 +03:00
dismine aea360d8de Fixed Issue #151.
--HG--
branch : feature
2014-05-15 12:47:08 +03:00
dismine e3593bf577 Return new path for individual measurements table.
--HG--
branch : feature
2014-05-15 12:35:36 +03:00
dismine e95b886eb4 Change in dialog individual measurements.
--HG--
branch : feature
2014-05-15 12:29:12 +03:00
dismine ac3f02ab49 Changes in formats.
--HG--
branch : feature
2014-05-15 10:42:15 +03:00
dismine 28737034f3 Way to store string for translation.
--HG--
branch : feature
2014-05-13 11:08:37 +03:00
dismine 95e32b1e44 In release mode on Unix search translations first in local directory.
--HG--
branch : develop
2014-05-12 12:35:33 +03:00
dismine f17a12d147 Cppcheck.
--HG--
branch : develop
2014-05-11 21:15:32 +03:00
dismine 5bed7e7a86 Add local revision to version number.
--HG--
branch : develop
2014-05-11 21:03:01 +03:00
dismine 1c28bb1da7 XP-style Common Dialogs.
--HG--
branch : develop
2014-05-11 20:22:11 +03:00
dismine b10b0866bb Fix path to icon.qrc.
--HG--
branch : develop
2014-05-11 20:06:02 +03:00
dismine c4526544b6 Check Qt version in app.
--HG--
branch : develop
2014-05-07 19:59:54 +03:00
dismine 84550b6146 Moving documentation from header.
--HG--
branch : develop
2014-05-07 19:55:57 +03:00
dismine de67f1bfa7 Fix for files without license.
--HG--
branch : develop
2014-05-07 11:53:47 +03:00
dismine 1c96269f90 Mark methods nothrow - Q_DECL_NOEXCEPT.
--HG--
branch : develop
2014-05-07 11:33:56 +03:00
dismine b906b0dc68 Little fix to "About program" dialog.
--HG--
branch : develop
2014-05-06 17:50:28 +03:00
dismine d4fc90e4ce No, on unix need seek qmuparser instead qmuparser2. I was wrong.
--HG--
branch : develop
2014-05-06 17:43:47 +03:00
dismine 964d0e4c4d Merge
--HG--
branch : develop
2014-05-06 17:37:44 +03:00
dismine 6a8869bc1b Made possible methods include.
--HG--
branch : develop
2014-05-06 17:36:42 +03:00
Patrick Proy 2d36ebe67c Changed Unix part too.
--HG--
branch : develop
2014-05-06 16:31:34 +02:00
Patrick Proy be34eaa657 Issue # 139 & 140
--HG--
branch : develop
2014-05-06 16:28:49 +02:00
Patrick Proy 665a65a8f5 Changed library name in inclusion to match real library name (libqmuparser2.a / dll)
--HG--
branch : develop
2014-05-06 16:05:51 +02:00
Patrick Proy 5db630d210 Changed version.h path in valentina.rc and remove unused include in version.h
--HG--
branch : develop
2014-05-06 16:02:18 +02:00
dismine 88c8c7ec41 Merge
--HG--
branch : develop
2014-05-06 15:16:30 +03:00
dismine f93cd5703c Script for generation documentations.
--HG--
branch : feature
2014-05-06 15:07:52 +03:00
dismine 707598691d Changes in doxyfiles.
--HG--
branch : feature
2014-05-06 14:36:30 +03:00
dismine 2e6cc94e19 delete Q_UNREACHABLE().
--HG--
branch : feature
2014-05-06 13:51:14 +03:00
dismine 3c8338faae Use nullptr instead NULL.
--HG--
branch : feature
2014-05-06 12:48:48 +03:00
dismine d65368bafb Tests passed.
--HG--
branch : feature
2014-05-06 12:45:21 +03:00
dismine 60ba211f2a Porting new change from muparser.
--HG--
branch : feature
2014-05-05 10:29:14 +03:00
dismine bdb788e7a7 Highlight start of method.
--HG--
branch : feature
2014-05-02 14:11:30 +03:00
dismine 9ca9455c80 For nothrow methods set Q_DECL_NOEXCEPT.
--HG--
branch : feature
2014-05-02 11:43:02 +03:00
dismine 79ef0e914e CppCheck.
--HG--
branch : feature
2014-05-02 11:09:10 +03:00
dismine 362638066a Vera++.
--HG--
branch : feature
2014-05-01 14:33:40 +03:00
dismine 37ecf9fd86 Fix gcc's warnings.
--HG--
branch : feature
2014-05-01 12:55:23 +03:00
dismine f505234bbd My surname like in my passport.
--HG--
branch : feature
2014-04-30 08:38:52 +03:00
dismine 2c77a73343 Apply project code style.
--HG--
branch : feature
2014-04-30 08:32:29 +03:00
dismine 0b49785255 First success build after all changes.
--HG--
branch : feature
2014-04-28 21:41:38 +03:00
dismine 7c1d22c5f4 Try use QString where posible.
--HG--
branch : feature
2014-04-26 11:16:19 +03:00
dismine 9c6cac2ec4 Delete #include <vector>.
--HG--
branch : feature
2014-04-26 11:04:59 +03:00
dismine 5c3845ff00 QVector instead std::vector.
--HG--
branch : feature
2014-04-26 11:00:42 +03:00
dismine 541a5becbd Use standard math constants in tests.
--HG--
branch : feature
2014-04-26 10:53:10 +03:00
dismine 148d2fb3f7 We don't need parser for integer value.
--HG--
branch : feature
2014-04-26 10:51:14 +03:00
dismine d8f0cc2824 Use standard math constants.
--HG--
branch : feature
2014-04-26 10:40:44 +03:00
dismine 21c38b446d Use Qt math function.
--HG--
branch : feature
2014-04-26 10:23:50 +03:00
dismine 59c7405b88 QStack instead QmuParserStack.
--HG--
branch : feature
2014-04-26 09:01:41 +03:00
dismine 2f97def4bf Use Q_ASSERT marcros instead MUP_ASSERT and MUP_FAIL.
--HG--
branch : feature
2014-04-25 18:10:56 +03:00
dismine 11f527143b Used qreal for datatype. Deleted _T() macros.
--HG--
branch : feature
2014-04-25 18:01:23 +03:00
dismine 0b4d69f821 Successful build after adding muParser library.
--HG--
branch : feature
2014-04-25 15:58:14 +03:00
dismine 1e99fb68c1 Change project structure for support libs.
--HG--
branch : feature
2014-04-25 11:58:33 +03:00
dismine 8f281a31c2 For Coverity Scan.
--HG--
branch : develop
2014-04-17 20:18:26 +03:00
dismine ba1c9dd4a7 Setting application info.
--HG--
branch : develop
2014-04-16 18:32:41 +03:00
dismine 4a404a4ab8 Merge
--HG--
branch : develop
2014-04-15 21:39:08 +03:00
dismine 9aeb73a56b We need this includes for building with Coverity Scan Tool.
--HG--
branch : develop
2014-04-15 21:38:36 +03:00
Sabine Schmaltz 18914c3b5b merged and resolved conflicts
--HG--
branch : develop
2014-04-08 10:51:16 +02:00
Susan Spencer 939b18fb4e Little bugs fixes.
--HG--
branch : develop
2014-04-04 10:06:33 +02:00
dismine a74351495c Issues #19, #7, #78
--HG--
branch : feature
2014-03-28 15:11:46 +02:00
dismine 26c8884af0 Noisy Debug Hook for Qt.
--HG--
branch : feature
2014-03-27 13:41:00 +02:00
dismine 7c18e85305 Dialog Increment still not tested.
--HG--
branch : feature
2014-03-26 06:39:07 +02:00
dismine 54cca86be5 Opening empty pattern.
--HG--
branch : feature
2014-03-24 17:02:57 +02:00
dismine c2bb84ce38 Saving pattern with individual table.
--HG--
branch : feature
2014-03-23 19:04:45 +02:00
dismine 17bd0253a2 Saving pattern with standard table.
--HG--
branch : feature
2014-03-23 16:36:34 +02:00
dismine 69309730ff After this commit begin testing.
--HG--
branch : feature
2014-03-21 12:08:29 +02:00
dismine fa06c04cd2 Refactoring. Delete global variables.
--HG--
branch : feature
2014-03-19 20:27:11 +02:00
Sabine Schmaltz e6f131cff3 some more documentation improvements
--HG--
branch : develop
2014-03-19 13:11:45 +01:00
Sabine Schmaltz d81c8d209f improvements to the updated comments
--HG--
branch : develop
2014-03-18 23:36:32 +01:00
dismine f641894abd Refactoring dialog increment.
--HG--
branch : feature
2014-03-17 20:13:39 +02:00
dismine 5b36420466 Hide size and height option in individual mode.
--HG--
branch : feature
2014-03-16 15:17:39 +02:00
dismine 61c4d8df0c Get measurements units.
--HG--
branch : feature
2014-03-16 08:32:52 +02:00
dismine a950a9f59b Choose individual measurements.
--HG--
branch : feature
2014-03-15 22:51:12 +02:00
dismine 2cddab80d4 Delete parametr name and use last parameter in string list instead.
--HG--
branch : feature
2014-03-14 20:47:50 +02:00
dismine de85cad839 Creation list with all tables with standard measurements.
--HG--
branch : feature
2014-03-14 19:54:20 +02:00
dismine 4d210ddd48 Each exception can show error message from previous.
--HG--
branch : feature
2014-03-14 17:59:28 +02:00
dismine 7d01bca72d Parsing individual measurements table.
--HG--
branch : feature
2014-03-14 16:12:53 +02:00
dismine ed568678be Parsing standard measurements table.
--HG--
branch : feature
2014-03-11 22:19:13 +02:00
dismine b2d26e5ae8 toPixel and fromPixel with units support - mm, cm, inch.
--HG--
branch : feature
2014-03-11 17:04:04 +02:00
dismine 8f5e01fbb2 Enum Units.
--HG--
branch : feature
2014-03-11 13:43:24 +02:00
dismine db2a3e9ca9 Operator new throw exception bad_alloc, so does not make sense to use
Q_CHECK_PTR macros for check.

--HG--
branch : feature
2014-03-10 18:22:55 +02:00
dismine e3f412567e Initial commit for classes working with measurements tables.
--HG--
branch : feature
2014-03-10 17:55:51 +02:00
dismine d06bc59000 Vera++.
--HG--
branch : feature
2014-03-06 17:35:24 +02:00
dismine 39d0e94cec Restore cursor after warning.
--HG--
branch : feature
2014-03-06 17:31:36 +02:00
dismine 24245bf759 Cppcheck.
--HG--
branch : feature
2014-03-06 17:28:31 +02:00
dismine dd78969c9c Refactoring.
--HG--
branch : feature
2014-03-06 16:09:22 +02:00
dismine 2fc4d95faa Refactoring.
--HG--
branch : feature
2014-03-06 16:01:15 +02:00
dismine ab19b30713 Refactoring.
--HG--
branch : feature
2014-03-06 15:35:14 +02:00
dismine eba24ec34b Refactoring.
--HG--
branch : feature
2014-03-06 15:28:46 +02:00
dismine 9b78d1a0ab Refactoring.
--HG--
branch : feature
2014-03-04 20:14:11 +02:00
dismine 2610487fe5 Refactoring.
--HG--
branch : feature
2014-03-04 19:13:10 +02:00
dismine e30d1fe9dd Refactoring.
--HG--
branch : feature
2014-03-04 18:50:54 +02:00
dismine 96c19190a0 Refactoring.
--HG--
branch : feature
2014-03-04 14:55:57 +02:00
dismine b90fc0c1a6 Refactoring.
--HG--
branch : feature
2014-03-03 20:14:56 +02:00
dismine b15bb4fd33 Left only one exception.
--HG--
branch : feature
2014-03-03 19:32:38 +02:00
dismine 2ca2595968 Refactoring catching exceptions.
--HG--
branch : feature
2014-03-03 17:42:14 +02:00
dismine 978858be50 Refactoring main windows.
--HG--
branch : feature
2014-03-03 17:30:04 +02:00
dismine 084061fbd5 Refactoring dialog history.
--HG--
branch : feature
2014-03-02 20:32:54 +02:00
dismine 1a2d1cbff8 Merge with develop
--HG--
branch : feature
2014-02-28 15:21:52 +02:00
dismine ebf03569da Replaced method connect with old syntax.
--HG--
branch : develop
2014-02-28 15:12:39 +02:00
dismine 1ab3b6c608 Set default name for file if empty.
--HG--
branch : develop
2014-02-28 15:06:14 +02:00
dismine 466bc98020 Use inline functions instead of plain old #define macros. QPen set width in
pixel, so need convert mm to pixel.

--HG--
branch : develop
2014-02-28 14:58:37 +02:00
dismine 95e02fc043 QProcess show message "unknown error" when did not exist error.
--HG--
branch : develop
2014-02-28 14:30:23 +02:00
dismine 87f2621037 Inkscape view size objects in svg file wrong if don't set viewbox attribute.
--HG--
branch : develop
2014-02-28 14:17:41 +02:00