Commit Graph

240 Commits

Author SHA1 Message Date
joshua e3db2bc898 QetElementEditor : rewrite gui with ui file 2021-01-30 19:34:21 +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 d15443cf93 Wip Fix preprocessor on Cmake 2020-12-10 18:49:35 +01:00
Simon De Backer 10c4c3d528 Wip Fix preprocessor on Cmake 2020-12-08 19:57:35 +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 49b2e4ad0a Replace function by another one
Replace QETApp::diagramInfoKeys() by QETInformation::diagramInfoKeys()
and QETApp::diagramTranslatedInfoKey(str) by
QETInformation::translatedInfoKey(str)
2020-11-08 20:23:16 +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
Simon De Backer 87845ef0ee Add failed to load message of languages on log file
compiler complained about non return value of
bool QTranslator::load
2020-10-29 20:41:24 +01:00
Simon De Backer c5c3dfb07b Mod Maximum Size of configureQET widget 2020-10-25 12:24:43 +01:00
Simon De Backer 184560cc5d QT6: diagramitemweight set val to Font::Weight 2020-10-03 11:57:55 +02:00
Simon De Backer caac531de1 QT6: Mod QLibraryInfo::location use QLibraryInfo::path 2020-10-03 11:57:54 +02:00
Simon De Backer 30b8205f82 Mod some qWarning add QObject::tr 2020-09-24 22:39:11 +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 d9f38f8a5d Fix QRegularExpression
-add isValid
-add debug
2020-09-23 22:50:41 +02:00
Simon De Backer 4c54335301 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:54 +02:00
Simon De Backer 5d92393ee7 Wrap code for better readability 2020-09-07 22:03:40 +02:00
Claveau Joshua 4a8e07b227 Fix csv export 2020-08-31 20:29:50 +02:00
Simon De Backer 0c00d83b27 Fix some doxygen issues 2020-08-20 21:57:35 +02:00
Simon De Backer 9352905335 Remove some code not in a class or in a function (Q_OS_WIN) 2020-08-20 17:50:29 +02:00
Simon De Backer d4ee161c07 Mod doc set style de same 2020-08-16 11:19:36 +02:00
Simon De Backer 655e608268 Doxygen using dashes to create lists of items. 2020-07-26 11:55:51 +02:00
Simon De Backer c401e93125 Wrap code for better readability + Mod doc 2020-07-26 11:36:27 +02:00
Simon De Backer 4d57e7fbfb Mod get elementInfo from elementInfoKeys 2020-07-26 11:16:12 +02:00
Simon De Backer 0c62bf2b3b Translate documentation + Fix indentation
- Mod doc set style de same
- Fix indentation code
2020-07-26 10:33:15 +02:00
Laurent Trinques 68e78a0de9 Fix indentation code 2020-07-15 20:20:07 +02:00
Laurent Trinques f8ca26f6e3 Mod doc 2020-07-15 15:32:19 +02:00
Laurent Trinques 53663e20e1 Remove old summary feature 2020-07-15 15:06:46 +02:00
Laurent Trinques 2ee11c3f1b Minor :
Rename variable for translation
2020-07-05 15:23:42 +02:00
Laurent Trinques fb75bf0a73 Add new variables for report folio and can be added in a composite text
{conductor_color}
{conductor_section}
2020-07-05 14:01:38 +02:00
Claveau Joshua 64f3001c86 Continue new summary feature
Header name is now well translated.
Open the good dialog from the properties dock widget
2020-06-21 16:00:14 +02:00
Laurent Trinques e10ae8ce2e Update Copyright date 2020-06-15 17:42:53 +02:00
Laurent Trinques 73149973e3 Merge remote-tracking branch 'origin/QetGraphicsTableItem' 2020-04-12 18:51:38 +02:00
Claveau Joshua dc32a4298b Remove old aboutQet class 2020-01-18 16:34:46 +01:00
Claveau Joshua 51d8b2a2bc Revamp the aboutQet dialog with Qt designer and add a new tab "libraries" 2020-01-18 16:25:30 +01:00
joshua 0b196b6caf Remove QTabBar custom style 2019-11-14 21:24:55 +01:00
Laurent Trinques 8da9903877 Minor 2019-10-27 17:57:23 +01:00
Laurent Trinques b2a77450de Revert previous commit 2019-10-27 17:56:13 +01:00
Laurent Trinques 345a1b4420 Typo 2019-10-20 17:29:19 +02:00
Laurent Trinques fae2b0dab0 Try to fix Windows sqlite cache PATH 2019-10-20 17:25:54 +02:00
joshua 0ceb38eb66 Fix : element prefix don't work with custom path of user elements collection
See post at
https://qelectrotech.org/forum/viewtopic.php?pid=10593#p10593
2019-09-17 20:52:47 +02:00
Laurent Trinques 01723497f3 Improve QTabBar::tab:selected style 2019-09-05 16:02:01 +02:00
Laurent Trinques 579e0badb2 Typo 2019-09-04 23:45:02 +02:00
Laurent Trinques d24df771a3 Add green style color for tab selected 2019-09-04 23:42:24 +02:00
joshua 863b337972 Minor : don't display gui when qet is launched with specific argument 2019-07-02 21:13:55 +02:00
Laurent Trinques 69146a65f7 Sync since SVN
Revision: 5947
Author:   blacksun
Date:     2019-06-26 17:35:49 +0200 (Wed, 26 Jun 2019)
Log Message:
-----------
Fix crash when launch qet with command line argument -v.
2019-06-27 16:21:40 +02:00
blacksun eb6d76f6ba Fix unwanted restore dialog who appear for the current project
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5936 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-06-24 17:44:37 +00: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
scorpio810 957c019a8f Minor : update Copyright date
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5824 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-04-03 18:29:13 +00:00