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

#include <xheaderbuttonbox.h>

Inheritance diagram for XHeaderButtonBox:
QWidget ScriptableWidget Ui::XHeaderButtonBox Ui_XHeaderButtonBox

Properties

int buttonWidth
 

Signals

void buttonClicked (int id)
 
void buttonClicked (QAbstractButton *button)
 
void buttonPressed (int id)
 
void buttonPressed (QAbstractButton *button)
 
void buttonReleased (int id)
 
void buttonReleased (QAbstractButton *button)
 
void buttonToggled (int id, bool checked)
 
void buttonToggled (QAbstractButton *button, bool checked)
 

Public Member Functions

 XHeaderButtonBox (QWidget *pParent=0)
 
virtual ~XHeaderButtonBox ()
 
virtual Q_INVOKABLE QPushButton * addButton (QPushButton *pButton, int pId=-1)
 
virtual Q_INVOKABLE QPushButton * addButton (QString pLabel, int pId=-1, const char *pName=0)
 
virtual Q_INVOKABLE QList< QAbstractButton * > buttons () const
 
virtual int buttonWidth ()
 
virtual Q_INVOKABLE void editBgColor (int r=232, int g=232, int b=232, QString textColor="black")
 
virtual QScriptEngine * engine ()
 
virtual void loadScript (const QString &oName)
 
virtual void loadScript (const QStringList &list)
 
virtual void loadScriptEngine ()
 
virtual Q_INVOKABLE void removeButton (QPushButton *btn)
 
void retranslateUi (QWidget *XHeaderButtonBox)
 
void retranslateUi (QWidget *XHeaderButtonBox)
 
virtual Q_INVOKABLE void setButtonWidth (int pWidth)
 
virtual Q_INVOKABLE bool setScriptableParams (ParameterList &)
 
virtual Q_INVOKABLE void setStackedWidget (QStackedWidget *stackedWidget)
 
void setupUi (QWidget *XHeaderButtonBox)
 
void setupUi (QWidget *XHeaderButtonBox)
 

Public Attributes

QToolButton * _extendNav
 
QGridLayout * gridLayout_2
 
QGridLayout * headerLayout
 
QWidgetnavBar
 

Static Public Attributes

static GuiClientInterface_guiClientInterface
 

Protected Slots

virtual void refreshDisplay ()
 
virtual void setCurrentPage (int id)
 
virtual void sExtendButtonClicked ()
 

Protected Attributes

QButtonGroup * _buttonGroup
 
int _buttonWidth
 
QScriptEngineDebugger * _debugger
 
QScriptEngine * _engine
 
int _nextId
 
bool _scriptLoaded
 
QWidget_self
 

Static Protected Attributes

static ScriptCache_cache
 

Property Documentation

◆ buttonWidth

int XHeaderButtonBox::buttonWidth
readwrite

Constructor & Destructor Documentation

◆ XHeaderButtonBox()

XHeaderButtonBox::XHeaderButtonBox ( QWidget pParent = 0)

◆ ~XHeaderButtonBox()

XHeaderButtonBox::~XHeaderButtonBox ( )
virtual

Member Function Documentation

◆ addButton() [1/2]

QPushButton * XHeaderButtonBox::addButton ( QPushButton *  pButton,
int  pId = -1 
)
virtual

◆ addButton() [2/2]

QPushButton * XHeaderButtonBox::addButton ( QString  pLabel,
int  pId = -1,
const char *  pName = 0 
)
virtual

◆ buttonClicked [1/2]

void XHeaderButtonBox::buttonClicked ( int  id)
signal

◆ buttonClicked [2/2]

void XHeaderButtonBox::buttonClicked ( QAbstractButton *  button)
signal

◆ buttonPressed [1/2]

void XHeaderButtonBox::buttonPressed ( int  id)
signal

◆ buttonPressed [2/2]

void XHeaderButtonBox::buttonPressed ( QAbstractButton *  button)
signal

◆ buttonReleased [1/2]

void XHeaderButtonBox::buttonReleased ( int  id)
signal

◆ buttonReleased [2/2]

void XHeaderButtonBox::buttonReleased ( QAbstractButton *  button)
signal

◆ buttons()

QList< QAbstractButton * > XHeaderButtonBox::buttons ( ) const
virtual

◆ buttonToggled [1/2]

void XHeaderButtonBox::buttonToggled ( int  id,
bool  checked 
)
signal

◆ buttonToggled [2/2]

void XHeaderButtonBox::buttonToggled ( QAbstractButton *  button,
bool  checked 
)
signal

◆ buttonWidth()

virtual int XHeaderButtonBox::buttonWidth ( )
virtual

◆ editBgColor()

void XHeaderButtonBox::editBgColor ( int  r = 232,
int  g = 232,
int  b = 232,
QString  textColor = "black" 
)
virtual

◆ engine()

QScriptEngine * ScriptableWidget::engine ( )
virtualinherited

Reimplemented in ScriptablePrivate.

◆ loadScript() [1/2]

void ScriptableWidget::loadScript ( const QString &  oName)
virtualinherited

◆ loadScript() [2/2]

void ScriptableWidget::loadScript ( const QStringList &  list)
virtualinherited

◆ loadScriptEngine()

void ScriptableWidget::loadScriptEngine ( )
virtualinherited

◆ refreshDisplay

void XHeaderButtonBox::refreshDisplay ( )
protectedvirtualslot

◆ removeButton()

void XHeaderButtonBox::removeButton ( QPushButton *  btn)
virtual

◆ retranslateUi() [1/2]

void Ui_XHeaderButtonBox::retranslateUi ( QWidget XHeaderButtonBox)
inlineinherited

◆ retranslateUi() [2/2]

void Ui_XHeaderButtonBox::retranslateUi ( QWidget XHeaderButtonBox)
inlineinherited

◆ setButtonWidth()

void XHeaderButtonBox::setButtonWidth ( int  pWidth)
virtual

◆ setCurrentPage

void XHeaderButtonBox::setCurrentPage ( int  id)
protectedvirtualslot

◆ setScriptableParams()

bool ScriptableWidget::setScriptableParams ( ParameterList &  params)
virtualinherited

◆ setStackedWidget()

void XHeaderButtonBox::setStackedWidget ( QStackedWidget *  stackedWidget)
virtual

◆ setupUi() [1/2]

void Ui_XHeaderButtonBox::setupUi ( QWidget XHeaderButtonBox)
inlineinherited

◆ setupUi() [2/2]

void Ui_XHeaderButtonBox::setupUi ( QWidget XHeaderButtonBox)
inlineinherited

◆ sExtendButtonClicked

void XHeaderButtonBox::sExtendButtonClicked ( )
protectedvirtualslot

Member Data Documentation

◆ _buttonGroup

QButtonGroup* XHeaderButtonBox::_buttonGroup
protected

◆ _buttonWidth

int XHeaderButtonBox::_buttonWidth
protected

◆ _cache

ScriptCache * ScriptableWidget::_cache
staticprotectedinherited

◆ _debugger

QScriptEngineDebugger* ScriptableWidget::_debugger
protectedinherited

◆ _engine

QScriptEngine* ScriptableWidget::_engine
protectedinherited

◆ _extendNav

QToolButton * Ui_XHeaderButtonBox::_extendNav
inherited

◆ _guiClientInterface

GuiClientInterface * ScriptableWidget::_guiClientInterface
staticinherited

◆ _nextId

int XHeaderButtonBox::_nextId
protected

◆ _scriptLoaded

bool ScriptableWidget::_scriptLoaded
protectedinherited

◆ _self

QWidget* ScriptableWidget::_self
protectedinherited

◆ gridLayout_2

QGridLayout * Ui_XHeaderButtonBox::gridLayout_2
inherited

◆ headerLayout

QGridLayout * Ui_XHeaderButtonBox::headerLayout
inherited

◆ navBar

QWidget * Ui_XHeaderButtonBox::navBar
inherited

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

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