Commit Graph

555 Commits

Author SHA1 Message Date
blacksun
8eaa2949c6 Conductor : remove "simple" conductor, and add option "visible" for text of multiwire conductor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3338 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-09-28 09:47:06 +00:00
blacksun
373c833eb7 Conductor : improve text pos
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3336 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-09-27 08:40:04 +00:00
blacksun
cfde3232eb Conductor : improve text position
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3333 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-09-26 08:48:55 +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
scorpio810
ad37a11611 Fix for Mac os X, update MacQetDeploy.sh script, thank Yoann
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3234 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-27 11:56:31 +00:00
blacksun
32938655d7 Autonumerotation: Auto numbering isn't increased through the terminal Elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3229 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-23 19:54:25 +00:00
blacksun
08cf153ea8 Improvement: Use anticipate class declaration instead of include header
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3224 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-21 20:44:32 +00:00
blacksun
5a8bb42153 move undo command: graphics item is animated when undo/redo (testing)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3202 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-09 16:50:30 +00:00
blacksun
844167f181 xref: switch contact is managed by cross ref
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3201 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-07 14:36:53 +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
8379163061 Xref item: item position can be set under the texte field "label" of master element.
Double clic in xref open the properties dialog of master.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3183 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-27 18:34:18 +00:00
scorpio810
7a4b346a80 qetshapeitem: restore Antialiasing false
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3146 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-18 10:46:09 +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
scorpio810
6c8f4482db Fix fails to build on Windows
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3142 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-16 04:20:41 +00:00
scorpio810
da1277566b Basic shapes: Antialiasing set to disable, fix print line type on Windows plateform
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3139 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-15 13:29:30 +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
74732bb54b element editor: add dialog for edit element properties (master, slave etc...)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3102 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-03 20:21:19 +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
blacksun
6f51f1eb0d Element editor : replace home made property by Q_PROPERTY for all primitive,
Add combo box for input to set the tagg (nothing or label, actually)
Remove terminal text because unused.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3088 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-29 13:46:04 +00:00
blacksun
9d9f6bd0db Add flags for qmake to use C++11
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3079 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-26 14:42:00 +00:00
abhishekm71
215e268467 QetShapeItem: Add Scale option with UNDO/REDO
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3078 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-25 18:33:06 +00:00
blacksun
2e2ac0cb61 Xref item: minor improvement
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3066 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-13 19:28:11 +00:00
blacksun
7b7471c14c cross ref item: min cross size is set for 4 contacts.
cross ref item: improve code (will be faster)


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3065 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-13 17:37:14 +00:00
blacksun
56bf8b1c6b Cross ref item: when xref is show has table, user can add prefix to the text of power and delay contact.
Minor improvemnt: the table update is size according to his content


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3060 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-07 20:56:51 +00:00
scorpio810
3c3a7c9255 Bugfix:foliolist and shapeitem are now translated
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3043 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-03 00:37:57 +00:00
blacksun
af22c5bc70 improve behavior of Xref item (must show or not the power contact)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3042 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-02 18:14:42 +00:00
scorpio810
1148cd8557 Basic shapes, Workaround: QCheckBox cb(tr("Verrouiller la position") setVisible(false);
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3037 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-29 03:47:37 +00:00
blacksun
1cd9c4b28c cross ref item: bugfix
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3035 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-28 19:00:49 +00:00
blacksun
91552373cf Cross ref item: user can select if xref must be displayed has a table or a contacts list.
Option is found in config dialog under the tab Cross ref.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3033 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-28 15:41:58 +00:00
blacksun
eee2a9181e Bug fix: qet crash when close a diagram with a cross ref item.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3015 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-20 23:37:03 +00:00
blacksun
b4999bfafb fix some memory leaks
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3012 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-19 12:56:30 +00:00
blacksun
0f5154ed55 cross ref item: comment is wrapped for better visual
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2990 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-16 19:39:20 +00:00
blacksun
ff14edda6b Cross ref item, check properties for show power contacts or not.
Change properties in project is applied immediately to cross ref


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2985 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-12 12:51:25 +00:00
blacksun
c7fe3f583b bug fix: cross ref item have wrong behavior when rotate is master. (thanks mmiacca)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2984 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-12 01:26:19 +00:00
blacksun
1ce608e7df cross ref item: don't show postion of element 'power'.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2959 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-02 17:36:40 +00:00
blacksun
07eed05123 improve commit 2954
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2956 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-02 16:57:13 +00:00
scorpio810
5f7836710a cross ref item: bug fix
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2954 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-01 01:58:37 +00:00
scorpio810
28e41fd4cb cross ref item: refresh table align
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2953 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-01 01:45:53 +00:00
blacksun
1a1dbbc3be master element: add auto label when "comment" isn't empty and must show
element info widget -> comment line: must show is checked by default


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2951 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-31 16:02:47 +00:00
blacksun
9766b8f01e cross ref item: improve improve the position of the comment at the bottom of the cross
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2950 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-28 10:33:14 +00:00
blacksun
0c486bcb09 cross ref item : show the master comment at the bottom of cross
element : improve the function to sort an element list
qet graphics item : add a bool to disable the snap to grid (used for cross ref item, to be exactly at the bottom of element)


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2948 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-26 10:41:06 +00:00
blacksun
0109a5d188 slave element: when linked to master, label is replaced by the label of master, and show the position of the master
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2946 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-21 14:40:33 +00:00
scorpio810
0570862e41 cross ref item:reduce table and redrawing symbolic by joshua
Basic shapes: workaround,pen set with 1px only in Win OS


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2944 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-21 02:28:47 +00:00
scorpio810
5760403f11 Basic shapes: after many print tests retore line with 1.0
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2943 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-20 14:09:31 +00:00
scorpio810
2c6ebeeeeb cross ref item:reduce pixel table for printers
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2942 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-20 13:56:53 +00:00
scorpio810
3612bd0fad cross ref item:restore cosmetic for text
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2941 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-20 13:47:58 +00:00
scorpio810
68a6fcab75 cross ref item: redraw symbolic contacts for reduce size
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2940 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-20 13:32:41 +00:00
scorpio810
246910ba84 Basic shapes crossrefitem: update to cosmetic changes
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2939 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-20 11:56:06 +00:00
scorpio810
25e0ace619 Fix typo in previous commit
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2937 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-19 16:29:25 +00:00