275 Commits

Author SHA1 Message Date
blacksun
066c373365 Fix crash : When remove a diagram from project, close project, and open a project, Qet crash.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3496 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-16 23:24:30 +00:00
scorpio810
8a37b72f69 Add tagg="label"
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3421 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-30 15:03:58 +00:00
blacksun
bf4e6d2a58 QET is open without diagram, and tool bar are disabled.
Default properties is now a static method of the propertie class himself


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3400 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-26 11:57:38 +00:00
scorpio810
24237f9c86 Removed new empty project at start
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3389 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-21 13:57:28 +00:00
blacksun
ee4208329d Remove action : save current diagram
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3388 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-20 23:06:32 +00:00
blacksun
0fce8010bc Fix warning at compilation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3382 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-19 11:25:03 +00:00
scorpio810
ef4daee0fb Nomenclature:
Remove beta entry in menu


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3350 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-05 14:38:34 +00:00
blacksun
419a48213a Nomenclature, some improvement
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3348 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-05 13:35:01 +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
0b5c110b8f Minor code improvent in creation of diagram folio list
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3313 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-09-18 18:12:05 +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
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
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
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
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
scorpio810
441eef4a6d Minor changes
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3096 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-02 01:38:02 +00:00
scorpio810
942f2e6d47 better fix recentfiles
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3057 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-05 17:32:10 +00:00
scorpio810
412f42f295 update recentfiles but isn't perfect
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3054 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-04 16:47:55 +00:00
scorpio810
fd091ad24a recent files refresh
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3053 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-04 15:49:57 +00:00
scorpio810
b9255fd154 Bug fix translate recent files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3051 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-04 15:15:57 +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
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
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
scorpio810
322ba055c0 Minor change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2877 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-26 14:09:25 +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
abhishekm71
dd9c313914 Minor formatting and documenting
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2848 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-11 05:10:16 +00:00
abhishekm71
0888f6e347 Folio List: XML save/open added. When Application starts, folio list is not added
so that user gets the option to choose whether he wants to add folio list or not.
Bug remaining:
- When open project file with folio_list present, folio list sheets are at the end,
  not at the beginning.
- Possibly many others. Thorough testing required.



git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2847 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-10 13:58:30 +00:00
abhishekm71
c96036b7fa Folio List: DXF folio corrected, Delete folio sheet bug corrected,
Folio New Sheets are inserted in the beginning but after the previous folio sheets


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2846 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-10 11:48:05 +00:00
blacksun
fbff5a3b47 minor improvement to diagram folio list.
Add diagram folio list put it on first folio.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2839 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-08 23:54:15 +00:00
scorpio810
fa5a663787 Minor changes
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2838 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-08 18:51:06 +00:00
scorpio810
bf32c96898 Enable export nomenclature Project in all mode (beta)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2837 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-08 18:49:02 +00:00
abhishekm71
173f1988ac List of Drawings: DXF export added and multple sheets for large project added.
Pending work:
- folio string to be formatted correctly.
- thorough testing to be done because lot of changes to addDiagram / removeDiagram had to be done 
  to add the feature of multiple folio list sheets



git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2836 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-08 18:17:10 +00:00
abhishekm71
52aeedfc0d Folio List: New Diagram Folio list can be added if not already present.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2818 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-07 07:54:54 +00:00
scorpio810
5814b55083 preparing for list of drawings
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2816 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-06 23:55:02 +00:00
abhishekm71
026c7f95bb New Diagram: List of Drawings (rough draft) added
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2812 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-06 15:19:27 +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
scorpio810
6d1d4e3bb8 Update Copyright
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2780 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-27 03:00:37 +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
scorpio810
efa2381f6f Bug fix: better fix for: After project Was Closed refresh updateActions if new project is open
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2745 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-18 12:21:27 +00:00
scorpio810
cb0eda744d After project Was Closed refresh updateActions if new project is open
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2739 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-13 01:40:54 +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
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
scorpio810
6240bea2cc Revert revision 2578
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2586 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-10-26 11:51:46 +00:00
blacksun
c53199755b start work to use system icon (only available on x11)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2578 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-10-21 09:48:27 +00:00
blacksun
d314ed68c6 bug fix, diagramContent: fix the bug about & and ==
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2558 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-26 09:27:55 +00:00
blacksun
c060e03007 minor change to slot_UpdateComplexAction
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2524 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-12 13:42:31 +00:00
scorpio810
0b30ded795 Add news icons.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2516 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-11 15:30:49 +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