78 Commits

Author SHA1 Message Date
runsys
02df8a5073 Download patch
Init branch

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3492 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-16 20:27:11 +00:00
blacksun
aeecb4c816 Fix wrong behavior with conductor text item when use "past here"
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3487 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-14 19:58:25 +00:00
blacksun
3cf0f0f929 Bug fix: element text item move strange when element is rotated. (my apologies for this weird bug)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3399 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-25 21:21:52 +00:00
blacksun
243cd16e72 Text item : reduce a lot of code for several text item
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3379 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-17 21:30:42 +00:00
blacksun
743b6768eb Diagram command add QGraphicsItem and derived :
Remove each comand for each type and replace it by generic class by using template class (addItemComand).


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3368 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-10 08:58:44 +00:00
blacksun
f918917c7a conductor autonum. Diagram save current selected autonum.
Readd dialog to select texts, when potential have different texts


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3251 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-04 14:39:57 +00:00
blacksun
6fce7010f8 Conductor autonumerotation: Remove one autonum per diagram and add global autonums for the project.
several diagram can share the same autonumerotation.
This is first step, need to be improved and readd some feature (disabled for first step).


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3239 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-31 10:02:33 +00:00
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