Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 06-30-2024, 04:57 AM   #1
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,009
Karma: 27620706
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:

Click image for larger version

Name:	Screenshot 2024-06-30 173327.jpg
Views:	205
Size:	24.1 KB
ID:	209291

I want to put a border around the lists, like so:

Click image for larger version

Name:	Screenshot 2024-06-30 173507.jpg
Views:	202
Size:	37.8 KB
ID:	209292

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;}
Tried QPushButton {border: 1px solid yellow;} and QPushButton open {border: 1px solid yellow;}… neither worked.

BR
BetterRed is offline   Reply With Quote
Old 06-30-2024, 10:28 AM   #2
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,160
Karma: 5450818
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.
KevinH is offline   Reply With Quote
Advert
Old 06-30-2024, 10:35 AM   #3
BeckyEbook
Guru
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 783
Karma: 2298438
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;}
BeckyEbook is online now   Reply With Quote
Old 06-30-2024, 10:40 AM   #4
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,160
Karma: 5450818
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.
KevinH is offline   Reply With Quote
Old 06-30-2024, 11:27 AM   #5
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,009
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Thanks both, this gives me what I want

Quote:
:focus {border: 1px solid yellow;}
QMenu {border: 1px solid yellow;}
QComboBox#cbSearchMode QAbstractItemView,
QComboBox#cbLookWhere QAbstractItemView,
QComboBox#cbSearchDirection QAbstractItemView {border: 1px solid yellow;}
When one of the three QCB control receives focus it gets a border, press space and the QCB list pops with a border; after selecting an item from the list, press tab and the next control gets a border.

BR

Last edited by BetterRed; 06-30-2024 at 11:31 AM.
BetterRed is offline   Reply With Quote
Advert
Old 06-30-2024, 12:58 PM   #6
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,160
Karma: 5450818
Join Date: Nov 2009
Device: many
Great. It works like that for me on macOS without changing anything but in light blue not yellow.
KevinH is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 03:05 AM.


MobileRead.com is a privately owned, operated and funded community.