Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Widgetset
»
QT
»
TSpeedButton qt6 stylesheet
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
ThorVG - test (lightweigh...
by
hermet
[
Today
at 05:47:10 am]
Dumping preprocessed work...
by
440bx
[
Today
at 01:59:14 am]
[ANN] PasBuild 1.2.0 Rele...
by
Graeme
[
Today
at 12:20:34 am]
Star Trek playing cards a...
by
TBMan
[February 08, 2026, 10:02:47 pm]
it2play - IT/S3M module r...
by
Lulu
[February 08, 2026, 09:50:23 pm]
Fast Canvas Library V1.05...
by
backprop
[February 08, 2026, 09:24:18 pm]
Lazaris IDE v4.4 - extrem...
by
CM630
[February 08, 2026, 08:10:36 pm]
How to determine the unkn...
by
CM630
[February 08, 2026, 08:06:39 pm]
Pre-Specialize Generic Fu...
by
MMarie
[February 08, 2026, 08:04:53 pm]
Change colors for Code Ex...
by
TBMan
[February 08, 2026, 07:37:40 pm]
Can we wallgarden this, p...
by
Mobius1
[February 08, 2026, 07:21:06 pm]
Testers needed - Skip met...
by
Martin_fr
[February 08, 2026, 05:10:28 pm]
FPC and Lazarus coding st...
by
Curt Carpenter
[February 08, 2026, 04:10:03 pm]
Status of FPC 3.4.0 or FP...
by
Martin_fr
[February 08, 2026, 11:44:46 am]
Here's how to show colour...
by
Pallzi
[February 08, 2026, 11:19:27 am]
Transparent Form: Done di...
by
LV
[February 08, 2026, 08:38:31 am]
Lazarus for Windows on aa...
by
msintle
[February 08, 2026, 02:29:50 am]
Debian removes FPC/Lazaru...
by
dbannon
[February 08, 2026, 12:57:16 am]
Rolling releases Lazarus[...
by
dbannon
[February 08, 2026, 12:44:27 am]
GridPrinter requirements ...
by
sfeinst
[February 08, 2026, 12:39:07 am]
Lazarus programs look ugl...
by
the_magik_mushroom
[February 07, 2026, 11:54:12 pm]
LCL Web Native with D2Bri...
by
xinyiman
[February 07, 2026, 10:43:41 pm]
Recommendations for wasm3...
by
PascalDragon
[February 07, 2026, 10:38:15 pm]
Migrating SK1 Project to ...
by
jamie
[February 07, 2026, 09:13:45 pm]
[SOLVED] The main screen ...
by
Hansvb
[February 07, 2026, 06:50:52 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: TSpeedButton qt6 stylesheet (Read 389 times)
big_M
Full Member
Posts: 102
TSpeedButton qt6 stylesheet
«
on:
January 13, 2026, 08:22:29 pm »
Hey. I'm currently creating a stylesheet for my app. So far everything works fine, however I just cannot find how to style TSpeedButtons. It's not with QPushbutton, and not with QToolButton it seems. Anyone has an idea?
I have this as the qt6 reference:
https://doc.qt.io/qt-6/stylesheet-reference.html
Logged
Soner
Sr. Member
Posts: 328
Re: TSpeedButton qt6 stylesheet
«
Reply #1 on:
January 13, 2026, 08:37:28 pm »
TSpeedButton isn't QT-Control, LCL draws it itself. You have to use TButton.
Logged
big_M
Full Member
Posts: 102
Re: TSpeedButton qt6 stylesheet
«
Reply #2 on:
January 13, 2026, 09:23:24 pm »
Hm, I feared something like this. Problem is, I need a toggle button with an icon. Can't do that with a TButton. TToggleBox can't do icons, and I think TBitBtn can't do toggling. TSpeedButton can do both, but no styling which I need also...
Logged
Soner
Sr. Member
Posts: 328
Re: TSpeedButton qt6 stylesheet
«
Reply #3 on:
January 14, 2026, 04:30:39 pm »
Then use TToggleBox. It looks as if it is drawn by the underlying widget set.
Logged
big_M
Full Member
Posts: 102
Re: TSpeedButton qt6 stylesheet
«
Reply #4 on:
January 14, 2026, 04:53:29 pm »
TToggleBox can't have an icon though, which I need.
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Widgetset
»
QT
»
TSpeedButton qt6 stylesheet
TinyPortal
© 2005-2018