Commit Graph

311 Commits

Author SHA1 Message Date
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
05f150904c Updated "About QET" dialog.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1621 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-01 20:29:43 +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
8f07be7312 Elements static texts can now be either black or white.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1616 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-31 22:48:40 +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
245a8abbb1 Diagram editor: users may now enter visualisation mode by pressing Ctrl and Shift.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1593 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-24 14:34:25 +00:00
xavier
e7207734c5 Fixed items deletion in GenericPanel::deleteItem().
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1587 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-18 19:20:47 +00:00
xavier
def111cb3f Fixed zoom fit when opening an element.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1583 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-17 22:36:58 +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
7b6f46a26c Title block templates: cells widths are now adjusted to fit the total width when possible.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1566 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-13 18:01:51 +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
dc2ea1ae80 Added TitleBlockCell::loadContentFromCell()
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1559 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-11 16:06:37 +00:00
xavier
14d5811979 Title block templates: cell saving/loading code is now shared between TitleBlockCell and TitleBlockTemplate.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1558 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-11 16:06:30 +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
ae39ee4713 Removed array intialized with a dynamic length at run-time.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1545 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-04 17:42:25 +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
7a955b777f RTL languages integration: mirrored a few icons.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1537 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-27 18:19:39 +00:00
xavier
1e8e01c84c Replaced the QET_TBT_USE_QPICTURE_BASED_CACHE compile-time option with a hardcoded runtime check.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1536 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-26 21:54:47 +00:00
xavier
9a996544f6 Due to a nebulous QPicture-related bug, added a compile-time option to enable the cached rendering of titleblock templates.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1534 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-26 18:35:48 +00:00
xavier
fd155f90d4 Title block template rendering: minor optimization.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1533 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-26 18:34:24 +00:00
xavier
4164cf227f Removed Qt translations from the lang/ directory.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1529 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-25 16:44:11 +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
8d7316641f Slightly improved the rendering of the "About QET" dialog with RTL languages.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1520 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-20 21:21:40 +00:00
xavier
0815332c73 The application now uses right-to-left layouts when required by translations through a special, non-displayed translated string.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1518 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-20 21:20:34 +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
b6ae248036 Oxygen-based theme: updated zoom-related icons.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1510 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-16 19:09:30 +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
55cfef61b8 QETElementEditor now inherits from QETMainWindow.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1505 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-13 22:13:19 +00:00
xavier
92897f14a8 QETDiagramEditor now inherits from QETMainWindow.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1504 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-13 22:12:37 +00:00
xavier
5f019b859d Introduced the QETMainWindow class.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1503 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-13 22:10:36 +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
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