Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old Today, 03: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: 20,729
Karma: 27405072
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:	32
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:	28
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 Today, 09: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: 7,808
Karma: 5446592
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; Today at 09:36 AM.
KevinH is offline   Reply With Quote
Advert
Old Today, 09: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: 708
Karma: 2180740
Join Date: Jan 2017
Location: Poland
Device: Misc
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 offline   Reply With Quote
Old Today, 09: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: 7,808
Karma: 5446592
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; Today at 09:44 AM.
KevinH is offline   Reply With Quote
Old Today, 10: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: 20,729
Karma: 27405072
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; Today at 10:31 AM.
BetterRed is offline   Reply With Quote
Advert
Old Today, 11:58 AM   #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: 7,808
Karma: 5446592
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 02:24 AM
Quick query hermano Which one should I buy? 16 01-15-2012 10:01 AM
Hello and query MPDuke Introduce Yourself 8 12-13-2011 10:27 AM
PRS-650 SD Card Importance? SDHC, SDHC Class 4, Class 10 etc is it important Renji Sony Reader 11 12-03-2011 12:30 PM
Minor Query kread100 Calibre 3 12-22-2010 02:42 PM


All times are GMT -4. The time now is 03:18 PM.


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