Commit graph

10 commits

Author SHA1 Message Date
Vadim Peretokin
453b726896
fix: script editor's info banner no longer glares in dark mode (#9414)
#### 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>
2026-07-19 10:14:56 +02:00
Zooka
7f05b267f5
improve: remove qt5 checks (#7736)
<!-- 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>
2025-02-24 06:59:51 +01:00
Kebap
e832e70f29
Infrastructure: rename pF -> pParentWidget & fix some whitespace layouts (#6379)
#### 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>
2022-11-14 10:14:16 +01:00
Stephen Lyons
dfaf844715
Cleanup: fix warning in other classes done in another class in another PR (#4442)
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>
2020-12-08 11:56:45 +00:00
Stephen Lyons
71afdc1ad4 Enhance: fixes for CodeFactor
Mainly the addition or removal of spaces...

Signed-off-by: Stephen Lyons <slysven@virginmedia.com>
2020-04-03 12:47:05 +01:00
imperian
55bcb1510b Increase resolution of icon pack (#2184)
* 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.
2019-01-21 09:38:19 +01:00
Ahmed Charles
e73617fa25 Reformat various files.
Note, these files no longer need formating.
2014-08-30 01:40:04 -07:00
Ahmed Charles
3989340fcd Rearrange includes to improve compile times.
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.
2014-08-17 14:46:54 -07:00
heiko
d756ee2892 Easy Buttons part #3 2009-05-13 16:02:08 +02:00
Bruno Bigras
c42f827561 Move files to the root of the tree 2009-03-05 02:11:35 -05:00
Renamed from mudlet/prealpha1/mudlet/src/dlgSystemMessageArea.cpp (Browse further)