|
|
#1 |
|
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,022
Karma: 30277294
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Qt Class Query
Which Qt Class are the 3 Mode Buttons in the F&R panel:
I want to put a border around the lists, like so: Hopefully by adding a line to the existing qt-style.qss file, a'la: Code:
:focus {border: 1px solid yellow;}
QMenu {border: 1px solid yellow;}
Q????????? {border: 1px solid yellow;}
BR |
|
|
|
|
|
#2 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,072
Karma: 6361556
Join Date: Nov 2009
Device: many
|
Those are all QToolButtons.
https://doc.qt.io/qt-6/qtoolbutton.html See: https://doc.qt.io/qt-6/stylesheet-ex...ng-qtoolbutton The menu attached to it might be selected by a selector like: QToolBar > QMenu {} But I have not tested that. Last edited by KevinH; 06-30-2024 at 10:36 AM. |
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 900
Karma: 3501166
Join Date: Jan 2017
Location: Poland
Device: Various
|
If I understood your problem correctly:
Code:
QComboBox#cbSearchMode,
QComboBox#cbLookWhere,
QComboBox#cbSearchDirection {border: 1px solid yellow;}
QComboBox#cbSearchMode QAbstractItemView,
QComboBox#cbLookWhere QAbstractItemView,
QComboBox#cbSearchDirection QAbstractItemView {border: 1px solid yellow;}
|
|
|
|
|
|
#4 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,072
Karma: 6361556
Join Date: Nov 2009
Device: many
|
Are we not we talking about the Regex button? I think it is a pop-up menu on the QToolButton..
Yes the other buttons are standard QComboBoxes but trying to style those on Windows caused problems, I thought? Last edited by KevinH; 06-30-2024 at 10:44 AM. |
|
|
|
|
|
#5 | |
|
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,022
Karma: 30277294
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Thanks both, this gives me what I want
![]() Quote:
BR Last edited by BetterRed; 06-30-2024 at 11:31 AM. |
|
|
|
|
| Advert | |
|
|
|
|
#6 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,072
Karma: 6361556
Join Date: Nov 2009
Device: many
|
Great. It works like that for me on macOS without changing anything but in light blue not yellow.
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Aura H2O MicroSDHC card class 4 or class 10? | chipro12 | Kobo Reader | 5 | 07-04-2015 03:24 AM |
| Quick query | hermano | Which one should I buy? | 16 | 01-15-2012 11:01 AM |
| Hello and query | MPDuke | Introduce Yourself | 8 | 12-13-2011 11:27 AM |
| PRS-650 SD Card Importance? SDHC, SDHC Class 4, Class 10 etc is it important | Renji | Sony Reader | 11 | 12-03-2011 01:30 PM |
| Minor Query | kread100 | Calibre | 3 | 12-22-2010 03:42 PM |