78 Commits

Author SHA1 Message Date
blacksun
2a4d013994 Past command: reset some info about the pasted element (label, comment, and text of report)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3393 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-23 08:05:53 +00:00
blacksun
32938655d7 Autonumerotation: Auto numbering isn't increased through the terminal Elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3229 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-23 19:54:25 +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
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
0c486bcb09 cross ref item : show the master comment at the bottom of cross
element : improve the function to sort an element list
qet graphics item : add a bool to disable the snap to grid (used for cross ref item, to be exactly at the bottom of element)


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2948 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-26 10:41:06 +00:00
blacksun
0109a5d188 slave element: when linked to master, label is replaced by the label of master, and show the position of the master
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2946 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-21 14:40:33 +00:00
blacksun
e516cc6a87 add function to sort an elements list by the positions of elements.
this function is use by:
cross ref item -> shild are always sorted
element selector widget -> list of widget are sorted.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2931 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-18 12:35:36 +00:00
blacksun
105c1c87b6 element master widget property: improve gui.
add slave element class.
element class: replace diagramcontext informations by elementInformations because informations is already used in xml file for element.
minor improvement.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2869 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-22 17:24:20 +00:00
blacksun
cddc841916 add base for master element feature
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2863 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-18 20:44:54 +00:00
blacksun
3eaa0fe823 remove unused include, can't compil.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2851 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-12 17:46:23 +00:00
blacksun
b361788873 Add ability to store informations for element like label, manufacturer, ref etc....
Add widget to edit it, save/load works
Informations are stored in a diagramcontext, this class was modified (new feature) to store information
but keep compatibilty with older version.  


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2850 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-12 17:36:35 +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
c3042460e2 Bug fix: Paste element, make new uuid for the element.
In previous version, uuid are same whith copied and paste element.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2784 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-28 10:45:45 +00:00
abhishekm71
8c86ced6df Bug Fix: Extra line in polygon of elements and arcs and ellipses added.
Arcs and ellipses are approximated with circles at present.
Also, element rotation is not supported right now. Needs to be added.



git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2733 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-11 08:31:39 +00:00
abhishekm71
ea953c4c4c DXF Export: Added some parts of elements:
1. lines
2. rectangles
3. circles
4. polygons

Coordinate accuracy to be checked. More element parts to be added.




git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2732 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-10 18:25:14 +00:00
blacksun
6e58482495 add undo command for linkable element
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2716 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-07 20:11:28 +00:00
blacksun
c795bf72fc folio report can only be linked to inverted folio report
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2694 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-01 19:21:10 +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
blacksun
8adf17b906 revert some change in comit 2675:
Qt use enum for use flags: Qt is a good exemple to make code


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2686 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-31 12:03:36 +00:00
blacksun
d1e11ead59 report element: label update when the linked folio report position change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2682 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-29 22:47:31 +00:00
blacksun
5fe7286998 folio report can be linked (basic)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2680 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-29 18:37:34 +00:00
blacksun
5eecfedd02 element class: replace enum linkertype by #define (better way for use flags)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2675 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-29 13:27:46 +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
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
blacksun
6424ce4819 make new element properties dialog (first step for the new dialog)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2646 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-29 14:42:03 +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