Revision as of 17:43, 19 July 2019 by FuzzyBot (talk | contribs) (Importing a new version from external source)(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff) Now we've done all the necessary setup, we can move on to doing interesting things with our application. We're going to create a popup box but we're going to customise one of the buttons. To do this customisation, we need to use a KGuiItem object. The first argument in the KGuiItem constructor is the text that will appear on the item (in our case, a button). Then we have an option of setting an icon for the button but we don't want one so we just give it QString(). We then set the tooltip (what appears when you hover over an item) and finally the "What's This?" (accessed through right-clicking or Shift-F1) text. Retrieved from "https://techbase.kde.org/index.php?title=Translations:Development/Tutorials/First_program/17/en&oldid=103020" This page was last edited on 19 July 2019, at 17:43. Content is available under Creative Commons License SA 4.0 unless otherwise noted.