Translations:Development/Tutorials/Using Qt Creator/19/en: Difference between revisions
Appearance
Importing a new version from external source |
(No difference)
|
Latest revision as of 10:30, 11 March 2016
To add a toolbar, right-click on the UI and choose "Add Toolbar". Then you can set icons and text in your mainwindow's constructor with code like this:
ui->toolBar->addAction(QIcon("/usr/share/icons/oxygen/22x22/apps/ktip.png"),"hello world");