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
Problems in drawing an ar...
by
wp
[
Today
at 07:14:36 pm]
Help needed compiling
by
cdbc
[
Today
at 07:13:41 pm]
DCPcrypt v2.0.6 — Cryptog...
by
JD
[
Today
at 06:43:51 pm]
How to determine the unkn...
by
Hartmut
[
Today
at 06:41:21 pm]
Fixing Lazarus 4.4 IDE la...
by
Curt Carpenter
[
Today
at 05:11:03 pm]
Select rectangle of the i...
by
backprop
[
Today
at 05:08:27 pm]
ThorVG - test (lightweigh...
by
ALLIGATOR
[
Today
at 04:58:52 pm]
Status of FPC 3.4.0 or FP...
by
LeP
[
Today
at 04:57:44 pm]
Old problem returns...
by
Curt Carpenter
[
Today
at 04:53:31 pm]
Reverting to Old AnchorDo...
by
Curt Carpenter
[
Today
at 04:45:04 pm]
SoundTracker Player Libra...
by
Gigatron
[
Today
at 04:28:05 pm]
Send form to true left an...
by
user5
[
Today
at 03:34:43 pm]
Form designer on MAC: Des...
by
Hansaplast
[
Today
at 03:15:34 pm]
Debian removes FPC/Lazaru...
by
kupferstecher
[
Today
at 11:46:26 am]
[ANN] fpGUI Toolkit v2.0....
by
Roland57
[
Today
at 11:14:36 am]
The Future of FPC
by
n7800
[
Today
at 11:10:42 am]
makefiles
by
Key-Real
[
Today
at 10:04:55 am]
fpGUI Toolkit v2.0.1 has ...
by
PierceNg
[
Today
at 09:13:32 am]
[SOLVED] Sort DBGrid
by
Zvoni
[
Today
at 08:28:39 am]
Strange Error in My Code ...
by
TYDQ
[
Today
at 01:17:35 am]
Fpcupdeluxe
by
creaothceann
[
Today
at 12:09:07 am]
; after then
by
440bx
[February 11, 2026, 10:29:20 pm]
Lazarus for Windows on aa...
by
Wallaby
[February 11, 2026, 10:21:41 pm]
Fast Canvas Library V1.05...
by
backprop
[February 11, 2026, 08:15:33 pm]
TRichMemo EM_FORMATRANGE ...
by
rvk
[February 11, 2026, 07:54:30 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: TSpeedButton qt6 stylesheet (Read 401 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