Commit Graph

311 Commits

Author SHA1 Message Date
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
dismine
9a92096853 Documentation for VToolAlongLine class.
--HG--
branch : develop
2014-01-24 18:10:53 +02:00
dismine
e5f58b7a10 Documentation for VDrawTool class.
--HG--
branch : develop
2014-01-24 17:56:41 +02:00
dismine
ecb6f66ce1 Documentation for VToolUnionDetails class.
--HG--
branch : develop
2014-01-24 17:10:23 +02:00
dismine
9d49560e0d Documentation for VToolDetail class.
--HG--
branch : develop
2014-01-24 16:25:45 +02:00
dismine
b6311ed773 Documentation for VDataTool class.
--HG--
branch : develop
2014-01-24 15:00:15 +02:00
dismine
ccb5f38537 Documentation for VAbstractTool class.
--HG--
branch : develop
2014-01-24 14:54:29 +02:00
Steve Conklin
8d7dfdf194 Change another tooltip to more common English
--HG--
branch : develop
2014-01-23 19:07:46 -06:00
Steve Conklin
4d40e5fbb5 Change more tool tips to common English spelling
--HG--
branch : develop
2014-01-23 18:37:40 -06:00
dismine
3ab1509bb9 Documentation for TableWindow class.
--HG--
branch : develop
2014-01-23 18:16:28 +02:00
dismine
495c3c1b4a We don't need anymore this method.
--HG--
branch : develop
2014-01-23 12:13:26 +02:00
dismine
24fc6e474c Documentation for MainWindow class.
--HG--
branch : develop
2014-01-23 12:11:42 +02:00
dismine
52aa68d31b Documentation for VSplinePoint class.
--HG--
branch : develop
2014-01-21 20:44:01 +02:00
dismine
311be1cd9c Documentation for VSplinePath class.
--HG--
branch : develop
2014-01-21 20:00:37 +02:00
dismine
7ded79e2d2 Documentation for VSpline class.
--HG--
branch : develop
2014-01-21 19:18:05 +02:00
dismine
4457a69972 Documentation for VNodeDetail class.
--HG--
branch : develop
2014-01-21 16:18:25 +02:00
dismine
0a958ceb8e Documentation for VGObject class.
--HG--
branch : develop
2014-01-21 16:04:17 +02:00
dismine
0bf384f1e3 Documentation for VDetail class.
--HG--
branch : develop
2014-01-21 15:51:41 +02:00
dismine
b5731ebc04 Merge
--HG--
branch : develop
2014-01-21 13:43:06 +02:00
dismine
ca40008a97 Documentation for VArc class.
--HG--
branch : develop
2014-01-21 13:42:28 +02:00
Roman Telezhinsky
df9e816fa7 Merged in luzpazB/valentina-1/luzpazB/typo-something-wrong-to-somethings-wrong-1390293666925 (pull request #4)
typo "something wrong!!" to "something's wrong!!"

--HG--
branch : develop
2014-01-21 12:46:50 +02:00
luzpazB
cb0d9c1b82 typo "something wrong!!" to "something's wrong!!"
--HG--
branch : luzpazB/typo-something-wrong-to-somethings-wrong-1390293666925
2014-01-21 08:41:11 +00:00
luzpazB
43a0dbccdd typo 'angel' to 'angle'
--HG--
branch : luzpazB/typo-angel-to-angle-1390292981267
2014-01-21 08:29:45 +00:00
dismine
d88ed1d6e0 QMessageBox too small.
--HG--
branch : develop
2014-01-20 21:01:20 +02:00
dismine
847f91410b Dialog documentation.
--HG--
branch : develop
2014-01-20 20:52:54 +02:00
dismine
4499838b97 Default name for pattern.
--HG--
branch : develop
2014-01-20 16:57:54 +02:00
dismine
3681607e7a Comment string in pattern file.
--HG--
branch : feature
2014-01-20 16:21:25 +02:00
dismine
d269e45858 Schema fixes.
--HG--
branch : feature
2014-01-20 16:00:38 +02:00
dismine
af7a188082 Schema.
--HG--
branch : feature
2014-01-19 12:00:20 +02:00
dismine
9d283a6283 Chenged main document element name.
--HG--
branch : feature
2014-01-18 17:20:53 +02:00
dismine
15f4bc1e12 Fixed issue #51.
--HG--
branch : develop
2014-01-18 12:02:24 +02:00
dismine
add722d0c5 Refactoring DialogIncrements.
--HG--
branch : develop
2014-01-18 00:03:24 +02:00
dismine
44b33ab1cb Fixed issue #47.
--HG--
branch : develop
2014-01-17 23:41:27 +02:00
dismine
8f5cfb7050 Changed name of splinePath.
--HG--
branch : develop
2014-01-17 20:02:24 +02:00
dismine
76c24e1c45 Default name for layout.
--HG--
branch : develop
2014-01-17 00:32:20 +02:00
dismine
d68205d9c2 Change step for DoubleSpinBox in splinepath dialog.
--HG--
branch : develop
2014-01-17 00:10:51 +02:00
dismine
4db32eaf56 Change step for DoubleSpinBox in spline dialog.
--HG--
branch : develop
2014-01-17 00:09:45 +02:00
cosina
f25ae9384f created shortcuts for main functions... i'm not shure, if this is crossplatform conform and if a macUser is happy with these shortcuts...
--HG--
branch : develop
2014-01-16 14:54:01 +01:00
dismine
f98ca6eea1 Refactoring calculation scene rect.
--HG--
branch : develop
2014-01-15 11:20:46 +02:00
dismine
129f9b9e24 Fixed issue #8.
--HG--
branch : develop
2014-01-15 11:04:53 +02:00
Steve Conklin
6d0302feaf Change English spelling of "Standart" to "Standard"
--HG--
branch : develop
2014-01-14 17:55:41 -06:00
dismine
0996dab823 QGraphicsView resizing after scaling or moving item.
--HG--
branch : feature
2014-01-15 00:08:34 +02:00
dismine
666dd664eb Delete nodes from detail. Fix for union details.
--HG--
branch : feature
2014-01-13 02:48:31 +02:00
dismine
1cffddc672 Fixed method CheckLoops.
--HG--
branch : feature
2014-01-13 00:34:36 +02:00
dismine
aa4feb648a Disable tool when we change pattern piece.
--HG--
branch : feature
2014-01-12 22:08:52 +02:00
dismine
bc97dc7855 Set enabled for tool button in different mode.
--HG--
branch : feature
2014-01-12 22:04:15 +02:00
dismine
502b66df29 Detail doesn't save parameter closed and seam allowance.
--HG--
branch : feature
2014-01-12 21:53:15 +02:00
dismine
8a2639b7aa Bug in uniontool with splinepath.
--HG--
branch : feature
2014-01-12 21:23:44 +02:00
dismine
48d324e8c6 Automatic resizing scene.
--HG--
branch : develop
2014-01-11 19:08:40 +02:00
dismine
4b2db9a95d Save and restore transformation for each scene.
--HG--
branch : develop
2014-01-11 16:09:44 +02:00
dismine
e5247cf323 New way find arc points.
--HG--
branch : develop
2014-01-11 12:11:42 +02:00
dismine
e98d855764 Some little change.
--HG--
branch : develop
2014-01-10 11:16:55 +02:00
dismine
12424ddad0 Scrolls the contents of the viewport to ensure that the active pattern peace is
centered in the view.

--HG--
branch : develop
2014-01-09 16:56:53 +02:00
dismine
5ee1969f24 Turn the detail 90 degrees.
--HG--
branch : develop
2014-01-09 14:58:07 +02:00
dismine
7b850afaea Show context menu of tool on label.
--HG--
branch : develop
2014-01-09 14:51:09 +02:00
dismine
d9a5296b34 Enable name of detail.
--HG--
branch : develop
2014-01-09 14:23:26 +02:00