scorpio810
02863ee0d7
Minor
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5485 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-16 22:49:08 +00:00
scorpio810
a2d402b50a
Improve previous commit
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5484 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-16 06:48:03 +00:00
scorpio810
85b0efbc68
Try to fix macOS FTBFS
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5483 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-16 01:59:51 +00:00
blacksun
2ba5be7ecd
Replace qetsingleapplication by singleApplication.
...
See : https://github.com/itay-grudev/SingleApplication
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5481 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-15 12:45:55 +00:00
scorpio810
118fa10810
Add tension-protocol key on elementInfoKeys
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5473 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-07 09:14:00 +00:00
scorpio810
92a4d0f88e
Add '%savedfilename' and '%savedfilepath' title block variables
...
They should be updated after file save or save as dialog is confirmed,
before file is saved.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5471 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-06 17:20:50 +00:00
scorpio810
4d720d04a6
'%saveddate' and '%savedtime' title block variables should be updated
...
after file save or save as dialog is confirmed, before file is saved.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5468 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-06 16:12:00 +00:00
scorpio810
54981b425e
title block editor : add '%saveddate' and '%savedtime' as available
...
values, for moment only when user "save as" project
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5467 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-06 15:32:19 +00:00
scorpio810
ff7b2226e1
title block editor : show 'projectfilename' as available value
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5464 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-05 16:27:14 +00:00
scorpio810
bf974f1956
Fix bug 164 :
...
title block editor : show 'projectpath' as available value
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5463 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-05 15:04:15 +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
scorpio810
1d5940a6a1
Disabling momentary for macOS bundle :
...
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@5458 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-27 14:41:23 +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
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
scorpio810
3f1a33a179
Fix bug #162
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5439 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-16 14:23:54 +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
9db5c4fe9f
Fix bug when resize the angle of a part arc with the handles.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5435 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-11 09:28:38 +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
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
blacksun
e60b65546f
fix "fail to build from source" with Qt < 5.7, and in the same occasion fix a memory leak
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5424 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-02 13:48:47 +00:00
blacksun
0f4a058e63
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5420 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-01 18:35:03 +00:00
blacksun
28faaf12c5
Element editor : add two new actions in context menu for insert or remove point of a selected polygon.
...
All parts items : remove the 'open hand cursor' when hover a selected part.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5419 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-30 21:41:27 +00:00
blacksun
114c3cdcc3
title block editor : show 'projecttitle' as available value
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5418 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-29 20:36:21 +00:00
blacksun
3ff5b00953
Minor code refactoring
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5417 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-29 07:55:48 +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
4cdd17e21f
forget files from previous comit
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5407 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-21 18:02:58 +00:00
blacksun
749e0e5e78
Fix : in some condition, dynamic text are not at the same position when open a project.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5406 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-21 17:57:33 +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
blacksun
24812944eb
Forget qet.cpp and qet.h from previous comit.
...
Add new function for create QAction used for edit the depth of items.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5402 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-20 18:35:06 +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
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
blacksun
3225bdb371
minor fix : elements can't be moved up and left, when there rotation are different than 0.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5389 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-07 16:29:41 +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
43f7bad2d0
Fix : clear the element texts when paste an element with the option "Do not store the labels of items in the copy paste" enabled
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5385 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-03 18:13:25 +00:00
blacksun
c19ec8c65a
Bugfix :
...
1- When open a .qet by double click on it, QET ask user for open the backup file, of this .qet.
2- On windows, if user open a project from the recent files menu, when close QET the file is deleted :( user lose her work
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5383 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-01 18:33:08 +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
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
bca58fa555
Conductor is an herited class of QGraphicsObject, instead of QObject and QGraphicsPathItem
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5371 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-05-18 19:36:27 +00:00
blacksun
cc9184c0b6
Fix : element text alignment work also when font size change.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5370 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-05-18 18:28:04 +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