Hi wysota,
Sorry for the delay - I complete forgot I posted this for a while with other issues popping up.
The project has only been done in Qt4 and the button type is QToolButton.
I have used a .qrc file - here's an example section from the .ui file
<widget class="QToolButton" name="taskResume" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>5</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip" >
<string>Resume Task</string>
</property>
<property name="text" >
<string>></string>
</property>
<property name="icon" >
<iconset resource="../splishgraphics/splishgraphics.qrc" >:/icons/splish_play.png</iconset>
</property>
<property name="iconSize" >
<size>
<width>32</width>
<height>32</height>
</size>
</property>
</widget>
<widget class="QToolButton" name="taskResume" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>5</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip" >
<string>Resume Task</string>
</property>
<property name="text" >
<string>></string>
</property>
<property name="icon" >
<iconset resource="../splishgraphics/splishgraphics.qrc" >:/icons/splish_play.png</iconset>
</property>
<property name="iconSize" >
<size>
<width>32</width>
<height>32</height>
</size>
</property>
</widget>
To copy to clipboard, switch view to plain text mode
Thanks for the help.
Cheers,
Alan.
Bookmarks