Commit Graph

2676 Commits

Author SHA1 Message Date
blacksun
6c77a8ae07 cross ref item : grow the size of the cross according to the number of linked elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2923 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-13 14:59:40 +00:00
blacksun
b74c5804be Replace the class folioReportProperties by the class linkSingleElementWidget.
The new class does the same thing but is more flexible, this class is used by report and slave element
to find element to be linked and/or unlink an already linked element.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2921 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-12 09:32:56 +00:00
scorpio810
b28a291413 Minor change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2914 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-08 14:08:16 +00:00
scorpio810
d5817fc557 Minor change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2913 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-08 13:45:36 +00:00
abhishekm71
7242854045 Basic Shapes: Move coords corrected for XML, DXF export
(Bounding Rectangle had to be updated with each move)



git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2912 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-07 12:34:47 +00:00
abhishekm71
b969f86d55 Shapes Move: Undo/Redo added
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2911 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-07 08:47:56 +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
dbd1607a7a Basic Shape Delete/CUT/Copy: Keyboard Shortcuts now possible
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2909 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-06 15:40:18 +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
blacksun
020d4f575c add cross reference graphic item, only for master element.
(basic implementation, need to be improved)


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2906 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-03 17:31:45 +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
blacksun
578cda387b Move load of kind information from element to custom element, because the kind information
belong to the element definition, so custom element.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2896 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-02 11:15:59 +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
2c4d365200 Correction: DiagramContent:: enum Filter values (thanks joshua)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2891 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-01 06:14:58 +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
abhishekm71
0af7b828b0 Basic Shapes: DXF Export added.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2886 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-28 08:20:00 +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
scorpio810
ece4baca66 Basic shapes add setRenderHint(QPainter::Antialiasing, false);
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2880 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-27 12:54:09 +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
blacksun
bf707cca2e master propertie widget:
can link/unlink slave to master
can show element by double clic item on the list
reset modification 


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2878 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-26 23:57:22 +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
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
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
abhishekm71
345cbda616 ExportDialog: Add buttons for SelectAll and De-Select All
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2861 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-17 11:11:06 +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
abhishekm71
2c8bf84795 Folio List:QET Crash on print corrected
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2849 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-11 11:49:03 +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
abhishekm71
faa9152e7c folio list: scaling as per sheet size added
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2844 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-10 05:31:08 +00:00
abhishekm71
23970c9473 Folio List: DXF Export long text corrected and
Alignment changed for Title: Center aligned for heading 
and left aligned for entries


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2842 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-09 17:47:18 +00:00
abhishekm71
a43d3ae67e Folio List: Long text spacing adjusted, title text left-aligned.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2841 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-09 16:51:45 +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
scorpio810
b61e278b87 Deleted: svn:keywords
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2830 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-08 09:33:17 +00:00
scorpio810
48d6989cce Try Refresh svn keyword
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2828 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-08 07:29:10 +00:00
scorpio810
4d307623d8 Add Copyright forget
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2827 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-08 07:08:36 +00:00
scorpio810
3f515ef924 Refresh svn keyword
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2824 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-07 20:28:40 +00:00
scorpio810
168fe7f1da Update svn keyword
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2823 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-07 20:23:26 +00:00
blacksun
c1f8cee179 improve comit 2820
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2822 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-07 19:04:57 +00:00
blacksun
b51d71f897 save/load conductor text for the 3 kinds of conductor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2820 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-07 14:45:43 +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
8bf916ca03 Optimizes cache_db_ for faster
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2817 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-07 07:04:27 +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