Translations:Development/Tutorials/Using Actions/24/en: Difference between revisions

From KDE TechBase
(Importing a new version from external source)
 
(No difference)

Latest revision as of 07:31, 26 October 2019

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Development/Tutorials/Using Actions)
Now that we have our QAction object, we can start setting its properties. The following code sets the text that will be displayed in the menu and with the <tt>QAction</tt>'s icon in the toolbar, depending on the widget style (whether beside or below the icon) or setting (whether to display the action text or not).

Now that we have our QAction object, we can start setting its properties. The following code sets the text that will be displayed in the menu and with the QAction's icon in the toolbar, depending on the widget style (whether beside or below the icon) or setting (whether to display the action text or not).