Commit Graph

114 Commits

Author SHA1 Message Date
xavier
d42a9ad176 Title block template editor: added a menu entry to manage logos.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1773 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-09 02:31:43 +00:00
xavier
dd237b148e Title block template editor: added tooltips to helper cells to ensure their content remains readable even when their size is reduced.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1772 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-09 02:31:41 +00:00
xavier
f54e3bb90b Fixed a bug in the dimension widget used in the title block editor.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1771 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-09 02:31:40 +00:00
xavier
15a79881b0 The title block template editor now save its geometry and state when closing.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1650 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-09 18:56:17 +00:00
xavier
8ba02ef932 QElectroTech is now able to open .titleblock files passed as arguments to the program.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1646 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-09 15:27:15 +00:00
xavier
83ca44e6b9 Fixed a forgotten tr().
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1644 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-09 11:55:26 +00:00
xavier
f1dd11b903 CR characters in elements and TBT extra information field are now stripped.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1641 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-09 01:03:11 +00:00
xavier
318df55a37 Implemented QET::writeXmlFile() to handle every XML file generation in a single place.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1640 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-09 01:03:08 +00:00
xavier
6ab83f3517 TBT editor: fixed "Save as" icon.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1639 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-08 20:51:48 +00:00
xavier
7c89f95d8a TBT editor: added toolbars
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1638 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-08 20:51:46 +00:00
xavier
acbbf01cf4 TBT editor: added menu entries to add rows/columns at the end of the grid.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1637 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-08 20:51:43 +00:00
xavier
ba7e030d9f Title block templates: improved span management
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1636 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-08 20:51:40 +00:00
xavier
d995d9e6a9 Fixed a bug preventing the user from dropping an already-integrated titleblock template onto a diagram.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1628 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-04 16:13:08 +00:00
xavier
500c75603d Fixed two source strings not in the usual source language.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1619 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-01 20:13:44 +00:00
xavier
8b1e7904c4 The title block template editor now supports pasting multiple cells.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1597 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-25 16:34:53 +00:00
xavier
e31a8a375e Minor refactoring: added TitleBlockTemplateView::pastedCells().
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1596 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-25 16:34:49 +00:00
xavier
87d3021bd3 Implemented QETMainWindow::firstActivation, used it to fit view when editing an element.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1573 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-16 18:01:32 +00:00
xavier
8daa1bebce Cut/Copy/Paste menu entries are now enabled/disabled according to the current state of editor, selection and clipboard.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1563 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-11 16:06:48 +00:00
xavier
9bf900ca29 Minor refactoring within TBT commands.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1562 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-11 16:06:46 +00:00
xavier
f6b2037fb9 Title block template editor: implemented cut operation.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1561 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-11 16:06:43 +00:00
xavier
ab3caba9ef Title block template editor: implemented paste operation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1560 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-11 16:06:40 +00:00
xavier
e7d724ebde Fixed a typo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1557 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-11 16:06:27 +00:00
xavier
1f192b26c7 Title block template editor: implemented copy operation.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1556 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-11 16:06:22 +00:00
xavier
9f62655914 Added a forgotten Q_UNUSED statement
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1550 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-05 22:15:27 +00:00
xavier
b189c72fd9 Title block template editor: the "Merge cells" and "Splti cell" actions are now enabled and disabled depending on what is currently selected.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1546 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-04 18:27:37 +00:00
xavier
6bdd166e57 Title block templates now embed a free field for extra information.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1541 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-02 17:55:27 +00:00
xavier
fac0fea239 The title block template editor now displays a tooltip with the edited template's minimum and maximum widths.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1540 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-28 18:54:34 +00:00
xavier
ef2958eab1 Title block template editor: percentage are now bound within 1-100 range
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1539 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-27 18:31:47 +00:00
xavier
f7d27f25a1 Title block template editor: now write the preview width to application settings.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1538 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-27 18:20:33 +00:00
xavier
271ee23116 Various improvements for RTL languages.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1527 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-24 21:26:24 +00:00
xavier
292622ea97 Fixed a few original strings, updated translations accordingly.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1521 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-20 22:26:52 +00:00
xavier
62bb0d2d01 Title block template editor: added icons for row/columns/cells operations.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1512 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-17 07:26:46 +00:00
xavier
ee99c57218 QETTemplateEditor now inherits from QETMainWindow.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1506 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-13 22:28:26 +00:00
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
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
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
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
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