Back to index

salome-paravis  6.5.0
Public Slots | Public Member Functions
MyToolBarActions Class Reference

#include <MyToolBarActions.h>

List of all members.

Public Slots

void onAction ()

Public Member Functions

 MyToolBarActions (QObject *p)
 ~MyToolBarActions ()

Detailed Description

Definition at line 22 of file MyToolBarActions.h.

Constructor & Destructor Documentation

Definition at line 26 of file MyToolBarActions.cxx.

  : QActionGroup(p)
  QIcon icon = qApp->style()->standardIcon(QStyle::SP_MessageBoxCritical);

  QAction* a = this->addAction(new QAction(icon, "MyAction", this));
  QObject::connect(a, SIGNAL(triggered(bool)), this, SLOT(onAction()));

Here is the call graph for this function:

Definition at line 35 of file MyToolBarActions.cxx.


Member Function Documentation

void MyToolBarActions::onAction ( ) [slot]

Definition at line 39 of file MyToolBarActions.cxx.

  QMessageBox::information(NULL, "MyAction", "MyAction was invoked\n");

Here is the caller graph for this function:

The documentation for this class was generated from the following files: