Commit Graph

408 Commits

Author SHA1 Message Date
blacksun
1ec083a313 Independent text editor can now edit several texts.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5738 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-02-20 20:36:56 +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
0db73abd41 Free hand selection : at the end of the selection, popup a context menu for create conductors between selected terminal
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5718 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-27 17:04:13 +00:00
scorpio810
d42f11b83d Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5711 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-21 08:52:58 +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
7a17200cf6 Search and replace : improve the search for conductor.
Minor gui change of conductor properties widget


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5647 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-13 17:34:41 +00:00
blacksun
835ff082bf Improve some code and gui
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5643 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-09 18:37:09 +00:00
scorpio810
a8b18f6322 Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5631 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-04 22:38:51 +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
scorpio810
58fb59491b Revert last commits
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5624 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-01 12:55:05 +00:00
scorpio810
10e889bae5 Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5623 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-30 23:59:12 +00:00
scorpio810
ee91337d75 Add new fild and titleblock "Function group"
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5622 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-30 23:53:13 +00:00
scorpio810
a78212e8dd Minor fix previous commits
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5609 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-25 10:47:36 +00:00
scorpio810
a199c1e201 Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5607 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-25 10:16:46 +00:00
scorpio810
a76feeef07 Enable the possibility to define the path of user tbt template
collection.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5605 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-25 09:55:11 +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
scorpio810
b15f6aeef7 Minor : set dynamic text length to default -1
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5596 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-16 16:33:41 +00:00
blacksun
c385418432 Improve gui layout
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5581 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-10 12:46:46 +00:00
blacksun
56798b3f05 Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5580 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-10 12:29:41 +00:00
blacksun
1ead2aa0bb Search and replace : Element properties can be changed (and mass changed) through the search and replace widget.
Also improve the search for element


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5576 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-09 18:50:37 +00:00
scorpio810
ae026f8a4f Add Hungarian switch language
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5574 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-10-29 15:14:38 +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
94dc195028 Search and replace : Diagram properties can be changed (and mass changed) through the search and replace widget.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5564 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-10-21 09:54:59 +00:00
blacksun
ba8133a9d1 DiagramContextWidget : The widget is now made with th ui file instead of C++
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5561 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-10-16 15:49:18 +00:00
scorpio810
a236e9ac6b Add Turkish langage
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5552 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-10-11 22:30:02 +00:00
blacksun
63fd76231a Element text pattern dialog : add a check box 'erase existing texts'
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5541 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-09-30 17:19:50 +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
scorpio810
76e72b0353 generalconfigurationpage.ui fix for 1366X768 laptops screens
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5525 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-09-25 13:12:01 +00:00
scorpio810
e138f2f392 Minor : improve UI
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5524 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-09-25 05:12:39 +00:00
scorpio810
f19c9718ae Typo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5518 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-09-24 09:27:16 +00:00
scorpio810
7685fcec78 Improve general config page UI
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5517 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-09-23 18:32:17 +00:00
scorpio810
112df84964 Add in config the possibility to start the numbering of the columns of
titleblocks at 0.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5510 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-09-22 10:39:36 +00:00
scorpio810
b59ea165fc Increase imported images by up to 400%
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5500 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-09-06 21:29:25 +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
blacksun
e6c977e7d8 re-enable the possibility to define the path of elements collections.
Add variables for common and custom elements collections, to avoid multiple access to QSettings and so reduce the loading of collections.  


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5462 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-03 16:35:40 +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
52e941f0fc Minor : disable dialog buttons for define the file system path of the
common and custom elements on macOS


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5460 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-28 12:09:00 +00:00
blacksun
1ec4334308 let user define the file system path of the common and custom elements collections
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5452 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-25 17:34:50 +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
scorpio810
9bce5ec428 Fix bug #162
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5431 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-08 23:31:34 +00:00
blacksun
ea3b25fa75 Element text item group can now be framed.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5410 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-24 11:16:37 +00:00
blacksun
de9096d8a2 Widget used to edit text item group can edit the pos of the group.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5408 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-21 18:44:13 +00:00
blacksun
2be0af2f43 minor fix : slave link dialog doesn't display the good label, when the label of master element is build from formula.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5405 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-21 15:36:03 +00:00
scorpio810
a0aadd8201 Fix FTBFS on Qt 5.11
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5392 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-10 15:08:26 +00:00
scorpio810
5a52e8658f Typo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5376 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-05-25 08:59:42 +00:00
scorpio810
c035f5f04d Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5375 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-05-25 08:39:45 +00:00
blacksun
f19a794d4b Diagram editor, add two news feature:
1- QET create a backup file, use to restor the project when a crash occur
2- User can enable and edit autosave.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5374 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-05-24 18:08:06 +00:00