#### Brief overview of PR changes/additions
- the editor's info/intro banner had a hardcoded bright-yellow
background; it now styles itself per theme (muted dark amber in dark
mode, unchanged in light mode) and follows live theme switches
- the banner's links used 'color: inherit', which Qt rich text renders
as black; they now use an explicit theme-appropriate colour so they are
readable in dark mode
#### Motivation for adding to Mudlet
The bright yellow banner was glaring against the dark editor, and its
links were unreadable once the background went dark.
#### Other info (issues closed, discussion etc)
Fixes#8854.
**Test case:** enable dark mode, open the script editor with nothing
selected - the info banner is muted dark amber with readable light text
and links; in light mode it looks exactly as before.
https://github.com/user-attachments/assets/5368705f-9759-4ea6-87d5-55ee23eb54c8
---------
Signed-off-by: Vadim Peretokin <vadim.peretokin@mudlet.org>
<!-- Keep the title short & concise so anyone non-technical can
understand it,
the title appears in PTB changelogs -->
#### Brief overview of PR changes/additions
Attempt to remove all obsolete qt5 checks.
#### Motivation for adding to Mudlet
Migrate to qt6.
#### Other info (issues closed, discussion etc)
---------
Co-authored-by: Vadim Peretokin <vadi2@users.noreply.github.com>
#### Brief overview of PR changes/additions
make variable name more readable
#### Motivation for adding to Mudlet
Improve readability
#### Other info (issues closed, discussion etc)
Fix#6375
Co-authored-by: Stephen Lyons <slysven@virginmedia.com>
This PR repeats a fix done for `QLabel::pixmap()` for Qt 5.15 and later in
the `dlgConnectionProfiles` constructor in PR #4440 that is also needed in
a couple of other classes.
Signed-off-by: Stephen Lyons <slysven@virginmedia.com>
* Adding Automatic Qt Scaling for HiDPI for Unix systems
* Change to drawForeground in TTextEdit to better account for font painting with different screen resolutions in QPixmap
* Fix for scrollback buffer
* Updated png to 256x256 (from 48x48)
* Found the flag to enable hidpi icons
* The ui files are setting absolute pixel sizes for the system message area, so we need to scale these pixmaps to account for higher dpi icons 48 -> 256 = 5.3 ratio. Iconsets automatically scale.
This also allows for memory leak checking on MSVC by having include
surrounding Qt headers, which break if you have a macro define new
to be something which tracks line information.