joshua
44db25e76b
Add user properties class
...
Add a specific class for user properties instead of embedded user
properties in properties interface.
2021-03-11 21:39:57 +01:00
joshua
d5df9703d0
Add new XML function
2021-03-11 20:20:07 +01:00
joshua
11b8ef927b
Revert "Merge branch 'XMLPropertiesNew'"
...
**Break a lot of thing.**
This reverts commit 1db1800572 , reversing
changes made to 4c563821e8 .
2021-03-11 19:52:50 +01:00
joshua
83b69253dc
Revert "fix compile error"
...
This reverts commit b181311162 .
2021-03-11 19:49:46 +01:00
joshua
b96eff00ef
Revert "Fix for cmake"
...
This reverts commit 4051bbd309 .
2021-03-11 19:49:32 +01:00
Laurent Trinques
4051bbd309
Fix for cmake
2021-03-11 07:59:54 +01:00
Martin Marmsoler
b181311162
fix compile error
2021-03-10 19:12:00 +01:00
joshua
1db1800572
Merge branch 'XMLPropertiesNew'
2021-03-09 19:09:31 +01:00
joshua
001e93bc6f
Forgoten revert ToXml()
2021-03-09 18:43:03 +01:00
Martin Marmsoler
6e17996d37
fix problem that default conductor is not found
2021-03-08 20:48:23 +01:00
Simon De Backer
4c563821e8
[Qt6] ad QCloseEvent to Widgets
2021-03-07 20:23:07 +01:00
Simon De Backer
a4872bf686
[Qt6] mod QRegExp to QRegularExpression
...
note ad Core5Compat to Cmake
2021-03-07 20:21:39 +01:00
Simon De Backer
332d978043
[QT6] QtConcurrent its backwards now...function, object, args
2021-03-07 19:58:49 +01:00
Martin Marmsoler
755bcf640d
fix conductor properties xml load
2021-03-07 14:07:47 +01:00
joshua
38a825865c
Fix ftbfs on debian buster
2021-03-07 12:18:30 +01:00
Martin Marmsoler
5d3710c4b2
copy all toXML() from master commit 4b82c3a0c4 into the current branch, because the new concept will be used only for user properties
2021-03-07 10:09:45 +01:00
Martin Marmsoler
058824f29a
move all static xml functions to qetxml
2021-03-06 20:01:31 +01:00
joshua
4b82c3a0c4
Fix crash
...
Fix crash for a special case (the first time since qet exist) when a
conductor have all segments to 0 in the .qet file.
See https://qelectrotech.org/forum/viewtopic.php?id=1964
2021-03-06 15:17:10 +01:00
Martin Marmsoler
ea793125a5
move m_change_connections to ElementItemEditor, so it must not be defined by every editor it self
2021-03-05 20:59:36 +01:00
Martin
bc88f2ec2e
reimplement Priv function, so the ElementEditor gets called automatically
2021-03-05 17:38:51 +01:00
Martin
6887c543da
add possibilities to fill the userProperties
2021-03-05 07:56:35 +01:00
Martin Marmsoler
51ed21f9ef
Merge commit 'b021ac3e1fb98a56810773c7c701e3329efb3148'
...
Conflicts:
sources/qetgraphicsitem/element.h
2021-03-04 21:31:55 +01:00
Martin Marmsoler
221773ea8a
fix some issues
2021-03-04 21:25:04 +01:00
Martin Marmsoler
9d4b90da1a
Add userProperties
2021-03-04 19:18:28 +01:00
joshua
faf4235bed
Terminal element info
...
Provide only useful information for terminal
2021-03-03 21:28:22 +01:00
joshua
0424eb9fba
Mark deprecated method
2021-03-01 22:17:58 +01:00
Martin Marmsoler
ed8c1dea9d
Merge commit '28cd389695248b56a99a417bc10640bb3e99c298'
2021-02-28 17:33:43 +01:00
Laurent Trinques
28cd389695
Upgrade pugixml XML parser to 1.11 release
...
https://pugixml.org/docs/manual.html#v1.11
2021-02-28 17:12:53 +01:00
joshua
d8707a4ef2
Add dialog to inform user when open a non compatible project
2021-02-27 14:01:33 +01:00
Martin Marmsoler
01d6cdb920
Merge commit '77710e1cc5e597d06196d2ee163198176032987a'
...
Conflicts:
sources/conductorproperties.cpp
sources/qetgraphicsitem/element.cpp
sources/qetgraphicsitem/qetshapeitem.cpp
2021-02-27 07:49:24 +01:00
joshua
77710e1cc5
Remove compatibility of QetShapItem from version prior to svn 4075
...
Befor svn 4075 QetShapItem was saved as int in xml, after as a string.
Remove retro-compatibility (int to string) svn 4075 is older than 5
years.
2021-02-25 20:47:43 +01:00
joshua
1d2c00819d
Element collection cache remove old code
...
Remove old code use to drop table when qet was using mtime instead of
uuid for check if an element was changed.
2021-02-25 20:31:14 +01:00
joshua
eee0469bd7
Remove retro compatibility of conductor text prior to qet 0.4
...
The property hide/show compatibility of conductor text is not maintained
for project made before qet 0.4
2021-02-25 20:21:18 +01:00
joshua
5118037cb5
Remove retro compatibility of element label prior to qet 0.5
...
Compatibility is not maintained anymore with the old project which
contain variable in the element information "label"
2021-02-25 19:42:14 +01:00
joshua
1f53c39290
Remove retro compatibility of element text item prior to qet 0.7
...
Compatibility is not maintained anymore with the old project which
contain old element text item.
2021-02-25 19:35:04 +01:00
Martin
f499507b2d
fix load issue
2021-02-25 16:55:13 +01:00
Martin
5430692359
remove not needed declaration, because the definition was already deleted. And so a linker error occured
2021-02-24 19:04:14 +01:00
Martin
02b7ead041
fix compile issues
2021-02-24 18:48:59 +01:00
Martin
ea364f9c4e
merge
2021-02-23 17:35:55 +01:00
Laurent Trinques
f97edad75a
DiagramView::mouseMoveEvent remove "DEV" in toolTip message mouse
...
postion
2021-02-23 00:51:50 +01:00
Lars Biskupek
b2782bc460
Tab-stop definitions inserted where appropriate
...
Tab stop definitions inserted in some dialogs, so that the order of tab-stops-moves corresponds as closely as possible to the fields' position in the window.
2021-02-22 13:47:39 +01:00
Lars Biskupek
059f0eb1b6
Modifications to SaveFile-Dialog for "Save As PDF"
...
Fixed a typo that prevented existing PDF files from being displayed in SaveFileDialog for PDFs.
The way the file name for the PDF is generated has changed. If the project has already been saved, the PDF has the same file name (with .pdf of course); If not, the file name is generated from the project title (= same behavior as Save as - dialog for a .qet project file).
2021-02-22 13:47:39 +01:00
joshua
ce318ac667
Element : start use ElementData
...
Element now use ElementData for namelist and element information
2021-02-21 19:40:33 +01:00
joshua
be2067148e
Element editor : add terminal properties editable
2021-02-21 19:40:33 +01:00
joshua
444f62a1f8
element data : add terminal type enum and terminal function enum
2021-02-21 19:40:33 +01:00
joshua
8f85cacb06
QetElementEditor : Use elementData class
2021-02-21 19:40:33 +01:00
joshua
ffe3d98279
Add element data class
2021-02-21 19:40:33 +01:00
joshua
dea926e4b4
Remove unnecessary method
2021-02-21 19:40:33 +01:00
joshua
a1779d1a7a
Rewrite terminaleditor with ui file.
...
Write terminal editor with ui file.
The terminalData::type of a terminal can be edited with the terminal
editor.
2021-02-21 19:40:33 +01:00
joshua
252106178b
Add enum Type to terminalData class
2021-02-21 19:40:32 +01:00