joshua
9db15f91e7
Improve gui layout for low resolution screen
2021-04-07 12:34:56 +02: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
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
Simon De Backer
4c563821e8
[Qt6] ad QCloseEvent to Widgets
2021-03-07 20:23:07 +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
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 Marmsoler
51ed21f9ef
Merge commit 'b021ac3e1fb98a56810773c7c701e3329efb3148'
...
Conflicts:
sources/qetgraphicsitem/element.h
2021-03-04 21:31:55 +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
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
joshua
be2067148e
Element editor : add terminal properties editable
2021-02-21 19:40:33 +01:00
joshua
8f85cacb06
QetElementEditor : Use elementData 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
joshua
24ec94d73e
QetElementEditor : rewrite gui with ui file
2021-02-21 19:40:32 +01:00
Laurent Trinques
ef58f34c14
Update Copyright date
2021-02-20 12:13:46 +01:00
joshua
30858f9a4d
Minor fix :
...
Combobox "information of element" don't display the real information set
to the dynamic text field
2021-02-15 18:53:22 +01:00
joshua
2513961cd6
Revert "Update Copyright date"
...
This reverts commit d04bccc384 .
2021-02-06 19:00:48 +01:00
Laurent Trinques
d04bccc384
Update Copyright date
2021-02-06 18:33:42 +01:00
joshua
e1b98ce5b5
Revert "QetElementEditor : rewrite gui with ui file"
...
This reverts commit e3db2bc898 .
2021-02-01 19:52:15 +01:00
joshua
e3db2bc898
QetElementEditor : rewrite gui with ui file
2021-01-30 19:34:21 +01:00
joshua
aa66eabe7c
Fix bug 221
...
https://qelectrotech.org/bugtracker/view.php?id=221
2021-01-28 19:25:42 +01:00
joshua
20cd0366eb
Update typo
2021-01-28 19:14:26 +01:00
joshua
bb82a616de
Minor fix : widget lose focus each time user tip
...
Each time a QUndoCommand is pushed to a QUndoStack, the current focused
widget lose focus.
So each time user change a value in a widget (for exemple a QSpinBox)
the widget lose focus and user will have to click again in the widget to
gain focus and continue to edit.
The workaround is to call the method focus of the current widget each
time we push a undo command
2021-01-21 19:35:38 +01:00
joshua
0a616088ea
Dynamic text field editor : move kcolorbutton from ui file to cpp file
...
Kcolorbutton is not available in Qt6 for now.
We move it from the ui file to the cpp file for choose at compilation if
qet must use kcolorbutton or not.
2021-01-07 18:56:25 +01:00
Simon De Backer
d3093f495b
Revert "Mod DynamicTextFieldEditor"
...
This reverts commit f6d777e2f7 .
it is preferable to keep the gui in the ui file
QT6 will have to wait.
2021-01-04 20:37:17 +01:00
Simon De Backer
0cc3099908
Mod TextEditor
...
the ui file is written in the TextEditor class
Add switch for KF5 (QT6)
2020-12-18 17:39:00 +01:00
joshua
af3772b95a
Element view : fix drag view
2020-12-17 23:39:35 +01:00
joshua
546db38683
Fix fail to build
2020-12-17 23:39:04 +01:00
Simon De Backer
f6d777e2f7
Mod DynamicTextFieldEditor
...
the ui file is written in the Dynamic Text Field Editor class
Add switch for KF5 (QT6)
2020-12-17 21:42:18 +01:00
Simon De Backer
cb37c1c2fe
Add switch for KF5 (QT6) and Mod Cmake
...
if we want to test QET on QT6, KF5 must be removed from the code,
this switch is for that,
this is for testing only
2020-12-16 23:06:08 +01:00
Simon De Backer
6da9c58458
Wip Fix preprocessor on Cmake
2020-12-10 21:19:45 +01:00
Simon De Backer
6aa30d5f57
Add QPointF code did not build
2020-12-10 18:52:20 +01:00
Simon De Backer
d15443cf93
Wip Fix preprocessor on Cmake
2020-12-10 18:49:35 +01:00
Simon De Backer
d0c129478e
Mod Cmake en preprocessor
2020-12-10 00:08:26 +01:00
Simon De Backer
10c4c3d528
Wip Fix preprocessor on Cmake
2020-12-08 19:57:35 +01:00
Simon De Backer
ccd76f902d
fix QT DEPRECATED VERSION 5.15.2
...
-Qt::MidButton
2020-12-04 18:13:48 +01:00
Simon De Backer
f7a445c0a7
Add Todo for DXF to GET-2020
2020-11-15 18:29:19 +01:00
Claveau Joshua
af7d1df5ab
Replace function by another one.
...
Replace function QETApp::elementInfoKeys() and
QETApp::elementInfoToVar(const QString &info) by function provided by
QETInformation.
2020-11-14 19:09:40 +01:00
Claveau Joshua
81efc5181b
Minor replace function by another one
...
Replace QETApp::conductorInfoKeys() and
QETApp::conductorTranslatedInfoKey(const QString &key) by
QETInformation::conductorInfoKeys() and
QETInformation::translatedInfoKey
2020-11-08 19:44:21 +01:00
Claveau Joshua
6f60156e00
Change function QETApp::elementTranslatedInfoKey
...
Use the function QETInformation::translatedInfoKey(const QString &info)
instead of QETApp::elementTranslatedInfoKey(const QString &info).
The final goal is to remove all information from the QETApp and use
instea QETInformation who is dedicated to this
2020-11-08 19:16:02 +01:00
Claveau Joshua
7882c5734a
Minor : fix little regression about folio report and displayed information
2020-11-08 19:05:11 +01:00
Martin Marmsoler
793770a72a
initialize TerminalData with nullpoint to not having an invalid value
2020-10-20 08:54:56 +02:00