2733 Commits

Author SHA1 Message Date
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
c592b7a7fd Fix crash
When use the function "invert selection" qet crash when a selected
conductor is being deselected.
2021-02-09 21:05:32 +01:00
joshua
c13af5ace0 Clean some include 2021-02-07 20:44:17 +01:00
joshua
0c4f87bd76 Replace AddItemCommand class by AddGraphicsObjectCommand
The class is the same except the name and the use of QPointer to avoid
segfault with deleted QGraphicsObject.
2021-02-07 16:20:55 +01:00
joshua
ac23010559 Fix crash 2021-02-07 13:25:21 +01:00
joshua
b335a4af4f Fix bug 225
https://qelectrotech.org/bugtracker/view.php?id=225
2021-02-06 19:41:22 +01:00
joshua
2513961cd6 Revert "Update Copyright date"
This reverts commit d04bccc384aa8b9dc16e4432ac72ccb787b2508b.
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 e3db2bc898c1479566dd1202c196fb3890d9e797.
2021-02-01 19:52:15 +01:00
joshua
e3db2bc898 QetElementEditor : rewrite gui with ui file 2021-01-30 19:34:21 +01:00
Laurent Trinques
ad340cf95a Minor 2021-01-30 15:16:43 +01:00
Laurent Trinques
692bf0ed72 Replace the flag of the Arab country 2021-01-30 15:05:56 +01:00
Laurent Trinques
d333b6a188 Prepare to add new country Mongolian switch 2021-01-29 17:12:44 +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
Simon De Backer
b64086fbcd Fix add project_title on save
see
https://qelectrotech.org/forum/viewtopic.php?pid=14160
2021-01-23 21:57:56 +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
4f455a5328 General configuration page : set 'appearance' as default tab 2021-01-08 18:26:55 +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 f6d777e2f76b0136670923f5b79b3bd22f30ca6e.

it is preferable to keep the gui in the ui file
QT6 will have to wait.
2021-01-04 20:37:17 +01:00
joshua
34baceb8da Fix bug 175
When use a "dark" Qt theme, some part of element are drawn white/gray
instead of black.
2021-01-03 23:30:48 +01:00
joshua
0a8376c189 Fix bug 220
see https://qelectrotech.org/bugtracker/view.php?id=220
2021-01-02 20:11:47 +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
8fb1cd0fa7 Add __FILE__ __LINE__ __FUNCTION__ to failed to load desired_language
qInstallMessageHandler(myMessageOutput);// for debugging
is only called later,so we have to get the info manually
2020-12-13 16:26:33 +01:00
Simon De Backer
83d802adf7 Mod Cmake first working build 2020-12-11 14:55:11 +01:00
Simon De Backer
62b71c0ba5 Fix more Cmake + Mod pragma message 2020-12-11 00:45:43 +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
3fe0adc66e QT6 QChar and int build error remove code for QT 6 or later!
this will have to be restored later.
2020-12-10 16:12:04 +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
53aaa03967 fix QT DEPRECATED VERSION 5.15.2 and QT6
-QPrinter
2020-12-04 22:46:11 +01:00
Claveau Joshua
b22741732b Minor fix : folio-report information 'tension_protocol' isn't displayed
When a folio report have a text item witch must display the information
'tension protocol' the text is empty.
Replace the string 'tension/protocol' by 'tension_protocol' in
QETInformation namespace.
Move the static QStrings of the namespace QETInformation from
qetinformation.cpp to qetinformation.h to be use everywhere in the code.
2020-12-04 21:07:42 +01:00
Simon De Backer
77e6248ac9 fix QT DEPRECATED VERSION 5.15.2 and QT6
-QPrinter
2020-12-04 18:15:37 +01:00
Simon De Backer
ccd76f902d fix QT DEPRECATED VERSION 5.15.2
-Qt::MidButton
2020-12-04 18:13:48 +01:00
Claveau Joshua
ada563719b Minor fix 2020-12-02 18:47:28 +01:00
Laurent Trinques
2f004c271f Update displayed version to release candidate 2020-12-01 15:45:48 +01:00
Claveau Joshua
aa858ba32d project database : minor 2020-11-22 12:16:17 +01:00
Claveau Joshua
a303a38d0d ProjectDatabase improvement
Use transaction / commit when several elements was changed instead of
update one by one each element.
2020-11-22 11:31:43 +01:00
Claveau Joshua
8fec6dabef Dynamic element text item new feature
Add feature keep visual rotation.
When parent is rotated, the text rotation is changed to keep the same
visual rotation.
2020-11-20 20:52:19 +01:00
Claveau Joshua
380de0b4c3 Search and replace widget : minor improvement
Fix 1 : when widget is reloaded the categories is not checked, but the
child items is. Now  all category is checked when reloaded.
Fix 2 : the folio number displayed in the widget is wrong (start at 0
instead of 1)
2020-11-17 22:25:01 +01:00
Simon De Backer
c167015b22 Add Todo for qet_tb_generator 2020-11-15 20:46:37 +01:00
Simon De Backer
f7a445c0a7 Add Todo for DXF to GET-2020 2020-11-15 18:29:19 +01:00
Claveau Joshua
bb32c30004 Search and replace widget improvement
Add a popup menu to select the elements, conductors and texts of the
current selected diagram in the tree widget.
2020-11-15 17:19:42 +01:00