Claveau Joshua
edfdf83c99
Nomenclature : enable option "fit to diagram"
2020-05-24 15:03:56 +02:00
Claveau Joshua
0015f4a694
Qet graphics table item can be removed from diagram
2020-05-12 11:17:25 +02:00
Claveau Joshua
37efa97ce7
qet graphics table item : to/from xml change
...
The font, alignment and margins is not saved by the table anymore but by
the model.
2020-05-08 00:08:57 +02:00
Claveau Joshua
efac27b9b8
Nomenclature : Add dialog when insert a new nomenclature table
2020-05-05 20:38:31 +02:00
Claveau Joshua
3905371da6
Fix wrong element text value when loading from xml
2020-05-03 20:29:55 +02:00
Claveau Joshua
9bb58fedea
Element query widget : widget restor is state according to the current query
2020-04-29 11:48:45 +02:00
Claveau Joshua
a8a9ddc3d6
Add view 'element_nomenclature_view' to projectDataBase
...
Add a view for the nomenclature to reduce the size of the query and make
it more understandable
2020-04-25 15:52:06 +02:00
Claveau Joshua
61d4ddfcda
QetGraphicsTableItem : Imrpove how the table is resized
2020-04-17 23:15:39 +02:00
Claveau Joshua
908d79925c
save/load QetGraphicsTableItem to/from .qet file
2020-04-17 18:40:28 +02:00
Laurent Trinques
73149973e3
Merge remote-tracking branch 'origin/QetGraphicsTableItem'
2020-04-12 18:51:38 +02:00
Claveau Joshua
41541dde2c
Minor fix : dynamic text can't have 'label' info if formula is set
...
When create a new dynamic element text item, on an element which have a
formula, dynamic text can't have 'label' for source of text.
2020-04-10 15:02:18 +02:00
Claveau Joshua
94aa5c0247
Minor fix : in some condition master cross Xref are not displayed
2020-04-08 19:27:24 +02:00
Claveau Joshua
f7a090c3ca
Add widget to edit QetGraphicsTableItem and QetGraphicsHeaderItem
2020-03-08 10:38:49 +01:00
Claveau Joshua
2a29b4b240
Add itemTYpe for QetGraphicsTableItem and QetGraphicsHeaderItem
2020-02-21 08:55:35 +01:00
Claveau Joshua
43baed69db
Add QetGraphicsHeaderItem
2020-02-20 21:33:26 +01:00
Claveau Joshua
fd2c210f49
Add QetGraphicsTableItem + entry "add nomenclature" in project menu
2020-02-02 16:33:19 +01:00
joshua
91353b5578
Minor : Fix wrong position with cross ref item displayed as cross
2020-01-09 22:43:16 +01:00
Laurent Trinques
41af7abadb
Fix typo
2019-11-18 12:53:05 +01:00
joshua
fc73d53d73
CSV export : correctly export label
2019-11-07 21:21:07 +01:00
joshua
ff7eb4d11c
Revampe nomenclature
...
Nomenclature is now totally revamped, user can define information to
export and the order of theme.
2019-11-03 13:27:46 +01:00
Laurent Trinques
3fa071841c
Merge and clean Stromie patch : feature set xref slave position
2019-08-31 07:37:34 +02:00
scorpio810
421c7821be
Basic shapes : set solid line pattern by default
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5918 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-06-12 13:16:54 +00:00
blacksun
cd9a42184f
Add new slave type : delay on/off
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5848 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-04-29 16:41:06 +00:00
blacksun
da99c82670
Minor : The Xref (draw as contact) of temporised switch contact are not represented with the parachute
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5845 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-04-26 18:01:28 +00:00
scorpio810
957c019a8f
Minor : update Copyright date
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5824 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-04-03 18:29:13 +00:00
blacksun
32e2fd3c89
Replace deprecated QMatrix by QTransform
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5801 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-18 20:14:36 +00:00
blacksun
1ac950cd81
Replace Q_ENUMS (with S, deprecated since Qt5.5) by Q_ENUM (without S)
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5800 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-18 19:49:12 +00:00
blacksun
32db96c623
Add new entry if the main QElectroTech dialog conf, to set a defaut font and rotation of independent text item.
...
Revamp some GUI
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5767 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-08 20:07:00 +00:00
blacksun
a58cecc22a
Independent text can have custom font.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5766 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-08 13:47:33 +00:00
blacksun
c9ebb78639
Diagram text item : remove the function fontSize, and use instead font
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5765 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-08 11:53:27 +00:00
blacksun
26a071a4d9
Dynamic element text item : The font of the dynamic texts can be individually be setted.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5764 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-08 10:27:33 +00:00
blacksun
33d757e0d8
Diagram editor : add a new widget in the "curent selection dock" for edit the independent text. WIP
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5737 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-02-19 16:42:07 +00:00
blacksun
ae68f08bb6
Improve free selection behavior
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5732 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-02-04 19:00:46 +00:00
scorpio810
3ed7a4e63b
Minor : update Copyright date
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5705 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-13 16:56:12 +00:00
blacksun
d45c070e16
Search and replace : improve the search for elements.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5662 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-26 20:32:11 +00:00
scorpio810
75447a8adb
Dynamic text item : load the requested font style name, like: italic,
...
bold, regular, etc
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5636 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-06 15:48:45 +00:00
scorpio810
a4508008d4
Force set dynamic text length to default -1
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5618 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-29 09:48:51 +00:00
scorpio810
0931e9c0a9
Big increase the value of QPainterPathStroker for very long text, thanks
...
re-searcher
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5617 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-29 09:42:23 +00:00
blacksun
d8ed6a5130
Change xml tag name : dynamicitemfont
...
by : font_family
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5604 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-24 21:26:24 +00:00
blacksun
2f585840c6
Dynamic text item : load the good font from xml.
...
Laurent, you can now sleep well :)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5603 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-24 21:12:27 +00:00
blacksun
a620b4067d
Bug fix
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5579 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-10 12:19:30 +00:00
scorpio810
9e7899fd40
Add a new tab in settings, user can select a font size, a rotation angle
...
and a text width by default for new dynamic text, it work also in
element editor command.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5568 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-10-26 23:42:49 +00:00
blacksun
e6d73977c1
1-Use the "implicite shared" of Qt for the QPicture and QPixmap of element ( https://doc.qt.io/qt-5/implicit-sharing.html ).
...
This avoid to parse the same element definition each time user drop the same element in the diagram.
Only the first element build the picture, all other get the created picture which is shared.
2- For use the "implicite shared" QPicture and QPixmap of element, now this isn't the element who build her picture, but a dedicated class who made only this job : build the QPicture and QPixmap of elements.
3- With the two previous novelty, the class CustomElement and GhostElement are became useless, and so was removed.
Some few member function of CustomElement was moved to Element.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5492 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-23 19:41:58 +00:00
scorpio810
30bee81432
Revert r5449 and disable r5452 momentary : Load time from elements is
...
very slow
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5461 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-30 15:24:29 +00:00
scorpio810
b97b01d63c
Apply clang-tidy's modernize-use-auto
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5449 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-19 16:27:20 +00:00
scorpio810
e4b1ba9797
Apply clang-tidy's performance-unnecessary-value-param, performance-for-
...
range-copy
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5448 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-19 14:14:31 +00:00
blacksun
18a295fa4a
Element editor : add rounded rect
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5444 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-17 12:19:56 +00:00
blacksun
eeb49d5a18
QetShapeItem : rounded rect is saved in the .qet file
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5437 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-14 11:10:23 +00:00
blacksun
0306bace46
QETshapeItem rectangle can have rounded corner.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5436 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-12 10:01:34 +00:00
blacksun
57e5ccd943
Mutualize code
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5427 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-03 14:25:46 +00:00