[Qt-interest] Creating Gedit like buttons

Ferenc Stelcz ferenc at stelcz.hu
Tue Apr 14 12:57:01 CEST 2009


Raja Sekharan wrote:
> Hi,
> 
> Is it possible to create buttons like those in Gedit - The New, Open,
> Save ... and so on. The Icons appear on top of the text. How do I do
> that in Qt?
> 
> Raj
> 

Create a new QToolButton instance and call 
setToolButtonStyle(Qt::ToolButtonTextUnderIcon)



More information about the Qt-interest-old mailing list