blacksun
fee0c55d9c
In rare case in the diagram editor, when we add an element in the diagram and quickly click left, qet crash.
...
This commit try to avoid this crash, but without any certitude because the crash is very difficult to reproduce
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4959 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-05-13 16:01:47 +00:00
blacksun
34d7d134d3
Simplify how the diagrams are saved
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4927 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-03-05 13:10:47 +00:00
blacksun
878e3d5bf0
Remove some unused or obsolete code.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4926 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-03-05 12:24:33 +00:00
blacksun
1b120550e8
Fix bugtracker report N° 119 : Variable %F (of several element Xref) is not always up to date when the corresponding value of titleblock change.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4906 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-02-11 11:42:52 +00:00
blacksun
9792e95e6f
Minor : remove a signal in diagram and use directly a signal of qetproject
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4904 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-02-09 11:07:45 +00:00
scorpio810
41659fa6fd
Revert r4900
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4902 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-02-05 16:18:50 +00:00
scorpio810
6422dd096f
Replace foreach function by for, please try and report problem
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4900 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-02-04 21:43:23 +00:00
scorpio810
54c85db29c
Minor update Copyright year
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4860 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-20 10:55:49 +00:00
blacksun
15fb7e94bd
Fix crash
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4828 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-02 13:42:16 +00:00
blacksun
14f02d4ed1
revert and merge rev 4823.
...
Fix : in old projects without the conductors formula, the conductors texts aren't loaded and displayed
Fix it in method void Conductor::refreshText()
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4825 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-12-28 10:03:47 +00:00
scorpio810
52f911887d
Revert rev 4814 and 4820 momentarily
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4823 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-12-24 12:48:44 +00:00
blacksun
d8a374629b
Modifie the text item of a conductor directly on a diagram also change the value of formula and label of the conductor property.
...
The change is apply for every conductors in the same potential
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4814 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-12-19 15:57:20 +00:00
blacksun
543578c3dc
Conductor :
...
Use method toXml and fromXml of sequentialNumbers.
Use m_freeze_label instead of m_frozen_label to save the frozen status of the text item.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4807 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-12-12 10:52:44 +00:00
blacksun
4f192940b3
Element : change freeze label variable from a string to a bool.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4805 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-12-10 12:00:52 +00:00
blacksun
ae2afe8424
Element : edit an element text item (with tagg) directly on the folio, also update the information of the element.
...
For exemple, edit the element text item tagged "label", update the value with key "label" of element information.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4804 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-12-08 16:54:41 +00:00
blacksun
7ab0115c62
Conductor : formula and text is now two different things.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4799 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-12-06 19:49:18 +00:00
blacksun
c811b02516
Element now use the pattern and variable of formula to create the label, both stored in diagram context (instead of the label with a pattern and formula, to create the final label)
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4795 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-12-01 09:09:50 +00:00
blacksun
6ea169e1f7
Bug fix : Conductor text with formula that contain %id isn't good when open project (variable %id is replaced by 0 in each folio)
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4746 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-10-17 14:26:13 +00:00
dfochi
b1c465528d
Bug Fix: correct Folio List folio display. Bug Fix: correct arrow key move behavior
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4693 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-09-05 21:19:00 +00:00
dfochi
30a9aa9cfe
Update Policy now works with conductor autonumberings
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4680 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-09-01 19:41:49 +00:00
dfochi
230700f845
Conductor Autonum now works with variables. Folio Autonumberings added to conductor autonum
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4674 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-08-29 15:37:42 +00:00
dfochi
1ad45dbc80
Fix Multiple Folio Sequential Autonumberings. Corrects save/open behavior for folio sequentials in projects with multiple autonums
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4666 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-08-25 16:28:11 +00:00
scorpio810
cfa0dd5b02
Add signal to refresh folio label in panel tree view when user change
...
folio label in titleBlock property
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4643 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-08-21 19:37:32 +00:00
dfochi
8f8ede0e6c
Fix Home and End Buttons Handling and DiagramEditor Scroll
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4613 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-08-08 16:42:47 +00:00
dfochi
d6f1381631
Creation of folio sequential type for Element Autonumbering. Correction of autonumbering type handling in numparteditorw.cpp
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4592 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-07-26 18:52:49 +00:00
dfochi
989905da01
Conductor now support variables. (%F, %id, %total, %f and titleblock and project variables). Minor: labels that use %F update when folio field is changed
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4586 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-07-20 21:54:54 +00:00
dfochi
3a7d210bcb
Added AutoNumbering Management Tab. Update Policy support to Element.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4585 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-07-20 15:07:21 +00:00
blacksun
371b8cb591
Allow copy of elements from a project to another with the actions copy/paste
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4581 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-07-18 17:37:02 +00:00
dfochi
f8a829d328
Element Autonumbering now has sequential variables and selectautonum widget. Renamed autonumbering variables.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4569 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-07-10 01:33:49 +00:00
dfochi
522759e8b3
Element autonumbering. New tab inside autonumbering menu to assign formulas to element label. XML containing elements labels according ISO/IEC 81346 (./elements/10_electric/qet_labels.xml
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4563 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-07-05 20:14:14 +00:00
dfochi
44e96a6ea7
Moving elements with keyboard arrows scrolls editor and expands scene to right or below the editor. Element movement to the left and above the editor is impeded. Plus and Minus buttons zoom in and out of the editor.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4549 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-06-09 20:46:27 +00:00
scorpio810
025fa64f67
Minor : update Copyright date
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4481 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-05-13 17:40:36 +00:00
scorpio810
662e3b20d2
Restore commit 4476
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4478 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-05-13 15:00:22 +00:00
dfochi
f077361856
Reverting previous commit and going back to revision 4475.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4477 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-05-13 13:48:36 +00:00
dfochi
fa4714b95d
1) Use arrow keys to navigate through the diagram editor. 2) Use PgUp, PgDn, Home and End keys to navigate through open folios. 3)Use Delete Key inside elements panel widget to delete diagrams. 4) Added a scroll area in auto numbering page.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4476 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-05-13 13:10:32 +00:00
blacksun
111567c072
Bug fix (unable to load element from .qet file)
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4379 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-03-15 18:42:18 +00:00
blacksun
d773581bdd
Clean some code
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4264 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-11-16 08:59:43 +00:00
blacksun
635aec4ad2
Minor change
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4255 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-11-09 20:20:11 +00:00
blacksun
1a7e3ac8e1
Fix warning about QSettings: now QSettings use native format for windows osx and other unix. See Qt documentation for more information.
...
http://doc.qt.io/qt-5/qsettings.html#details
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4206 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-09-16 15:11:13 +00:00
scorpio810
3c327009a5
Fix FTBFS on x86_64-w64-mingw32 cross-compilation, thank Joshua
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4083 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-08-03 05:43:44 +00:00
blacksun
c31ae41910
Revamp some code
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4047 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-07-12 15:05:59 +00:00
blacksun
4142f9c6a2
Bug fix : Qet crash when load a conductor without two terminal (because the allocation of a new conductor fail)
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3974 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-05-18 22:19:14 +00:00
blacksun
2a04e3c64f
Fix bug: scene rect was wrong when border propertie is same in code and config.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3875 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-03-30 15:58:16 +00:00
blacksun
e731b48f86
-Replace option : draw grid outside of border by zoom out beyond of folio.
...
When option is to true, zoom out is infinite and grid is draw outside of border.
-Zoom out with mouse wheel is now more slowly
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3863 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-03-29 12:15:25 +00:00
blacksun
bc36c6adf3
Diagram view :
...
-Set maximum Visualized scene to diagram scene rect*2.
-At first activation, view call zoom fit to see all of the diagram
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3861 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-03-27 09:45:19 +00:00
blacksun
af63714517
Add option to draw or not the grid outside of the border of folio.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3850 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-03-24 23:10:15 +00:00
blacksun
72c68c0d8d
Clean up some code
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3834 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-03-18 18:07:18 +00:00
blacksun
04687effda
Title block can be displayed at right edge of diagram (work in progress)
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3827 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-03-16 13:29:27 +00:00
blacksun
8919e8e690
Diagram : draw the points of the grid only inside the diagram
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3826 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-03-14 21:40:44 +00:00
blacksun
bb54483e23
Change the way to add new element in a diagram.
...
Drag & drop an element in a diagram and click left to add it, click right to finish
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3803 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-03-04 21:13:13 +00:00