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
Claveau Joshua
74ee2fd82c
minor
2020-10-18 10:49:45 +02:00
Claveau Joshua
ec0b92ec1d
Fix : Filling color is not apply to polyline.
2020-10-18 10:45:05 +02:00
Simon De Backer
364012848c
Fix code style
2020-10-13 17:44:08 +02:00
Simon De Backer
106b17cf2f
QT6: QMutex::RecursionMode are obsolete
...
The default is QMutex::NonRecursive.
https://doc-snapshots.qt.io/qt6-dev/qmutex-obsolete.html
2020-10-13 17:43:26 +02:00
Claveau Joshua
e878082b79
Fix bug 203
...
https://qelectrotech.org/bugtracker/view.php?id=203
Take advantage of this bugfix, to recode the widget with Qt designer.
2020-10-10 16:58:02 +02:00
Claveau Joshua
9193e1c39b
Fix : dragging view don't work
2020-10-04 16:03:09 +02:00
Simon De Backer
f69e3a3fa7
QT6: Todo QVariant::setValue
2020-10-03 16:02:35 +02:00
Simon De Backer
c1e93fc442
QT6: QStyleOptionGraphicsItem
2020-10-03 15:48:40 +02:00
Simon De Backer
bc0cb6b1b3
QT6: Mod Qt::MidButton Use Qt::MiddleButton
2020-10-03 11:57:54 +02:00
Laurent Trinques
1e0ca043e7
Fix typo in comments
2020-09-30 12:58:14 +02:00
Simon De Backer
36dbe65457
Add TODO compile var + Fix doxygen issue
...
You can make your code warn on compile time for the TODO's
In order to do so, uncomment the following line. in pro file
DEFINES += TODO_LIST
2020-09-24 17:01:33 +02:00
Simon De Backer
c958d54d01
Fix Qt 6 deprecated QDockWidget::AllDockWidgetFeatures
...
(Deprecated) The dock widget can be closed, moved, and floated.
Since new features might be added in future releases,
the look and behavior of dock widgets might change if you use this flag.
Please specify individual flags instead.
2020-09-21 21:16:05 +02:00
Simon De Backer
a917399950
Fix Qt 6 deprecated QComboBox::AdjustToMinimumContentsLength
...
Use
- QComboBox::AdjustToContents
- QComboBox::AdjustToContentsOnFirstShow
instead.
2020-09-21 20:42:40 +02:00
Simon De Backer
f671a63366
Fix Qt 6 deprecated QVBoxLayout::setMargin
...
Use QVBoxLayout::setContentsMargins instead.
2020-09-21 20:37:10 +02:00
Claveau Joshua
89f9f47174
Remove unused code
2020-09-20 11:40:18 +02:00
Simon De Backer
93055c6a96
Fix deprecated QRegExp
...
Use QRegularExpression instead.
https://doc.qt.io/qt-5/qregularexpression.html#notes-for-qregexp-users
This function was introduced in Qt 5
2020-09-19 01:12:38 +02:00
Claveau Joshua
8e82dee8f0
Minor
2020-09-13 15:39:20 +02:00
Claveau Joshua
529027a350
Fix bug N°201: Line changes in the drawing area are not reflexted in the information area
2020-09-13 15:11:45 +02:00
Claveau Joshua
726b300999
Fix bug N°202 : Wrong bounding rect for primitive arc.
...
https://qelectrotech.org/bugtracker/view.php?id=202
2020-09-11 19:11:14 +02:00
Simon De Backer
dce83f480c
Add name to Terminal
...
now it is possible to enter the terminal name
2020-09-07 22:35:49 +02:00
Simon De Backer
5d92393ee7
Wrap code for better readability
2020-09-07 22:03:40 +02:00
Simon De Backer
610a44c7cd
Removed some Q_UNUSED
2020-09-04 23:19:59 +02:00
Simon De Backer
a4654dc6c2
remove old orientation for element Attribute in XML and code
2020-08-31 21:36:03 +02:00
Simon De Backer
9e4af439ef
Wrap code for better readability
2020-08-25 20:52:49 +02:00
Simon De Backer
9dad8a5d01
Fix Bug Fill the combo box "element information" was not called
...
a typo it happens :)
See commit
216374d27c
2020-08-23 17:47:53 +02:00
Simon De Backer
331918d143
Wrap code for better readability
2020-08-20 21:58:23 +02:00
Simon De Backer
0c00d83b27
Fix some doxygen issues
2020-08-20 21:57:35 +02:00
Simon De Backer
88686b3cbf
Wrap code for better readability
2020-08-20 17:45:24 +02:00
Simon De Backer
d1c91a7fc2
Fix some doxygen issues
2020-08-20 17:44:59 +02:00
Simon De Backer
cdb2e7b523
Wrap code for better readability
2020-08-19 21:27:14 +02:00
Simon De Backer
666f20856e
Fix some doxygen issues
2020-08-19 21:26:36 +02:00
Simon De Backer
e55d336dc1
Improve code style
2020-08-16 14:25:31 +02:00