Public Member Functions

ToolStripAction Class Reference

Action with extended properties. More...

#include <xmlui/toolstrip.h>

List of all members.

Public Member Functions


Detailed Description

Action with extended properties.


Constructor & Destructor Documentation

ToolStripAction ( const QString &  text,
QObject *  parent 
)

Constructor.

Parameters:
text The text of the action.
parent The parent object.
ToolStripAction ( const QIcon &  icon,
const QString &  text,
QObject *  parent 
)

Constructor.

Parameters:
icon The icon of the action.
text The text of the action.
parent The parent object.
~ToolStripAction (  ) 

Destructor.


Member Function Documentation

void setPopupMode ( QToolButton::ToolButtonPopupMode  mode  ) 

Set the menu popup mode for the tool button.

QToolButton::ToolButtonPopupMode popupMode (  )  const [inline]

Return the menu popup mode for the tool button.