Laurent Trinques
22e619d6b9
Revert pull request #48
2020-06-14 07:35:52 +02:00
Martin Marmsoler
8c6b4120f5
regarding to joshuas email, toXml uses a new structure. So it is changed in the properties interface and xrefproperties
2020-06-13 16:26:22 +02:00
Laurent Trinques
3e1740cee0
Revert Martin pull request for now, and return to last 7e9fd8df9 commit
2020-06-11 13:19:30 +02:00
Martin Marmsoler
dcbcb5391f
regarding to joshuas email, toXml uses a new structure. So it is changed in the properties interface and xrefproperties
2020-06-11 11:12:05 +02:00
Claveau Joshua
7ea42752a4
Change the way how a diagram is added
...
Now it's the project itself who manage the adding of diagram instead of
the diagram view, it's more coherent
2020-05-24 16:24: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
5c6f556ad3
Minor revamp
...
Remove unused include.
QETproject : Default titleblock are set in the default constructor
instead of set by qetdiagrameditor.
conductor, border, report and xref propertie are now set in the header
of QETProject instead of set by the qetdiagrameditor just after the
creation of a new project.
2020-04-09 16:58:05 +02:00
joshua
8cc34d5f6a
Simplify how a project is save
...
Probably only on windows, sometime the .qet file is empty after saving.
With this commit we simplify the save function, by avoiding to import an
xml node from another one, so we minimize the risk of failure.
2019-09-30 20:03:24 +02:00
blacksun
21de961933
Windows fix : When launch QElectrotech with in argument a .qet file, QElectroTech ask to user to open the restore file of the argument file.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5928 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-06-22 11:24:59 +00:00
blacksun
a912bfb380
Fix : unable to save a new project.
...
The fix is weird, need more information about QFileInfo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5813 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-29 20:51:24 +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
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
2274382219
Title block : add two news variables, previous-folio-num and next-folio-num
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5664 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-28 18:39:54 +00:00
scorpio810
b7e48c8e09
Change saveddate (title block variable) static date format "yyyy-MM-dd"
...
to System Locale Short Date
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5503 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-09-14 04:08:04 +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
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
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
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
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
scorpio810
bfa706ca29
Fix some Debian lintian spelling errors
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5262 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-11 13:38:41 +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
34d7d134d3
Simplify how the diagrams are saved
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4927 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-03-05 13:10:47 +00:00
blacksun
9792e95e6f
Minor : remove a signal in diagram and use directly a signal of qetproject
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4904 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-02-09 11:07:45 +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
0460876b88
Remove files protect to settings
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4882 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-27 17:42:58 +00:00
scorpio810
df5557407e
Minor, protect mode : improve message
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4875 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-26 16:05:43 +00:00
scorpio810
73dd8b6b57
Minor
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4873 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-25 18:46:11 +00:00
scorpio810
15c3bf1a39
Add new QCheckBox in QET settings for Keep projects in read-only, their
...
files will cannot be over written
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4872 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-25 16:53:09 +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
e0bc9d9d05
Minor
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4841 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-10 20:22:34 +00:00
scorpio810
e329da0df8
Minor : Save file has always enabled
...
Project path argument is now always displayed on diagram view
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4840 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-10 14:56:34 +00:00
scorpio810
0b062b3fc7
Add project path argument when a project has modified in the displayed
...
project title in diagram view
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4838 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-10 01:35:44 +00:00
blacksun
988b4c3146
Fix lack of last folio list.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4810 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-12-14 21:44:51 +00:00
blacksun
543578c3dc
Conductor :
...
Use method toXml and fromXml of sequentialNumbers.
Use m_freeze_label instead of m_frozen_label to save the frozen status of the text item.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4807 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-12-12 10:52:44 +00:00
blacksun
4f192940b3
Element : change freeze label variable from a string to a bool.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4805 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-12-10 12:00:52 +00:00
blacksun
7ab0115c62
Conductor : formula and text is now two different things.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4799 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-12-06 19:49:18 +00:00
blacksun
489f2c2035
Move code use to find prefix of element from element class, to autonum namespace
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4793 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-11-26 19:30:59 +00:00
blacksun
01af4c52e5
Revamp, and minor improvement about element autonum / formula.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4792 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-11-26 17:12:31 +00:00
blacksun
6ea169e1f7
Bug fix : Conductor text with formula that contain %id isn't good when open project (variable %id is replaced by 0 in each folio)
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4746 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-10-17 14:26:13 +00:00
dfochi
30a9aa9cfe
Update Policy now works with conductor autonumberings
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4680 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-09-01 19:41:49 +00:00
dfochi
230700f845
Conductor Autonum now works with variables. Folio Autonumberings added to conductor autonum
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4674 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-08-29 15:37:42 +00:00
scorpio810
ca1472ab2e
Refresh diagram folio list, add new fields titleblock properties
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4622 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-08-11 18:32:08 +00:00