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

#include <creditCard.h>

Inheritance diagram for creditCard:
XDialog Ui::creditCard QDialog ScriptablePrivate Ui_creditCard ScriptableWidget

Public Slots

int exec ()
 
virtual void populate ()
 
virtual void setRememberPos (bool)
 
virtual void setRememberSize (bool)
 
virtual void sSave ()
 

Public Member Functions

 creditCard (QWidget *parent=0, const char *name=0, bool modal=false, Qt::WindowFlags fl=0)
 
 ~creditCard ()
 
virtual Q_INVOKABLE ParameterList get () const
 
void retranslateUi (QDialog *creditCard)
 
virtual SetResponse set (const ParameterList &pParams)
 
void setupUi (QDialog *creditCard)
 

Static Public Member Functions

static int saveCreditCard (QWidget *parent, int &custId, QString &ccName, QString &ccAddress1, QString &ccAddress2, QString &ccCity, QString &ccState, QString &ccZip, QString &ccCountry, QString &ccNumber, QString &ccType, QString &ccExpireMonth, QString &ccExpireYear, int &ccId, bool ccActive=true)
 

Public Attributes

QCheckBox_active
 
AddressCluster_address
 
QPushButton * _close
 
XLineEdit_creditCardNumber
 
QLabel_creditCardNumberLit
 
QLabel_creditCardNumberTypeLit
 
QLabel_custName
 
QLabel_custNum
 
QLabel_custNumberLit
 
QLabel_expiremonLit
 
XLineEdit_expireMonth
 
XLineEdit_expireYear
 
QLabel_expireyearLit
 
XComboBox_fundsType2
 
XLineEdit_name
 
QLabel_nameLit
 
QPushButton * _save
 
QGridLayout * gridLayout
 
QHBoxLayout * hboxLayout
 
QHBoxLayout * hboxLayout1
 
QHBoxLayout * hboxLayout2
 
QHBoxLayout * hboxLayout3
 
QHBoxLayout * hboxLayout4
 
QSpacerItem * spacerItem
 
QSpacerItem * spacerItem1
 
QSpacerItem * spacerItem2
 
QSpacerItem * spacerItem3
 
QSpacerItem * spacerItem4
 
QVBoxLayout * vboxLayout
 
QVBoxLayout * vboxLayout1
 
QVBoxLayout * vboxLayout2
 
QVBoxLayout * vboxLayout3
 
QVBoxLayout * vboxLayout4
 
QVBoxLayout * vboxLayout5
 
QVBoxLayout * vboxLayout6
 
QVBoxLayout * vboxLayout7
 
QVBoxLayout * vboxLayout8
 

Protected Slots

virtual void languageChange ()
 
virtual enum SetResponse postSet ()
 
virtual void saveSize ()
 

Protected Member Functions

virtual void callCloseEvent (QEvent *)
 
virtual enum SetResponse callSet (const ParameterList &)
 
virtual void callShowEvent (QEvent *)
 
virtual void closeEvent (QCloseEvent *event)
 
virtual QScriptEngine * engine ()
 
virtual void loadScript (const QString &oName)
 
virtual void loadScript (const QStringList &list)
 
virtual void loadScriptEngine ()
 
virtual Q_INVOKABLE bool setScriptableParams (ParameterList &)
 
virtual void showEvent (QShowEvent *event)
 

Protected Attributes

QScriptEngineDebugger * _debugger
 
QScriptEngine * _engine
 
ParameterList _lastSetParams
 
QAction_rememberPos
 
QAction_rememberSize
 
bool _scriptLoaded
 
QWidget_self
 
QAction_showMe
 
bool _shown
 

Static Protected Attributes

static ScriptCache_cache
 
static GuiClientInterface_guiClientInterface
 

Constructor & Destructor Documentation

◆ creditCard()

creditCard::creditCard ( QWidget parent = 0,
const char *  name = 0,
bool  modal = false,
Qt::WindowFlags  fl = 0 
)

◆ ~creditCard()

creditCard::~creditCard ( )

Member Function Documentation

◆ callCloseEvent()

void ScriptablePrivate::callCloseEvent ( QEvent *  event)
virtualinherited

◆ callSet()

enum SetResponse ScriptablePrivate::callSet ( const ParameterList &  params)
virtualinherited

◆ callShowEvent()

void ScriptablePrivate::callShowEvent ( QEvent *  event)
virtualinherited

◆ closeEvent()

void XDialog::closeEvent ( QCloseEvent *  event)
protectedvirtualinherited

Reimplemented in voucherItem, contact, and taxAuthority.

◆ engine()

QScriptEngine * ScriptablePrivate::engine ( )
virtualinherited

Reimplemented from ScriptableWidget.

◆ exec

int XDialog::exec ( )
slotinherited

◆ get()

ParameterList XDialog::get ( ) const
virtualinherited

Implements ScriptablePrivate.

◆ languageChange

void creditCard::languageChange ( )
protectedvirtualslot

◆ 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

◆ populate

void creditCard::populate ( )
virtualslot

◆ postSet

enum SetResponse XDialog::postSet ( )
protectedvirtualslotinherited

◆ retranslateUi()

void Ui_creditCard::retranslateUi ( QDialog creditCard)
inlineinherited

◆ saveCreditCard()

int creditCard::saveCreditCard ( QWidget parent,
int &  custId,
QString &  ccName,
QString &  ccAddress1,
QString &  ccAddress2,
QString &  ccCity,
QString &  ccState,
QString &  ccZip,
QString &  ccCountry,
QString &  ccNumber,
QString &  ccType,
QString &  ccExpireMonth,
QString &  ccExpireYear,
int &  ccId,
bool  ccActive = true 
)
static

◆ saveSize

void XDialog::saveSize ( )
protectedvirtualslotinherited

◆ set()

enum SetResponse creditCard::set ( const ParameterList &  pParams)
virtual

Reimplemented from XDialog.

◆ setRememberPos

void XDialog::setRememberPos ( bool  b)
virtualslotinherited

◆ setRememberSize

void XDialog::setRememberSize ( bool  b)
virtualslotinherited

◆ setScriptableParams()

bool ScriptableWidget::setScriptableParams ( ParameterList &  params)
virtualinherited

◆ setupUi()

void Ui_creditCard::setupUi ( QDialog creditCard)
inlineinherited

◆ showEvent()

void XDialog::showEvent ( QShowEvent *  event)
protectedvirtualinherited

Reimplemented in externalShipping.

◆ sSave

void creditCard::sSave ( )
virtualslot

Member Data Documentation

◆ _active

QCheckBox* Ui_creditCard::_active
inherited

◆ _address

AddressCluster* Ui_creditCard::_address
inherited

◆ _cache

ScriptCache * ScriptableWidget::_cache
staticprotectedinherited

◆ _close

QPushButton* Ui_creditCard::_close
inherited

◆ _creditCardNumber

XLineEdit* Ui_creditCard::_creditCardNumber
inherited

◆ _creditCardNumberLit

QLabel* Ui_creditCard::_creditCardNumberLit
inherited

◆ _creditCardNumberTypeLit

QLabel* Ui_creditCard::_creditCardNumberTypeLit
inherited

◆ _custName

QLabel* Ui_creditCard::_custName
inherited

◆ _custNum

QLabel* Ui_creditCard::_custNum
inherited

◆ _custNumberLit

QLabel* Ui_creditCard::_custNumberLit
inherited

◆ _debugger

QScriptEngineDebugger* ScriptableWidget::_debugger
protectedinherited

◆ _engine

QScriptEngine* ScriptableWidget::_engine
protectedinherited

◆ _expiremonLit

QLabel* Ui_creditCard::_expiremonLit
inherited

◆ _expireMonth

XLineEdit* Ui_creditCard::_expireMonth
inherited

◆ _expireYear

XLineEdit* Ui_creditCard::_expireYear
inherited

◆ _expireyearLit

QLabel* Ui_creditCard::_expireyearLit
inherited

◆ _fundsType2

XComboBox* Ui_creditCard::_fundsType2
inherited

◆ _guiClientInterface

GuiClientInterface * ScriptableWidget::_guiClientInterface
staticinherited

◆ _lastSetParams

ParameterList ScriptablePrivate::_lastSetParams
inherited

◆ _name

XLineEdit* Ui_creditCard::_name
inherited

◆ _nameLit

QLabel* Ui_creditCard::_nameLit
inherited

◆ _rememberPos

QAction* ScriptablePrivate::_rememberPos
inherited

◆ _rememberSize

QAction* ScriptablePrivate::_rememberSize
inherited

◆ _save

QPushButton* Ui_creditCard::_save
inherited

◆ _scriptLoaded

bool ScriptableWidget::_scriptLoaded
protectedinherited

◆ _self

QWidget* ScriptableWidget::_self
protectedinherited

◆ _showMe

QAction* ScriptablePrivate::_showMe
inherited

◆ _shown

bool ScriptablePrivate::_shown
inherited

◆ gridLayout

QGridLayout* Ui_creditCard::gridLayout
inherited

◆ hboxLayout

QHBoxLayout* Ui_creditCard::hboxLayout
inherited

◆ hboxLayout1

QHBoxLayout* Ui_creditCard::hboxLayout1
inherited

◆ hboxLayout2

QHBoxLayout* Ui_creditCard::hboxLayout2
inherited

◆ hboxLayout3

QHBoxLayout* Ui_creditCard::hboxLayout3
inherited

◆ hboxLayout4

QHBoxLayout* Ui_creditCard::hboxLayout4
inherited

◆ spacerItem

QSpacerItem* Ui_creditCard::spacerItem
inherited

◆ spacerItem1

QSpacerItem* Ui_creditCard::spacerItem1
inherited

◆ spacerItem2

QSpacerItem* Ui_creditCard::spacerItem2
inherited

◆ spacerItem3

QSpacerItem* Ui_creditCard::spacerItem3
inherited

◆ spacerItem4

QSpacerItem* Ui_creditCard::spacerItem4
inherited

◆ vboxLayout

QVBoxLayout* Ui_creditCard::vboxLayout
inherited

◆ vboxLayout1

QVBoxLayout* Ui_creditCard::vboxLayout1
inherited

◆ vboxLayout2

QVBoxLayout* Ui_creditCard::vboxLayout2
inherited

◆ vboxLayout3

QVBoxLayout* Ui_creditCard::vboxLayout3
inherited

◆ vboxLayout4

QVBoxLayout* Ui_creditCard::vboxLayout4
inherited

◆ vboxLayout5

QVBoxLayout* Ui_creditCard::vboxLayout5
inherited

◆ vboxLayout6

QVBoxLayout* Ui_creditCard::vboxLayout6
inherited

◆ vboxLayout7

QVBoxLayout* Ui_creditCard::vboxLayout7
inherited

◆ vboxLayout8

QVBoxLayout* Ui_creditCard::vboxLayout8
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