blacksun
8477d4d928
Diagram view : diagram isn't anymore optional in constructor
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3563 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-21 12:15:45 +00:00
blacksun
5e935a976e
Minor change according to the evolution of Qt class (remove QGraphicsScene from constructor of QGraphicsItem).
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3547 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-14 13:06:21 +00:00
scorpio810
d544fd3d85
Revert r3492
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3493 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-16 20:32:55 +00:00
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
6b40932bb4
Diagram view: reactive drag&drop html text
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3419 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-30 13:29:58 +00:00
blacksun
1a842dc263
DVEvent: press key escape, abort the curent action
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3369 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-10 18:16:02 +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
016f24dcda
Diagrameditor / view, revamp the way to edit selection.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3331 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-09-25 09:44:41 +00:00
blacksun
69f239d197
Diagram view: All add action (text/shape/image) is now managed outside of diagram view by subclass of DVEventInterface
...
DVEventInterface :this abstract class is used by diagram view to manage is event action (mouse event).
For add new action to diagram view, we must to create subclass of DVEventInterface and give it to diagram view,
when diagram view get the new dvevent, they manage it, and delete it when action is finish.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3329 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-09-24 09:38:16 +00:00
blacksun
818a7601d9
Conductor properties dialog: dialog is now build in is own class.
...
The conductor himself call the dialog when he have mouse double click.
The dialog isn't managed by the diagram view anymore.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3295 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-09-02 18:41:25 +00:00
scorpio810
209a6277b8
bug fix: gestures set false by default
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3294 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-09-01 14:56:11 +00:00
blacksun
120696d822
Diagram view, improve behavior with track pad
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3293 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-31 09:45:01 +00:00
scorpio810
2e6af1b2e9
Add switch button to enable trackpad gesture
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3291 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-29 02:33:38 +00:00
scorpio810
e2debaefa3
Refrefresh diagramview
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3289 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-24 03:36:38 +00:00
scorpio810
8b352982e9
Refresh diagramview
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3288 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-19 16:06:28 +00:00
scorpio810
5f495bff24
Fix Mac os X FTBFS
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3287 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-19 11:29:47 +00:00
scorpio810
2f287080d7
DiagramView::wheelEvent limit scale for zoom out
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3286 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-18 23:33:31 +00:00
scorpio810
d4e64d72ff
Mac os X add QAbstractScrollArea::wheelEvent(e) only, and gestureEvent, thank Yoann
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3284 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-18 18:26:38 +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
01eb4e6455
Diagram properties dialog: the dialog is not built in DiagramView anymore, but a class itself
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3222 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-19 11:42:16 +00:00
blacksun
b0622570e3
conductor properties widget: replace widget made by c++ by widget build by ui file
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3216 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-17 09:20:21 +00:00
blacksun
83583dd94e
title block properties widget: minor improvement
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3210 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-13 13:37:43 +00:00
blacksun
bb378b4efb
TitleBlockPropertiesWidget: replace widget made with c++ by widget made with ui file
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3204 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-12 13:14:47 +00:00
blacksun
e7600cb3d4
BorderPropertiesWridget: replace widget made with C++ by widget build by ui file.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3203 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-11 16:45:18 +00:00
blacksun
25acb29992
QetShapeItem: user can add polyline shape
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3144 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-17 09:08:41 +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
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