Commit Graph

76 Commits

Author SHA1 Message Date
scorpio810
e353e96cd7 Cosmetic change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3264 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-09 22:28:53 +00:00
scorpio810
e5b8c89901 m_color_pb button set styleSheet to min-height to 1.5em; and border-radius:to 4px;
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3259 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-08 16:26:03 +00:00
scorpio810
1054c672ad Bug fix: conductorpropertieswidget, the color button now shows the true color of the conductor color in other style as windowsvista GTK etc...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3257 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-07 21:02:06 +00:00
blacksun
0c6c3c8f7e Dialog autonum : minor improvement
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3253 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-04 17:25:10 +00:00
blacksun
824e4315aa Editor autonum dialog: add next/previous button
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3252 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-04 16:12:59 +00:00
blacksun
f918917c7a conductor autonum. Diagram save current selected autonum.
Readd dialog to select texts, when potential have different texts


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3251 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-04 14:39:57 +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
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
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
scorpio810
e952dd5158 Fix typo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3207 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-12 20:01:17 +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
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
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
blacksun
9595e55645 Xref propertie widget: fix wrong behavior
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3047 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-03 13:22:50 +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
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
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
a35c2dc022 bug fix for Qt version older than 4.7
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2945 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-21 10:39:05 +00:00
blacksun
e516cc6a87 add function to sort an elements list by the positions of elements.
this function is use by:
cross ref item -> shild are always sorted
element selector widget -> list of widget are sorted.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2931 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-18 12:35:36 +00:00
blacksun
0d536f9c21 cross ref item: use symbolic contact instead of text NO NC (No need to translate, understand everywhere)
Element selector widget: add label of element.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2929 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-17 17:58:04 +00:00
blacksun
b94cb6a69f link single element widget: fix wrong behavior with the the bouton "see the linked element"
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2927 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-16 21:20:38 +00:00
blacksun
82c1ff9fde LinkSingleElementWidget: add line for filter available element.
filter work with the information of element.
elementSelectorWidget: add filter method.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2926 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-15 20:49:05 +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
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
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
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
scorpio810
0e0d8f4d83 Add Copyright forget part 2
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2794 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-29 19:14:04 +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
1f8bd1e411 Minor improvement 1 : folio report widget, reports aren't sort if they aren't drop in same order of diagram
ex: first are drop in diagram 1, 2 in diag 5, 3 in diag 3 etc...

Minor iprovement 2 : Able to connect folio report in the same folio.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2764 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-22 20:10:06 +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
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
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
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
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
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
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
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