344 Commits

Author SHA1 Message Date
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
blacksun
31e6db8757 Element editor : alignment of text field can be edited
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5362 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-05-13 19:03:38 +00:00
blacksun
748986ceec fix crash when the properties of a element text item group
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5356 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-05-12 11:17:40 +00:00
blacksun
609fcc351f Dynamic element text item : add new feature -> alignment
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5353 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-05-11 18:14:41 +00:00
blacksun
bce0ee0fc7 Composite text dialog : The combobox propose every informations, not only these currently filled.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5350 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-05-03 09:33:30 +00:00
blacksun
d53f830ad9 Text of conductor can be placed at top/bottom/left/right of conductor, and text never overlaps the conductor.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5342 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-28 13:35:23 +00:00
blacksun
a975915428 forget file from previous commit
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5341 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-24 17:25:42 +00:00
blacksun
c96593e373 Multipaste : improve the conductor autonum, conductors are numerated from top to bottom, and left to right
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5340 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-24 17:23:27 +00:00
blacksun
9d2124f593 Multipaste dialog : add 'autonum pasted conductors' check box
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5339 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-23 13:50:36 +00:00
blacksun
5e15c597c1 Multipaste : auto-num of element work, even if the option "erase label on copy /paste" is enable.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5337 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-21 17:48:22 +00:00
blacksun
2cf181bf84 Element info widget : remove the check box 'visible'
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5334 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-14 12:21:07 +00:00
blacksun
e3930df5b5 multi past dialog : add check box for autonum the pasted element
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5333 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-12 17:59:05 +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
12e7a7002e Diagram editor : add new action in the context menu : multiple paste.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5319 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-08 16:50:52 +00:00
blacksun
fa547a34c8 Fix compilation warning (clang and gcc)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5301 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-05 18:49:28 +00:00