List of all members | Properties | Public Slots | Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions
MenuButton Class Reference

#include <menubutton.h>

Inheritance diagram for MenuButton:
QWidget Ui::MenuButton Ui_MenuButton

Properties

QString actionName
 
QString image
 
QString label
 

Public Slots

void setAction (QAction *action)
 

Public Member Functions

 MenuButton (QWidget *=0)
 
 ~MenuButton ()
 
QString actionName () const
 
QString image () const
 
QString label () const
 
void retranslateUi (QWidget *MenuButton)
 
void retranslateUi (QWidget *MenuButton)
 
void setAction (const QString &name)
 
void setImage (const QString &image)
 
void setLabel (const QString &text)
 
void setupUi (QWidget *MenuButton)
 
void setupUi (QWidget *MenuButton)
 

Public Attributes

QPushButton * _button
 
QLabel_label
 
QSpacerItem * _spacer
 
QGridLayout * gridLayout
 
QVBoxLayout * verticalLayout
 
QSpacerItem * verticalSpacer
 

Static Public Attributes

static GuiClientInterface_guiClientInterface
 

Protected Member Functions

void actionEvent (QActionEvent *)
 
void showEvent (QShowEvent *)
 

Property Documentation

◆ actionName

QString MenuButton::actionName
readwrite

◆ image

QString MenuButton::image
readwrite

◆ label

QString MenuButton::label
readwrite

Constructor & Destructor Documentation

◆ MenuButton()

MenuButton::MenuButton ( QWidget pParent = 0)

◆ ~MenuButton()

MenuButton::~MenuButton ( )

Member Function Documentation

◆ actionEvent()

void MenuButton::actionEvent ( QActionEvent *  event)
protected

◆ actionName()

QString MenuButton::actionName ( ) const

◆ image()

QString MenuButton::image ( ) const

◆ label()

QString MenuButton::label ( ) const

◆ retranslateUi() [1/2]

void Ui_MenuButton::retranslateUi ( QWidget MenuButton)
inlineinherited

◆ retranslateUi() [2/2]

void Ui_MenuButton::retranslateUi ( QWidget MenuButton)
inlineinherited

◆ setAction() [1/2]

void MenuButton::setAction ( const QString &  name)

◆ setAction [2/2]

void MenuButton::setAction ( QAction action)
slot

◆ setImage()

void MenuButton::setImage ( const QString &  image)

◆ setLabel()

void MenuButton::setLabel ( const QString &  text)

◆ setupUi() [1/2]

void Ui_MenuButton::setupUi ( QWidget MenuButton)
inlineinherited

◆ setupUi() [2/2]

void Ui_MenuButton::setupUi ( QWidget MenuButton)
inlineinherited

◆ showEvent()

void MenuButton::showEvent ( QShowEvent *  e)
protected

Member Data Documentation

◆ _button

QPushButton * Ui_MenuButton::_button
inherited

◆ _guiClientInterface

GuiClientInterface * MenuButton::_guiClientInterface
static

◆ _label

QLabel * Ui_MenuButton::_label
inherited

◆ _spacer

QSpacerItem * Ui_MenuButton::_spacer
inherited

◆ gridLayout

QGridLayout * Ui_MenuButton::gridLayout
inherited

◆ verticalLayout

QVBoxLayout * Ui_MenuButton::verticalLayout
inherited

◆ verticalSpacer

QSpacerItem * Ui_MenuButton::verticalSpacer
inherited

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

Generated on Fri Apr 9 2021 xTuple ERP Programmer Reference, Version 5.0.0 doxygen 1.8.17