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
xavier
05d35d4a3a
Integration of italian translation by Alessandro Conti: all but elements, Qt-specific .ts files, and packaging/linux/fedora/README.elements.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1184 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-02 07:15:24 +00:00
xavier
71abf66bfd
Updated Copyright notice for 2011 year.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1183 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-02 00:16:40 +00:00
xavier
287e458f4b
Merged trunk into 0.3 branch: rev1067 to rev1077
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1179 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-01 23:26:31 +00:00
xavier
d2e99b5d0b
Merged trunk into 0.3 branch: rev1057 to rev1065
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1177 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-01 22:52:11 +00:00
xavier
d5f0466576
Merged trunk into 0.3 branch : rev1052 to rev1057
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1176 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-01 22:47:13 +00:00
xavier
8722c6a97d
Fixed several non-internationalized strings.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1170 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-02-25 06:26:18 +00:00
xavier
b6d9ad0b58
Fixed two compile time warnings.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1160 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-02-20 19:43:26 +00:00
xavier
a3b1ac7b74
Added an "hadjust" XML attribute to title block cells, allowing too long texts to be reduced until they fit the cell.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1150 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-02-08 06:53:47 +00:00
xavier
d242546aa6
It is now possible to specify the font size of a title block template field using the "fontsize" attribute.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1143 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-01-09 21:56:52 +00:00
xavier
134b3ba83e
The user can now specify his own name/value pairs at three levels:
...
* user configuration level (qelectrotech.conf): default configuration for new projects
* project level (.qet file): default configuration for new diagrams
* diagram level (title block properties): names and values may be used by the title block template
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1142 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-01-09 15:16:51 +00:00
xavier
3b07252a9a
Refactoring: move code from Diagram to BorderTitleBlock.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1141 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-01-09 00:01:38 +00:00
xavier
2b0e478f08
Title block template editor: added an "Integrate logo" button.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1140 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-12-28 18:57:24 +00:00
xavier
0ae33913e3
Integrated the "Default conductor properties" dialog into the "Diagram properties" one.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1139 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-12-28 08:21:45 +00:00
xavier
4846e4f185
The template editor does not enforce anymore the user to write the template name twice.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1138 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-12-28 07:05:31 +00:00
xavier
2642095fcf
Fixed the QETProject::setTemplateXmlDescription.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1135 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-12-26 22:52:54 +00:00
xavier
aeae9a9f89
Added a combo box in the title block properties to choose the template that will render the title block.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1134 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-12-24 23:35:40 +00:00
xavier
649e3de3e6
Added context menu entries and a basic, non-WYSIWYG template editor to add, modify and delete title block templates embedded within a project.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1133 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-12-24 21:00:11 +00:00
xavier
616626cb1c
Changed every occurence in the code of the "inset" term to "title block".
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1132 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-12-20 02:45:36 +00:00
xavier
596bd6fd1b
Project files now load and save inset templates.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1131 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-12-19 18:14:05 +00:00
xavier
d17d6c492e
The Diagram class now renders its usual inset with a template.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1130 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-12-19 18:12:56 +00:00
xavier
e11acf7b57
Introduction of classes, structs and enums related to inset templates.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1129 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-12-19 18:08:08 +00:00
xavier
c73d51ccb8
Fixed a weirdness in the layout of the inset properties widget.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1127 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-12-19 17:15:43 +00:00
xavier
9e0f8da7ac
Elements Panel: items are now expanded/collapsed by a double click
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1125 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-11-15 00:35:02 +00:00
xavier
f59bf133d1
Elements panel: during a drag and drop operation, the hovered item is now expanded after a short time not moving the mouse.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1124 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-11-14 20:11:57 +00:00