Commit Graph

366 Commits

Author SHA1 Message Date
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
dismine
e3e449f68e Dialog detail fixed spinbox min, max values.
--HG--
branch : develop
2014-02-28 14:15:03 +02:00
dismine
9bc3660940 Optimization switch - macros Q_UNREACHABLE().
--HG--
branch : feature
2014-02-27 11:30:05 +02:00
dismine
79f2ddde2a Vera++.
--HG--
branch : feature
2014-02-26 11:51:37 +02:00
dismine
25e6df1c1d Methods can be static.
--HG--
branch : feature
2014-02-26 11:38:14 +02:00
dismine
4fcd7d9b25 NULL (0) replaced with nullptr.
--HG--
branch : feature
2014-02-26 11:22:05 +02:00
dismine
42c54aa503 Inline member functions defined outside the class.
--HG--
branch : feature
2014-02-26 10:18:59 +02:00
dismine
313d4aad6b Refactoring if-else. Static members instead strings.
--HG--
branch : feature
2014-02-25 20:03:17 +02:00
dismine
1b3de9e4a2 Make method ValidatePattern static.
--HG--
branch : feature
2014-02-25 16:55:02 +02:00
dismine
e184fcc6a7 Use for id quint32 type instead qint64.
--HG--
branch : feature
2014-02-25 16:40:24 +02:00
dismine
de0200ca2a Refactoring VDomDocument, creation VPattern class.
--HG--
branch : feature
2014-02-25 16:02:09 +02:00
dismine
0389e29716 GCC warning options.
--HG--
branch : feature
2014-02-22 18:30:37 +02:00
dismine
02ef7c0e09 Initial implamentation dialog individual measurement.
--HG--
branch : feature
2014-02-22 17:16:33 +02:00
dismine
ccbd9415f0 Replaced Q_WS_WIN32 with Q_OS_WIN.
--HG--
branch : feature
2014-02-21 16:58:07 +02:00
dismine
41c80d040f Almost implemented dialog standard measurements.
--HG--
branch : feature
2014-02-21 16:55:48 +02:00
dismine
fc427a04c4 Change in project structure.
--HG--
branch : feature
2014-02-21 15:04:39 +02:00
dismine
93d14e9798 Dialog Standard Measurements.
--HG--
branch : feature
2014-02-21 14:25:27 +02:00
dismine
49a45e9d57 Dialog Measurements.
--HG--
branch : feature
2014-02-21 14:04:07 +02:00
dismine
4093f139fa Set icon theme before showing windows.
--HG--
branch : develop
2014-02-19 23:34:57 +02:00
dismine
f07ca60ff7 Little fixes.
--HG--
branch : develop
2014-02-19 18:26:03 +02:00
dismine
e302432474 Fixed issue #17.
--HG--
branch : develop
2014-02-19 15:50:43 +02:00
dismine
827dc1f77e Fixed issue #18.
--HG--
branch : develop
2014-02-19 15:32:02 +02:00
dismine
d5c4c26444 Code style change.
--HG--
branch : develop
2014-02-18 22:42:06 +02:00
dismine
1264c1df58 Brought common part to a separate method.
--HG--
branch : develop
2014-02-18 22:20:58 +02:00
Sabine Schmaltz
2b7570e886 refactoring if-else, busy cursor while waiting for pdftops, error msg box added
--HG--
branch : develop
2014-02-18 20:14:12 +01:00
Sabine Schmaltz
c1191c4e9d added saving of layout as .ps and .eps file
--HG--
branch : develop
2014-02-17 23:57:51 +01:00
dismine
16ce3f6728 Fixed issue #71.
--HG--
branch : develop
2014-02-17 20:31:49 +02:00
dismine
9b88c774f0 Comments for switch.
--HG--
branch : develop
2014-02-17 14:10:37 +02:00
dismine
ee9356207e Merge
--HG--
branch : develop
2014-02-17 14:07:22 +02:00
dismine
68d7b668ff Documentation fix.
--HG--
branch : develop
2014-02-17 14:07:08 +02:00
Sabine Schmaltz
e0a167e98a removed obsolete returns
--HG--
branch : develop
2014-02-16 23:24:44 +01:00
Sabine Schmaltz
e875505f26 moved variable back in scope
--HG--
branch : develop
2014-02-16 23:20:16 +01:00
Sabine Schmaltz
7e5e38d072 refactoring of if()s in
VDomDocument::ParsePointElement
VDomDocument::ParseSplineElement
VDomDocument::ParseArcElement
VDomDocument::ParseToolsElement
to switch()

--HG--
branch : develop
2014-02-16 22:53:32 +01:00
dismine
c049379c1e Path to translations.
--HG--
branch : develop
2014-02-14 21:14:49 +02:00
dismine
c46681a96a Using qgetenv() instead of getenv().
--HG--
branch : develop
2014-02-14 20:42:38 +02:00
dismine
ea4e4d0d8a Update for translation.
--HG--
branch : develop
2014-02-14 19:49:50 +02:00
dismine
7f33f1023b Fixed issue #70.
--HG--
branch : develop
2014-02-14 17:16:43 +02:00
dismine
134269dd02 Fix for dialog Options.
--HG--
branch : develop
2014-02-14 13:51:59 +02:00
dismine
4bf209a525 Fixed issue #5.
--HG--
branch : develop
2014-02-14 13:29:04 +02:00
dismine
abb541ba68 Fixed issue #68.
--HG--
branch : develop
2014-02-12 12:55:24 +02:00
dismine
6bed9b2e1d Fixed issue #65.
--HG--
branch : develop
2014-02-11 20:45:34 +02:00
dismine
7b5c096efa Merge
--HG--
branch : develop
2014-02-11 08:46:25 +02:00
dismine
3f55cb8a2d Prepare for release v0.2.2.
--HG--
branch : develop
2014-02-11 08:38:56 +02:00
dismine
f88b7913f4 Extend menu to show the most recent files loaded by a main window application.
--HG--
branch : develop
2014-02-10 21:31:22 +02:00
dismine
396c9c1a8c Changed default directory for open and save as dialogs.
--HG--
branch : develop
2014-02-10 19:40:41 +02:00
dismine
33b0ac8b21 Little refactoring.
--HG--
branch : develop
2014-02-10 18:10:20 +02:00
dismine
a863382acd Saved data in wrong attributes.
--HG--
branch : develop
2014-02-07 18:53:14 +02:00
dismine
d996599829 Little fixes.
--HG--
branch : develop
2014-02-07 18:44:12 +02:00
dismine
379b7d32d1 Q_INIT_RESOURCE macro.
--HG--
branch : develop
2014-02-07 18:12:18 +02:00
dismine
14337b471d Fixed line dialog.
--HG--
branch : develop
2014-02-06 22:16:25 +02:00
dismine
f5e50ac782 Fix for CheckLoops method.
--HG--
branch : develop
2014-02-06 18:22:57 +02:00
dismine
4445071533 Move scene to new base point after creation.
--HG--
branch : develop
2014-02-06 17:21:37 +02:00
dismine
3f15442162 Remove signal ApplicationDeactivate.
--HG--
branch : develop
2014-02-06 16:53:56 +02:00
dismine
c1182f876e AlternatingRowColors.
--HG--
branch : develop
2014-02-06 16:44:55 +02:00
dismine
3f06320555 Changed spline path name.
--HG--
branch : develop
2014-02-06 16:17:06 +02:00
dismine
544acf4dad Dialog make top-level window.
--HG--
branch : develop
2014-02-06 15:57:23 +02:00
dismine
16cf055b4c Fixed issue #62.
--HG--
branch : develop
2014-02-05 17:32:50 +02:00
dismine
bd4afb7000 Wrong history record for cut splinePath tool.
--HG--
branch : develop
2014-02-05 16:09:59 +02:00
dismine
1feabdfe05 .
--HG--
branch : develop
2014-02-05 16:04:26 +02:00
dismine
aa054e2507 Don't allow save pattern file if we just change size or height.
--HG--
branch : develop
2014-02-05 16:03:26 +02:00
dismine
bc855ce265 Dialog detail spinBox instead doubleSpinBox.
--HG--
branch : develop
2014-02-05 15:30:54 +02:00
dismine
708573c96e New minimum size for increments dialog.
--HG--
branch : develop
2014-02-05 15:00:07 +02:00
dismine
5804f54459 Q_CHECK_PTR() instead Q_ASSERT()
--HG--
branch : develop
2014-01-30 15:47:41 +02:00
dismine
d4db51c04c Fixed issue #50.
--HG--
branch : develop
2014-01-30 15:16:00 +02:00
dismine
4f17c22de7 Fixed issue #15.
--HG--
branch : develop
2014-01-29 14:47:43 +02:00
dismine
d211a9deb7 Which way is better? See VAbstractTool::ClosestPoint.
--HG--
branch : develop
2014-01-29 11:18:26 +02:00
dismine
f5e0e5b2a0 Use QVector<T> & QVector::operator+=(const QVector<T> & other) instead for.
--HG--
branch : develop
2014-01-29 10:53:01 +02:00
dismine
08c6a40fde New class VEquidistant.
--HG--
branch : develop
2014-01-28 20:53:35 +02:00
dismine
275bc50c8e VAbstractTool::LineIntersectCircle instead internal LineIntersectCircle method.
--HG--
branch : develop
2014-01-27 18:07:56 +02:00
dismine
cf2f076346 Vera++.
--HG--
branch : develop
2014-01-27 18:01:24 +02:00
dismine
68b443fc7f After cppcheck.
--HG--
branch : develop
2014-01-27 17:48:11 +02:00
dismine
b4841c1f25 Documentation for VToolRecord, VDomDocument classes. Fixed issue #2.
--HG--
branch : develop
2014-01-27 16:05:58 +02:00
dismine
b96f83f238 Documentation for widgets.
--HG--
branch : develop
2014-01-27 14:27:26 +02:00
dismine
b711410ee6 Documentation for nodes.
--HG--
branch : develop
2014-01-27 12:59:41 +02:00
dismine
84fce7ec86 Documentation for VToolTriangle class.
--HG--
branch : develop
2014-01-27 12:36:42 +02:00
dismine
f91dc82dea Documentation for VToolSplinePath class.
--HG--
branch : develop
2014-01-27 12:16:20 +02:00
dismine
50e55ad7c8 Documentation for VToolSpline class.
--HG--
branch : develop
2014-01-27 11:54:33 +02:00
dismine
f8208e3416 Documentation for VToolSinglePoint class.
--HG--
branch : develop
2014-01-27 11:28:54 +02:00
dismine
bb09bf2ff1 Documentation for VToolShoulderPoint class.
--HG--
branch : develop
2014-01-27 11:21:45 +02:00
dismine
c6e7fb195a Documentation for VToolPointOfIntersection class.
--HG--
branch : develop
2014-01-27 11:09:55 +02:00
dismine
081d2d2859 Documentation for VToolPointOfContact class.
--HG--
branch : develop
2014-01-27 11:07:01 +02:00
dismine
27353c7354 Documentation for VToolPoint class.
--HG--
branch : develop
2014-01-26 17:26:01 +02:00
dismine
b293aa6c76 Documentation for VToolNormal class.
--HG--
branch : develop
2014-01-26 17:18:25 +02:00
dismine
757a4dc8fe Documentation for VToolLinePoint class.
--HG--
branch : develop
2014-01-25 16:01:57 +02:00
dismine
517735a5a6 Documentation for VToolLineIntersect class.
--HG--
branch : develop
2014-01-25 15:41:03 +02:00
dismine
04799d8976 Documentation for VToolLine class.
--HG--
branch : develop
2014-01-25 15:36:28 +02:00
dismine
42cb8b6477 Merge
--HG--
branch : develop
2014-01-24 22:42:34 +02:00
dismine
45c8f5f57f Documentation for VToolHeight class.
--HG--
branch : develop
2014-01-24 21:55:08 +02:00
dismine
f7813f62cd Documentation for VToolEndLine class.
--HG--
branch : develop
2014-01-24 20:25:17 +02:00
dismine
5dd98fd02b Documentation for VToolCutSplinePath class.
--HG--
branch : develop
2014-01-24 20:13:18 +02:00
dismine
0da4bbf850 Documentation for VToolCutSpline class.
--HG--
branch : develop
2014-01-24 20:04:45 +02:00
dismine
df644f52c9 Documentation for VToolCutArc class.
--HG--
branch : develop
2014-01-24 19:55:30 +02:00
dismine
a0ab7d913c Documentation for VToolBisector class.
--HG--
branch : develop
2014-01-24 19:10:04 +02:00