blacksun
08cf153ea8
Improvement: Use anticipate class declaration instead of include header
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3224 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-21 20:44:32 +00:00
blacksun
68e9d33e88
xref properties widget: user can define the behavior of xref for coil and protection.
...
They don't work now with official collection, because we must to update the information of element (type coil or protection).
You can test it by creating new master element (dont forget to define the master type, coil or protection).
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3185 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-03 08:52:14 +00:00
blacksun
8379163061
Xref item: item position can be set under the texte field "label" of master element.
...
Double clic in xref open the properties dialog of master.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3183 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-27 18:34:18 +00:00
blacksun
f5ca3114d1
QetShapeItem: improve code.
...
Other improvement related to the refactoring of QetShapeItem
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3134 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-14 16:04:34 +00:00
blacksun
eee2a9181e
Bug fix: qet crash when close a diagram with a cross ref item.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3015 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-20 23:37:03 +00:00
blacksun
c7aaf5b509
-add class for store Xref properties
...
-add widget for edit it
-make link betwen QET -> QETproject -> Diagram, for transmit the xrefproperties
-xrefpropertie can save/load to xml and setting.
-XRefItem don't use the properties yet
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2983 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-11 09:51:21 +00:00
abhishekm71
b3654fa5fa
Basic Shapes: Added Delete shape (not from keyboard DEL)
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2907 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-06 14:04:19 +00:00
abhishekm71
d80a2289d6
Basic Shape: qgraphicsitem_cast<> instead of dynamic_cast
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2897 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-02 13:49:11 +00:00
abhishekm71
092c638868
Basic Shapes: XML export/import added.
...
Many files were changed, so debugging required.
Minor Bug exists:
If we export to xml first time, it is OK. But if we then add another shape and then export, then the new shape is not added in XML.
Reason: UndoAction not implemented at present for basi shape addition.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2888 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-28 14:30:59 +00:00
scorpio810
433ebc7158
Update Copyright to 2014
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2792 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-29 18:37:45 +00:00
blacksun
e1f9a26f4d
folio report: add user able to make custom label.
...
Revamp GUI dialog for new diagram configuration.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2749 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-18 19:04:39 +00:00
blacksun
1a83a7f2aa
remove undo stack by diagram, and add single undo stack for project
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2706 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-05 15:00:46 +00:00
blacksun
c58448bf76
update folio report when move diagram position
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2692 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-01 16:28:19 +00:00
blacksun
cd9e78a49f
Electric potential search: folio report are take into account
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2689 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-31 17:01:14 +00:00
blacksun
5ad42fb491
Folio report are save/load in .qet file
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2688 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-31 14:39:34 +00:00
scorpio810
c0262b4fc1
Revert previous commit
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2676 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-29 13:39:48 +00:00
abhishekm71
0d37b13dab
Diagram View now white and gray, Print always in white
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2674 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-29 13:25:09 +00:00
blacksun
38e3e26ff8
add class ElementProvider and build small ui for the properties of folio report element
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2672 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-28 13:28:27 +00:00
scorpio810
106b57ba3c
Added Abhishek Bansal patch:
...
Diagram::background_color is now selectable
and make component color reverse color for contrast, thanks Abhishek
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2670 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-26 17:59:58 +00:00
blacksun
7ff6ac4410
add pattern factory/singletton to create different type of element
...
add two news class for element type : simple and folio report
add an empty tab for the element report in the element properties widget
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2665 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-20 20:30:55 +00:00
scorpio810
971ce1facb
Merge sources dir branch devel to trunk
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2613 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-14 10:11:22 +00:00
blacksun
8201daa564
element editor: improve context menu and fix the end of polygon
...
diagram: fix memory leak
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2544 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-17 20:14:30 +00:00
scorpio810
0b9adb77d5
Merge branch 0.4 import image to trunk
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2449 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-24 15:18:45 +00:00
scorpio810
c71ed69342
Updated Copyright 2006-2013
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2288 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-18 11:10:19 +00:00
blacksun
e8e005dfaa
add condition to enable the richtext menu entry
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2180 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-28 16:50:35 +00:00
blacksun
e0c99d2cda
fix wrong methods name
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2173 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-20 19:58:31 +00:00
blacksun
4363fb8481
add methods to save/load autonumerotation of conductor to .qet file
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2171 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-20 19:29:10 +00:00
blacksun
73d78ea623
add method for get each potentials in a diagram and revamp method for reset all conductors text in a diagram
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2121 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-19 14:59:20 +00:00
xavier
160ccec733
Translated all comments found in header files (*.h) from French to English.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1960 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-11-09 21:09:24 +00:00
xavier
f039a37447
Fixed regression introduced in rev1657: key strokes were discarded when editing texts.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1706 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-28 23:22:34 +00:00
xavier
417ef1b02e
Bugfix: arrow keys triggered both items movement and scroll area on diagrams.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1657 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-16 06:33:26 +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
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
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
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
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
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
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
15e042e142
Gestion du chargement des fichiers enregistres dans une version < 0.3.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1085 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-07-18 19:16:52 +00:00
xavier
c8732714b8
Il est desormais possible de deplacer les champs de texte des conducteurs.
...
Leur deplacement est limite aux alentours du trajet de leur conducteur parent,
Reorganisation du code pour tout ce qui est relatif aux deplacements d'items sur les schemas.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@987 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-05-08 21:24:43 +00:00
xavier
f3679a0f9b
Nettoyage dans les methodes Conductor::update*
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@985 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-05-04 20:36:55 +00:00
xavier
f610efef8d
Simplification du code permettant la mise a jour des conducteurs lors des deplacements et rotations d'elements.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@984 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-05-04 20:18:30 +00:00
xavier
88a4647d11
Il est desormais possible de deplacer les champs de texte des elements.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@967 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-24 20:42:20 +00:00
xavier
e8e081bffe
Correction par rapport au commit precedent.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@959 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-18 21:08:49 +00:00
xavier
dcb1faa634
Renommage d'un argument dans la classe Diagram
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@958 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-18 21:00:27 +00:00
xavier
81ffef0afb
Depoussierage de la classe Terminal
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@957 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-18 20:48:15 +00:00