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
Status of FPC 3.4.0 or FP...
by
gidesa
[
Today
at 02:25:45 pm]
Help needed compiling
by
CM630
[
Today
at 02:12:16 pm]
ThorVG - test (lightweigh...
by
Zvoni
[
Today
at 01:29:05 pm]
Debian removes FPC/Lazaru...
by
kupferstecher
[
Today
at 11:46:26 am]
Problems in drawing an ar...
by
simsee
[
Today
at 11:34:26 am]
Select rectangle of the i...
by
backprop
[
Today
at 11:20:42 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]
Form designer on MAC: Des...
by
tk
[
Today
at 11:07:28 am]
Reverting to Old AnchorDo...
by
CM630
[
Today
at 10:27:21 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]
DCPcrypt v2.0.6 — Cryptog...
by
Okoba
[
Today
at 07:47:36 am]
Old problem returns...
by
Lutz Mändle
[
Today
at 06:56:53 am]
Fixing Lazarus 4.4 IDE la...
by
dbannon
[
Today
at 05:52:05 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]
[SOLVED] Lazarus recompil...
by
Hartmut
[February 11, 2026, 06:00:38 pm]
Defining TDBDropDownCombo...
by
1HuntnMan
[February 11, 2026, 04:12:04 pm]
Rolling releases Lazarus[...
by
ALLIGATOR
[February 11, 2026, 03:28:46 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: TSpeedButton qt6 stylesheet (Read 399 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