Commit Graph

108 Commits

Author SHA1 Message Date
Kellermorph fa52aab149 Persist QColorDialog custom colors across application restarts
Qt's QColorDialog loads custom colors from QSettings on startup but
never writes them back, so user-defined colors in the color picker
are lost when the application exits.

Save and load the 16 custom color slots explicitly via QSettings
in QETApp's constructor (after initStyle) and destructor (before
other settings are flushed). This covers every QColorDialog usage
in the application transparently.

Also fixes a QColorDialog memory leak in DiagramView.
2026-09-18 13:53:14 +02:00
Laurent Trinques 4044d04cc5 One year
Auto-build doxygen docs / doxygen (push) Has been cancelled
Auto-build doxygen docs / deploy (push) Has been cancelled
2026-01-16 15:24:35 +01:00
plc-user c7ed744481 Include some fonts to QElectroTech
- include Liberation-Fonts and osifont
  (thanks elevatormind!)
- use "Liberation Sans" as default-font
- adjust License-Tab in About-Form
- Bugfix: When selecting a font, the current
  font is highlighted in dialog
- adjust some whitespace and English comments
2025-05-18 14:15:20 +02:00
Laurent Trinques 77bfe84a4c One year 2025-01-04 13:37:40 +01:00
Laurent Trinques e73cf633ce 2023->2024 2024-03-29 10:09:48 +01:00
plc-user f519499a66 added a second user-collection 2023-12-09 12:02:04 +01:00
joshua a0970b37b9 Improve and simplify the use of versions 2023-01-19 20:18:21 +01:00
Laurent Trinques 1e2bdc203b Change displayed version on master 2023-01-06 15:28:32 +01:00
joshua 539e0a7a49 Merge branch 'terminal_strip'
* terminal_strip:
  Terminal strip item can saved / loaded to .qet file
  See previous commit...
  Move terminal strip drawer class in is own file
  Fix wrong use of QStringLiteral and QLatin1String
  Double click a TerminalStripItem open the editor
  Minor change about checkable QAction of QetDiagramEditor
  Minor : corrects a minor aesthetic defect when unbridge terminals
  Revamp code
  Add and move terminal strip item are now managed by undo command
  TerminalStripItem : Draw terminal bridge
  Terminal strip item can be added to diagram
  Minor : add QGIUtility namespace
2023-01-02 19:40:08 +01:00
Laurent Trinques 9afef79629 Update Copyright date 2023-01-01 17:05:57 +01:00
luz paz a76e5446aa Fix various typos in source documentation and comments
Found via `codespell`
2022-12-04 13:30:01 +01:00
joshua 7fede2277f Add and move terminal strip item are now managed by undo command 2022-11-08 19:20:32 +01:00
Laurent Trinques 3467c09c1e Change displayedVersion = "0.90-DEV" 2021-02-21 11:00:42 +01:00
Laurent Trinques 664537c178 Change displayedVersion 2021-02-21 10:15:38 +01:00
Laurent Trinques ef58f34c14 Update Copyright date 2021-02-20 12:13:46 +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
Laurent Trinques 2f004c271f Update displayed version to release candidate 2020-12-01 15:45:48 +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
Simon De Backer 0310cd2610 Revert "Add user warning on startup"
This reverts commit 87c957a062.
2020-09-08 17:53:37 +02:00
Simon De Backer 87c957a062 Add user warning on startup
notify the user of the use of dev software

ToDo: the text still needs to be adjusted
2020-09-05 00:27:24 +02:00
Laurent Trinques e10ae8ce2e Update Copyright date 2020-06-15 17:42:53 +02:00
Claveau Joshua 0015f4a694 Qet graphics table item can be removed from diagram 2020-05-12 11:17:25 +02:00
Laurent Trinques 6468063c30 Change Version and displayedVersion update Doxyfile 2019-07-21 15:00:07 +02:00
Laurent Trinques 37fa30a34f Change displayedVersion 2019-07-17 15:00:14 +02:00
scorpio810 a8789f78ee Change Displayed version
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5942 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-06-25 16:55:14 +00:00
scorpio810 30a188abf0 Change displayed version
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5832 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-04-12 04:30:26 +00:00
blacksun 1ac950cd81 Replace Q_ENUMS (with S, deprecated since Qt5.5) by Q_ENUM (without S)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5800 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-18 19:49:12 +00:00
blacksun 154575d38a Use KAutoSaveFile for the backup system, instead of home made function.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5788 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-16 10:50:30 +00:00
scorpio810 3ed7a4e63b Minor : update Copyright date
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5705 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-13 16:56:12 +00:00
scorpio810 e4b1ba9797 Apply clang-tidy's performance-unnecessary-value-param, performance-for-
range-copy


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5448 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-19 14:14:31 +00:00
blacksun 749e0e5e78 Fix : in some condition, dynamic text are not at the same position when open a project.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5406 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-21 17:57:33 +00:00
blacksun 24812944eb Forget qet.cpp and qet.h from previous comit.
Add new function for create QAction used for edit the depth of items.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5402 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-20 18:35:06 +00:00
blacksun 52eb4b5f71 Diagram editor : add 4 tools for edit the depth (Z value) of items.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5394 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-17 18:21:56 +00:00
blacksun 1b18b980a9 User can export / import the configuration of the texts and texts group of an element.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5195 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-30 14:41:25 +00:00
scorpio810 9f9b127c04 Modernize-use-nullptr refactors code
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5008 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-05 02:06:59 +00:00
scorpio810 861cb1e83a Update Version
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5006 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-04 13:26:08 +00:00
blacksun 3ef55906a4 First step for the dynamic element text : Now user can add directly from the diagram editor an editable text of an element.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5005 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-03 17:36:08 +00:00
scorpio810 77ebe00105 Update displayed Version and Splash
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4975 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-06-13 09:38:46 +00:00
scorpio810 c5b71bbe17 Tag 0.6 RC1
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4945 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-04-23 15:01:56 +00:00
scorpio810 54c85db29c Minor update Copyright year
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4860 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-20 10:55:49 +00:00
blacksun 3261809227 NewElementWizard class : remove the use of ElementsCategoriesWidget and ElementsCategory
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4483 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-05-14 17:10:03 +00:00
scorpio810 025fa64f67 Minor : update Copyright date
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4481 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-05-13 17:40:36 +00:00
scorpio810 593f8eb4f1 Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4286 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-12-15 11:25:17 +00:00
scorpio810 7f8a0896a2 Change version and displayed version
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4280 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-12-01 16:26:43 +00:00
scorpio810 72097b41fb Prepare to final tag
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4274 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-11-27 17:19:22 +00:00
scorpio810 1e0caaafe7 Prepare for release candidate 1 tag,
refresh terminal element directory


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4244 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-10-30 16:10:11 +00:00
scorpio810 4363cdd08a Change displayedVersion
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4229 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-10-04 08:24:45 +00:00
scorpio810 3c327009a5 Fix FTBFS on x86_64-w64-mingw32 cross-compilation, thank Joshua
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4083 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-08-03 05:43:44 +00:00
blacksun 9fce7717ea Fix wrong typo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3920 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-04-25 08:54:54 +00:00