332 Commits

Author SHA1 Message Date
joshua
5de220c485 Conductors num can be exported to csv file. 2019-10-04 19:37:46 +02:00
Laurent Trinques
a0a7513847 Replance Q_OS_MAC Deprecated by Q_OS_MACOS 2019-09-08 18:29:29 +02:00
scorpio810
9cb6d62725 QMessageBox : Add QObject to improve translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5882 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-21 00:06:50 +00:00
scorpio810
1519f21a47 QMessageBox : improve HTML messages
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5881 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-20 18:51:32 +00:00
scorpio810
749519ff45 Diagram editor : when plugin qet-tb-generator
"generate terminal blocks and connectors" isn't installed show an
QMessageBox instruction now depending on the operating system for
install it 
Add in QMessageBox url encoding/decoding for easy download packages


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5880 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-20 14:54:04 +00:00
blacksun
3f9685832d Add missing tooltip of some QAction
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5868 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-18 19:35:57 +00:00
scorpio810
b8b39e2f24 Diagram editor : when user add a polygon, improve message in statusBar
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5866 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-18 10:49:01 +00:00
scorpio810
5f44933c21 Diagram editor : when user add a polygon, a message in stausBar show how
to finish this shape


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5864 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-17 21:22:10 +00:00
blacksun
2f9b101c19 Diagram editor : when user add a polygon, if the last point is at the same position of the first, then the polygon is closed.
Undo commit 5862


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5863 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-16 17:38:13 +00:00
scorpio810
4503132140 Add ToolTip for QetShapeItem
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5862 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-16 16:06:42 +00:00
blacksun
154575d38a Use KAutoSaveFile for the backup system, instead of home made function.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5788 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-16 10:50:30 +00:00
blacksun
dba6a58390 Minor refactoring of diagram event interface
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5706 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-14 18:25:43 +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
scorpio810
2fe25e74fa Minor : indentation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5630 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-04 22:33:11 +00:00
nuri
f27954e507 Correction of some french and english notions and correction of typos. Variable %machine changed in %plant.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5629 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-04 19:07:14 +00:00
nuri
cdfdd6f22a Correction of some french notions and correction of typos
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5628 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-03 22:13:16 +00:00
blacksun
6a12a008e9 Start the work on a new feature : search and replace.
This commit let user find for : texts, conductors and elements.
WIP.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5526 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-09-25 16:05:24 +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
458ac072cd Fix bug 165
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5488 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-22 13:34:12 +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
blacksun
8386002ef3 Clean (and reduce the size) the class QETDiagramEditor, mostly by replacing the connection syntax "signal -> slot" by "signal -> lambda".
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5401 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-20 18:03:39 +00:00
blacksun
52eb4b5f71 Diagram editor : add 4 tools for edit the depth (Z value) of items.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5394 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-17 18:21:56 +00:00
scorpio810
6a8523961f Improve qet_tb_generator : add the full path of the current project as
an argument when calling the plug-in from QET if a project is open. 
If not a file dialog is showed to select the QET project.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5388 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-07 13:48:12 +00:00
scorpio810
c89d6b6ff7 Add the full path of the current project as an argument when calling the
plug-in "qet_tb_generator" from QET
qet_tb_generator menu entry was enabled only when a project is open


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5387 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-07 12:22:09 +00:00
blacksun
89506df464 Diagram editor : add new context menu action "group the selected texts"
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5372 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-05-18 21:46:36 +00:00
blacksun
3228f3e5db Multi paste dialog : add a check box for allows auto connection of the pasted elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5331 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-12 16:24:44 +00:00
blacksun
f0c0e7c5d5 improve waiting dialog when open a project
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5295 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-04 15:07:52 +00:00
blacksun
fb47a18b69 Remove, move and clean some functions of diagram view, among other things because it is not the role of the diagram view to provide these functions.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5294 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-04 11:02:40 +00:00
blacksun
1ec15c8426 Fix bug N° 157
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5284 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-31 11:40:55 +00:00
blacksun
a7917bb5bb Remove the class element text item.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5276 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-25 14:33:49 +00:00
blacksun
8193687894 Remove some commented code
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5275 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-24 14:35:32 +00:00
scorpio810
c5793680d3 Add message box for launching DXFtoQET plugin
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5201 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-31 08:05:48 +00:00
scorpio810
ac1afe60b9 Add translation for message box "Error launching plugin"
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5196 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-31 00:31:14 +00:00
blacksun
e8905793cc Texts group can be removed with the delete key of keybord
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5142 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-05 21:41:29 +00:00
blacksun
89c019a10e Texts group item can be rotate.
The keybord shortcut for texts group alignment change. Now it's ctrl + arrow-left/up/right


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5141 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-05 20:51:54 +00:00
nuri
553eadb332 icon theme: add new icons
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5120 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-11-27 23:41:24 +00:00
nuri
22756eff42 icon theme: add missing icons in size 16x16px
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5112 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-11-26 06:36:06 +00:00
scorpio810
e16a287399 Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5099 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-11-16 08:19:48 +00:00
scorpio810
f94b7a04dd Fix typo on qet_tb_generator warning msgbox
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5019 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-15 01:38:31 +00:00
scorpio810
9f9b127c04 Modernize-use-nullptr refactors code
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5008 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-05 02:06:59 +00:00
blacksun
3ef55906a4 First step for the dynamic element text : Now user can add directly from the diagram editor an editable text of an element.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5005 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-03 17:36:08 +00:00
blacksun
1a9c27b017 Improve last comit
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4955 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-05-01 16:22:34 +00:00
blacksun
a12198294f Re-enable the button "find element in panel".
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4953 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-05-01 11:42:55 +00:00
blacksun
945d8562ca Improve some layout and widget item
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4920 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-02-26 18:30:34 +00:00
blacksun
a4d213e8f4 Project view : prepend the positon number or the folio label (acording the configuration of qet) in the title of each diagram view tabs.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4918 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-02-18 13:30:38 +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
scorpio810
7dcd919695 Minor : save file set enabled only when opened a project
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4842 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-11 00:04:43 +00:00