xavier
9c59980228
Template editor: added keyboard shortcuts for open from file and save to file actions.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1502 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-13 22:09:40 +00:00
xavier
518987a9a0
Generic panel: elements were not correctly marked as used in some cases.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1501 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-12 17:25:08 +00:00
xavier
072f63dfb6
Elements panel: replaced embedded collections original titles with simpler ones.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1500 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-12 17:19:01 +00:00
xavier
b50ff0fb8a
Expand projects tree only the first time they are displayed.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1499 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-12 17:17:44 +00:00
xavier
3036f23d1b
The elements panel now checks that embedded collections exist before expanding them.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1498 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-12 16:47:37 +00:00
xavier
bd53c662b7
Fixed a minor typo.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1497 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-12 16:45:05 +00:00
xavier
39c75e0136
The elements panel now applies again the filter when the panel content is changed.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1496 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-12 15:33:04 +00:00
xavier
bde78d0412
Improved the GenericPanel class: added generic updateItem() and fillItem() methods and a panelContentChanged() signal.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1495 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-12 15:29:57 +00:00
xavier
3abdd8a9c0
Partially fixed some problems inherent to adding/updating panel items when a filter is applied.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1493 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-06 22:46:26 +00:00
xavier
9fb4eb7c2d
GenericPanel and its subclasses now use the title and icon provided by collections.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1492 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-06 22:34:52 +00:00
xavier
7661b2f47e
Elements collection now have a title and an icon.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1491 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-06 22:13:39 +00:00
xavier
7ca84724ae
Refactoring: added the class GenericPanel, which provides most functions for ElementsPanel, ElementsCategoriesList, and any future panel-like widget.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1490 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-06 21:21:43 +00:00
xavier
4adbba85df
Added QETApp::collectionCache() for the currently unique SQLite cache to be usable by most classes.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1489 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-06 21:19:58 +00:00
xavier
6b8506c61e
Implemented TitleBlockTemplatesCollection::templatesLocations() to ease templates collections usage.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1488 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-05 19:33:11 +00:00
xavier
7d4b90ca3a
The *Location classes can now be used with QVariant, QHash and signals/slots.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1487 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-05 19:24:42 +00:00
xavier
0e63192a3d
Fixed a minor bug in the template editor > save as dialog.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1486 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-05 18:56:02 +00:00
xavier
2678b75b14
Title block properties dialog: the templates list is now dynamically updated.
...
Also, it is now possible to edit and/or duplicate the default template.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1480 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-25 18:02:17 +00:00
xavier
0345e54512
When editing a diagram, it is now possible to edit and/or duplicate a title block template from the title block properties dialog.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1479 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-25 07:29:50 +00:00
xavier
cae43d0fc1
The "clean project" dialog is now able to clean unused title block template.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1478 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-24 07:11:19 +00:00
xavier
7f9d792368
The panel now highlights unused title block templates.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1477 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-23 20:36:51 +00:00
xavier
6d5570404a
The title block template editor now opens templates as read-only if needed.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1476 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-23 07:22:07 +00:00
xavier
0473244284
The panel now reflects whether title block templates are read-only.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1475 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-23 07:21:09 +00:00
xavier
3fc9409559
Improved isReadOnly() methods for templates collections.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1474 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-23 07:20:07 +00:00
xavier
21c8ffbd7b
Added setReadOnly() methods to the title block template editor classes.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1473 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-22 14:35:57 +00:00
xavier
0e0e4dfc29
Fixed the widgets alignments in the cell edition widget.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1472 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-22 12:08:52 +00:00
xavier
4795ed206d
Implemented drag'n drop of title block templates to diagrams + automatic integration in the parent project
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1471 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-22 10:40:37 +00:00
xavier
1ef2a0421a
Fixed typos.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1470 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-19 21:01:26 +00:00
xavier
156867a380
Minor improvements in the TitleBlockTemplateLocation class.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1469 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-18 19:53:27 +00:00
xavier
aa0a83e0d6
Added API to get a valid TitleBlockTemplateLocation from a string.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1468 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-15 19:26:40 +00:00
xavier
a2d095e7a8
Title block tempalte editor: added undo/redo menu entries.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1460 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-15 00:33:03 +00:00
xavier
44dbe5a20f
Title block template editor: the window title now displays a [Modified] tag.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1458 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-12 07:24:21 +00:00
xavier
fa11ec59ad
Title block template editor: added "Open from file" and "Save to file" actions.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1457 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-12 07:04:09 +00:00
xavier
a9e4d972b8
Added method TitleBlockTemplate::saveToXmlFile().
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1456 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-12 06:47:02 +00:00
xavier
94f1bf0d87
Changed Pawel's mail address.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1454 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-10 21:44:09 +00:00
xavier
d535283d24
Handled window closing and added File > Open in the title block template editor.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1453 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-10 18:53:48 +00:00
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