Commit Graph

211 Commits

Author SHA1 Message Date
blacksun de38f654a9 Qetdiagram editor, diagramView : some code improvement (less code)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3117 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-07 21:03:49 +00:00
blacksun 5c3bdee705 hover an element when create new shape don't focus him
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2932 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-18 16:12:51 +00:00
abhishekm71 82ad6168c1 Basic Shapes: Edit property(style) added, undo/redo style added
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2910 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-07 08:05:25 +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 5d9c6f00f3 Basic Shapes: Undo/Redo command added
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2892 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-01 07:30: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 6588e57595 Basic shapes prepare to right menu
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2881 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-27 13:48:24 +00:00
abhishekm71 8e4c71c3e7 Basic shapes: Items can be selected and moved (thanks joshua)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2879 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-27 09:55:54 +00:00
abhishekm71 25aa9603fc Basic Shapes: Dynamic Preview added when constructing the shape.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2876 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-24 14:22:26 +00:00
abhishekm71 7b32c56562 Removed QRubberBand Class. Not required, at present commented out the sections
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2874 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-23 19:50:06 +00:00
abhishekm71 b0e9e7efc1 Basic Primitive shapes added (line,rectangle,ellipse). Default style dashed.
Pending work:
1. DXF Export
2. XML Import / Export
3. Properties Edit option (line style/colour/weight)
4. Debugging required



git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2873 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-23 18:55:26 +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 51c34b416b Show corresponding diagram to undo/redo action
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2714 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-06 18:21:58 +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 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
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
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
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
blacksun c2ac7227b1 change the way for apply new conductor property to all potential
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2638 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-23 13:21:29 +00:00
blacksun 73bf32a640 when change a propertie of conductor, ask for apply the change for each conductor of the same potential
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2634 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-21 21:34:49 +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
cfdev 4f882aa178 fixed syntax error, since revision 2585
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2593 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-05 17:11:01 +00:00
blacksun a21b1782d2 handle drag and drop of text (html work to)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2585 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-10-26 11:46:59 +00:00
blacksun eae024ebce fix warning at compil
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2545 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-17 20:48:15 +00:00
blacksun 7cfb83d350 add edit image to context menu
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2508 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-10 14:44:25 +00:00
blacksun 21a8dfc640 revert some change at the comit 2445 and change the autonum entry in the ContextMenuEvent
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2458 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-25 10:38:26 +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
scorpio810 9e0d000b56 Fix size widget conductorpropertieswidget in config dialog
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2204 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-03 06:45:17 +00:00
blacksun f7478c2051 add widget to configure rotation conductor text by default (not finish)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2198 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-02 21:37:04 +00:00
scorpio810 2a019bb62b Add action autonumbering to contextmenu
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2172 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-20 19:48:53 +00:00
blacksun b837ffa0b1 element editor and diagram view, now can move view by holding wheel click and drag mouse
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2153 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-11 18:20:26 +00:00
blacksun cc2e64b2d7 fix a bug when change a conductor property on multiple conductor potential with conductor dialog property
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2119 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-19 12:28:08 +00:00
cfdev 5dc829569e Clean wheelEvent in diagramview and add the same system to element Editor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2115 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-16 12:00:41 +00:00
cfdev f8f4dbaaca Change mousePressEvent: the MidButton click set selection or visualisation mode.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2113 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-15 19:51:39 +00:00
cfdev 9f53e1f3ec Prepare on the wheelEvent Onclick select visu mode and drag schema.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2112 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-15 13:17:06 +00:00
scorpio810 3dd73325d3 Revert commit 2106 is too buggy.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2107 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-13 14:02:47 +00:00
cfdev ff916f1320 Set the wheelEvent Like libreCad or Autocad: Onclick select visu mode and drag schema.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2106 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-13 12:26:42 +00:00
blacksun e4b8822caf forget header
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2100 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-10 19:52:00 +00:00
blacksun 5bd6d3edc4 like rev 2096 without breaking code
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2099 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-10 19:35:47 +00:00
scorpio810 c639d69108 Revert Rev 2096.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2097 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-10 11:10:02 +00:00
blacksun 26a0ead2b0 add dialog when user change a conductor text on a multi conductor potential and revamp class
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2096 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-10 09:31:51 +00:00
cfdev b35bb53512 Delete htmleditor, add ritchEdit
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2095 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-09 11:26:53 +00:00
cfdev 4d0ad03e19 Translate french comment to english on mousePressEvent.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2094 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-08 20:06:36 +00:00
cfdev fbe57dda2b Delete past with wheel click on X11
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2093 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-08 19:46:11 +00:00
cfdev 265eb17f63 fix regression on mousePressEvent
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2092 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-08 19:38:50 +00:00
cfdev 99a2880136 Update wheel mouse event and add the possibility to change mode (selection, visu) with the wheel click.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2091 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-08 14:39:50 +00:00