Commit Graph

700 Commits

Author SHA1 Message Date
scorpio810
9fe29b4ccc Refresh align authors tab
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2754 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-19 14:25:11 +00:00
scorpio810
9d8290efec Add Abhishek Bansal to authors
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2753 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-19 14:16:25 +00:00
abhishekm71
0577df384a DXF: Element rotation added
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2752 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-19 10:46:34 +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
abhishekm71
c90c09e4f1 DXF: Unnecessary "_" text removed.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2747 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-18 13:03:42 +00:00
abhishekm71
9699f8d010 DXF Export: Added Ellipse and Element Text Document for export.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2746 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-18 12:23:35 +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
blacksun
417526c90b close dialog: fix wrong title
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2744 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-16 09:44:11 +00:00
blacksun
d0bafa135f folio report properties widget: add two buttons:
first see the edited report,
second see the linked report (if the edited report is already linked)


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2742 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-14 23:09:07 +00:00
blacksun
6f01fce254 bugfix, rotate text crash qet
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2741 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-13 20:26:04 +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
abhishekm71
8e50476b03 DXF Export: Multi-line text can be exported
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2738 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-12 17:02:30 +00:00
abhishekm71
ae589a5302 Minor Fix: Division by 0 avoided
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2737 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-12 13:22:16 +00:00
scorpio810
a7d384ea44 Translate comment
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2736 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-12 00:34:06 +00:00
scorpio810
99fa838bdd Minor change: refresh indent
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2735 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-11 22:38:30 +00:00
blacksun
d25e07db7c element text item: element isn't movable by defaut,
for move text we must hold ctrl key


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2734 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-11 18:09:04 +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
scorpio810
9f3120e7f1 Fix previous commits
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2731 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-10 18:17:21 +00:00
scorpio810
ec9a3c83c3 Add sorting the list of report folio
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2730 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-10 17:56:52 +00:00
blacksun
f69af2944f bug fix: QET crash when rotate image or text
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2721 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-08 21:06:26 +00:00
blacksun
601e4faaa0 folio report: improve GUI and add unlinkcommand
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2720 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-08 19:27:38 +00:00
abhishekm71
de10e6cf69 Export to DXF Format partially added. Following entities are exported:
1. Border and title block
2. Diagram independent text items
3. Element text items
4. Conductors

Following entities are not exported right now:
1. Element components
2. Terminals
3. Maybe other things also.

Lot of debugging shall be required.

Thank you




git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2718 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-08 16:55:16 +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
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
scorpio810
c7660de89a test
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2705 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-04 16:27:07 +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
b7186468d0 forget file from previous commit
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2687 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-31 12:53:22 +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
ea5902fe38 make user text for folio report none editable
Add signal mapper for radiobutton in the folio report dialog


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2679 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-29 18:09:25 +00:00
abhishekm71
04e5961d17 Text color and element color now do not change with background color
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2678 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-29 17:51:01 +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
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
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
31a865b5d1 Added Abhishek new patch:
Diagram::background_color is now selectable for white or grey
remove QColorDialog for Background
print dialog is always in white background
Thanks


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2673 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-28 20:39:38 +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
c44f8704f9 Minor change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2671 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-27 04:27:12 +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
scorpio810
ef4bbdf0e3 Editor: gathering combobox style and line_weight in same layout
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2669 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-26 14:08:35 +00:00
blacksun
f2472e559d forget file in previous comit
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2666 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-20 20:34:45 +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
7ae3842a22 editor element: style selection, change radio button by combobox
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2662 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-19 23:47:57 +00:00
scorpio810
1ec9d9705f Replacing getenv function in Windows, thanks Francisco
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2661 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-19 16:11:52 +00:00
scorpio810
5c3e0d6dc4 Add widget combobox line weight to element editor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2660 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-19 15:22:12 +00:00