Commit Graph

235 Commits

Author SHA1 Message Date
xavier
69302638be Added the TitleBlockTemplateLocationSaver class.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1447 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-10 07:07:48 +00:00
xavier
980490fd82 Added File > New in the title block template editor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1444 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-09 18:50:26 +00:00
xavier
4c24526928 Removed the obsolete "TemplateEditor" class.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1435 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-08 17:09:17 +00:00
xavier
91adb47b88 Implemented the common and custom title block templates collections.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1433 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-08 17:04:34 +00:00
xavier
5ccf015280 Updated copyright notice for year 2012.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1424 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-01 22:51:51 +00:00
xavier
7c2716ae35 Elements panel: now require user confirmation before deleting a title block template.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1420 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-31 02:30:31 +00:00
xavier
853d169549 Title block template editor: the logos combo box is now updated after every change made from the logo manager.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1419 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-30 02:42:50 +00:00
xavier
5a1d557668 Diagram view: update the scene after the title block template is changed.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1418 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-30 02:17:26 +00:00
xavier
dd2801f784 Added zoom-related menus.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1417 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-30 02:05:46 +00:00
xavier
adb8c26f8b Diagram loading: removed an optimization that could lead to conductors not being loaded when several terminals share the same coordinates.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1415 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-29 17:37:24 +00:00
xavier
7c50ff6c94 Double clicking on a title block template now opens a dedicated editor.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1414 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-27 02:17:07 +00:00
xavier
5582ec974c Closing a project now attempts to close the related title block template editors.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1413 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-27 01:40:32 +00:00
xavier
82e6e22a4a The systray icon is now able to manage title block template editors as well.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1412 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-27 01:39:45 +00:00
xavier
5b6bea0601 Title block template editor: implemented "Save as" action.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1410 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-26 05:42:48 +00:00
xavier
66ab3b20d6 Added comments for translators.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1407 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-25 18:22:39 +00:00
xavier
5b2a2249af Began implementing a WYSIWYG title block template editor.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1405 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-25 17:45:39 +00:00
xavier
1dcd4ab652 Fixed a typo in comments.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1402 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-23 17:43:13 +00:00
xavier
55c191b7da Made the NameList class usable with QVariant.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1401 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-23 17:41:16 +00:00
xavier
fdb57497ae Fixed a warning about an unused variable.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1400 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-23 17:38:08 +00:00
xavier
2488e9a7e7 Fixed a typo and updated translation files.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1386 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-06 19:44:09 +00:00
xavier
d431139d57 The application now avoids reading and keeping in memory every element file in the collection.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1366 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-10-08 21:54:53 +00:00
xavier
883da2a9c0 Lock-related improvement in ElementsCollectionCache.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1365 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-10-08 21:51:38 +00:00
xavier
9659175616 UI consistency: renamed "Import element" to "Open an element file", separated this action from those related to the current selection, and ensured elements-related actions are disabled when selecting a project/diagram/title block template.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1350 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-10-01 20:07:53 +00:00
xavier
710a733980 The elements panel now displays the folio index before each diagram title.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1349 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-10-01 19:48:26 +00:00
xavier
312beaa83f Improved revision 1346.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1348 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-10-01 19:46:59 +00:00
xavier
e0d8186438 Fixed a segfault that could occur when removing a diagram from a project.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1347 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-10-01 19:22:30 +00:00
xavier
f82c74557d Fixed a bug causing new diagrams to be placed after elements collection in the elements panel.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1346 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-10-01 19:17:11 +00:00
xavier
ac0386203e Fixed a bug causing new diagrams to be placed after title blocks parent directory in the elements panel.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1345 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-10-01 17:11:54 +00:00
xavier
7324457f94 Fixed a segfault occurring when trying to open a non-QET file.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1342 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-09-29 04:42:25 +00:00
xavier
3ee8fdac20 Removed an absolete @todo.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1337 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-09-23 05:46:31 +00:00
xavier
5e39beaa7d Added a mutex to avoid loading a collection twice at the same time.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1334 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-09-20 17:49:17 +00:00
xavier
11ee61df4b Ensured the collections are read again when deleting an element or a category.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1332 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-09-18 13:31:41 +00:00
xavier
2a6ecee31b Implemented a SQLite-based cache to speed up the elements panel loading.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1329 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-09-13 21:46:10 +00:00
xavier
3930a2580e The application now includes the folio number when displaying the properties of a selected element.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1324 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-09-08 19:03:13 +00:00
xavier
4dc58447ca As elements, diagrams now have a "version" attribute for compatibility purposes.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1315 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-08-29 21:50:43 +00:00
nishiki
0d58f970a1 Modification of the qmessagebox during the open of project
more recently than the qet's version used.
The qmessagebox request if we want continue or cancel
the open of project




git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1314 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-08-26 19:06:35 +00:00
scorpio810
b1c0d8eea1 add a F2 shortcut for the widget "Edit the color of the given conductor"
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1313 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-08-22 11:17:10 +00:00
xavier
0b97e6ad99 Indentation fix.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1312 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-08-17 18:58:07 +00:00
scorpio810
19bfb8e628 fix format in aboutqet.cpp
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1311 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-08-17 10:16:44 +00:00
xavier
bf348a42d0 Title block templates variables names now accept digits.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1294 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-06-04 12:44:17 +00:00
xavier
9049809ac1 Fixed vertical alignment parsing for title block templates.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1293 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-06-04 11:42:20 +00:00
xavier
caa0df63dc Titleblock templates values and labels can now be translated.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1286 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-05-25 14:09:47 +00:00
xavier
6ee9f2ffa4 Slightly improved behaviour when the common collection directory is not available.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1277 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-05-10 11:39:28 +00:00
xavier
cff03e456f Fixed a bug in the print preview dialog.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1236 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-26 18:29:54 +00:00
xavier
360cb0a201 Fixed a typo.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1234 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-26 12:30:25 +00:00
xavier
c474544ab5 Fixed two typos.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1233 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-26 12:25:04 +00:00
xavier
f95b6d079a Circumvented the loading problem that occured on Windows.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1220 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-20 03:13:32 +00:00
xavier
96899eb9f9 Fixed the message displayed by the elements panel progress bar at first loading.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1218 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-16 22:56:46 +00:00
xavier
cf6ebf8f0f Changed the way the application loads elements collections.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1217 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-15 20:06:40 +00:00
xavier
2b537f1f28 Added count() method to ElementsCollectionItem class and its subclasses.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1216 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-15 18:32:52 +00:00