Commit Graph

54 Commits

Author SHA1 Message Date
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
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
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
blacksun
6424ce4819 make new element properties dialog (first step for the new dialog)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2646 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-29 14:42:03 +00:00
blacksun
06a5505162 dialog autonum: when open the dialog the showed autonum is the current diagram
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2462 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-25 21:48:12 +00:00
blacksun
ead766ac90 autonum: add help dialog
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2376 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-07-05 18:53:11 +00:00
blacksun
372a7610f7 autonum widget: if user change type (old type numeric to new type numeric) the value field isn't erase
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2353 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-28 11:29:36 +00:00
blacksun
238115df84 config autonum widget: minor change about enable/disable apply button
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2351 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-27 14:02:59 +00:00
blacksun
8e9ad0dec2 add dialog to configure the autonumerotation context
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2164 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-18 18:39:53 +00:00
blacksun
549f44e375 diagramselection, minor bugfix with unselect/selectall contextMenu
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2151 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-08 11:38:31 +00:00
blacksun
98b2b2b4af diagramselection, little change of the appearance
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2150 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-08 11:23:47 +00:00
blacksun
2888fb4b19 dialog autonum, add default text if diagram or project title are empty
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2149 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-08 10:32:08 +00:00
cfdev
0857577f28 update diagramAutoNum
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2147 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-07 13:17:57 +00:00
blacksun
4a07e5e38c revamp conductorautonumerotation and add autonumerotation class
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2142 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-03 17:35:22 +00:00
cfdev
9db7351a1d Resize icon of dialogwaiting
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2140 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-03 10:54:14 +00:00
cfdev
d35eab6668 add call method to enumerate conductor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2139 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-02 14:50:44 +00:00
cfdev
7b950562d5 Update the dialogconductorautonum with the diagramselection widget
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2133 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-30 10:26:13 +00:00
cfdev
4b915ab77f Add an diagramselection widget
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2132 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-30 10:25:05 +00:00
cfdev
e4c8a83b6e add an icon for dialogwaiting
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2131 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-30 08:57:53 +00:00
blacksun
73d78ea623 add method for get each potentials in a diagram and revamp method for reset all conductors text in a diagram
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2121 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-19 14:59:20 +00:00
cfdev
16b0df47ac Add the removeDiagramFromProject methode for autonum (beta)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2117 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-18 08:00:09 +00:00
cfdev
6baac30851 (BETA) only available in debug mode: Add dialogconductorautonum and call to nomenclature
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2104 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-11 09:35:10 +00:00
cfdev
918aa64972 Add an dialogwaiting ! and use it to open project.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2101 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-11 06:55:00 +00:00