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

#include <task.h>

Inheritance diagram for task:
XDialog Ui::task QDialog ScriptablePrivate Ui_task ScriptableWidget

Public Slots

virtual void closeEvent (QCloseEvent *pEvent)
 
int exec ()
 
virtual void populate ()
 
virtual void sClose ()
 
virtual void sCompletedChanged ()
 
virtual void sDeleteUser ()
 
virtual void setRememberPos (bool)
 
virtual void setRememberSize (bool)
 
virtual void setViewMode ()
 
virtual void sExpensesAdjusted ()
 
virtual void sFillUserList ()
 
virtual void sHoursAdjusted ()
 
virtual void sNewUser ()
 
virtual void sSave ()
 
virtual void sStatusChanged (const int)
 

Signals

void newId (int)
 
void newMode (int)
 
void populated ()
 

Public Member Functions

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

Static Public Member Functions

static bool userHasPriv (const int=cView, const QString="TD", const int=0)
 

Public Attributes

XLineEdit_actualExp
 
XLabel_actualExpLit
 
XLineEdit_actualHours
 
XLabel_actualHoursLit
 
Alarms_alarms
 
QWidget_alarmTab
 
QGroupBox_assignmentGroup
 
XTreeWidget_assignments
 
QLabel_assignmentsLit
 
XLabel_balanceExp
 
XLabel_balanceExpLit
 
XLabel_balanceHours
 
XLabel_balanceHoursLit
 
XLineEdit_budgetExp
 
XLabel_budgetExpLit
 
XLineEdit_budgetHours
 
XLabel_budgetHoursLit
 
QDialogButtonBox * _buttonBox
 
QWidget_characteristicsTab
 
CharacteristicsWidget_charass
 
Comments_comments
 
QWidget_commentsTab
 
DLineEdit_completed
 
QLabel_completedLit
 
QPushButton * _deleteUser
 
XTextEdit_descrip
 
XLabel_descripLit
 
QWidget_detailsTab
 
Documents_documents
 
DLineEdit_due
 
XSpinBox_dueDays
 
XLabel_dueDaysLit
 
QLabel_dueLit
 
QGroupBox_expensesGroup
 
QGroupBox_hoursGroup
 
XLineEdit_name
 
XLabel_nameLit
 
QPushButton * _newUser
 
XTextEdit_notes
 
QWidget_notesTab
 
XLineEdit_number
 
XLabel_numberLit
 
UsernameCluster_owner
 
XComboBox_parentTask
 
XLabel_parentTaskLit
 
XSpinBox_pctCompl
 
XLabel_pctComplLit
 
XComboBox_priority
 
XLabel_priorityLit
 
ProjectCluster_project
 
RecurrenceWidget_recurring
 
QGroupBox_scheduleGroup
 
DLineEdit_started
 
QLabel_startedLit
 
XComboBox_status
 
XLabel_statusLit
 
QTabWidget * _tab
 
QWidget_teTab
 
QWidgetDocumentsTab
 
QGridLayout * gridLayout
 
QGridLayout * gridLayout1
 
QGridLayout * gridLayout_2
 
QGridLayout * gridLayout_4
 
QGridLayout * gridLayout_5
 
QGridLayout * gridLayout_6
 
QGridLayout * gridLayout_7
 
QGridLayout * gridLayout_8
 
QHBoxLayout * hboxLayout
 
QHBoxLayout * hboxLayout1
 
QHBoxLayout * hboxLayout2
 
QHBoxLayout * hboxLayout3
 
QHBoxLayout * horizontalLayout
 
QHBoxLayout * horizontalLayout_2
 
QHBoxLayout * horizontalLayout_3
 
QHBoxLayout * horizontalLayout_4
 
QHBoxLayout * horizontalLayout_5
 
QHBoxLayout * horizontallayout_due
 
QSpacerItem * horizontalSpacer
 
XLabelownerLit
 
QSpacerItem * spacerItem
 
QSpacerItem * spacerItem1
 
QVBoxLayout * verticalLayout
 
QVBoxLayout * verticalLayout_2
 
QVBoxLayout * verticalLayout_3
 
QVBoxLayout * verticalLayout_4
 
QSpacerItem * verticalSpacer
 
QSpacerItem * verticalSpacer_2
 
QSpacerItem * verticalSpacer_3
 
QSpacerItem * verticalSpacer_4
 
QSpacerItem * verticalSpacer_5
 

Protected Slots

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

Protected Member Functions

virtual void callCloseEvent (QEvent *)
 
virtual enum SetResponse callSet (const ParameterList &)
 
virtual void callShowEvent (QEvent *)
 
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

◆ task()

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

◆ ~task()

task::~task ( )

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 task::closeEvent ( QCloseEvent *  pEvent)
virtualslot

◆ engine()

QScriptEngine * ScriptablePrivate::engine ( )
virtualinherited

Reimplemented from ScriptableWidget.

◆ exec

int XDialog::exec ( )
slotinherited

◆ get()

ParameterList XDialog::get ( ) const
virtualinherited

Implements ScriptablePrivate.

◆ id()

int task::id ( )
virtual

◆ languageChange

void task::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

◆ mode()

int task::mode ( )
virtual

◆ newId

void task::newId ( int  )
signal

◆ newMode

void task::newMode ( int  )
signal

◆ populate

void task::populate ( )
virtualslot

◆ populated

void task::populated ( )
signal

◆ postSet

enum SetResponse XDialog::postSet ( )
protectedvirtualslotinherited

◆ retranslateUi()

void Ui_task::retranslateUi ( QDialog task)
inlineinherited

◆ saveSize

void XDialog::saveSize ( )
protectedvirtualslotinherited

◆ sClose

void task::sClose ( )
virtualslot

◆ sCompletedChanged

void task::sCompletedChanged ( )
virtualslot

◆ sDeleteUser

void task::sDeleteUser ( )
virtualslot

◆ set()

enum SetResponse task::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_task::setupUi ( QDialog task)
inlineinherited

◆ setViewMode

void task::setViewMode ( )
virtualslot

◆ setVisible

void task::setVisible ( bool  visible)
protectedvirtualslot

◆ sExpensesAdjusted

void task::sExpensesAdjusted ( )
virtualslot

◆ sFillUserList

void task::sFillUserList ( )
virtualslot

◆ sHoursAdjusted

void task::sHoursAdjusted ( )
virtualslot

◆ showEvent()

void XDialog::showEvent ( QShowEvent *  event)
protectedvirtualinherited

Reimplemented in externalShipping.

◆ sNewUser

void task::sNewUser ( )
virtualslot

◆ sSave

void task::sSave ( )
virtualslot

◆ sStatusChanged

void task::sStatusChanged ( const int  pStatus)
virtualslot

◆ userHasPriv()

bool task::userHasPriv ( const int  pMode = cView,
const QString  pType = "TD",
const int  pId = 0 
)
static

Member Data Documentation

◆ _actualExp

XLineEdit* Ui_task::_actualExp
inherited

◆ _actualExpLit

XLabel* Ui_task::_actualExpLit
inherited

◆ _actualHours

XLineEdit* Ui_task::_actualHours
inherited

◆ _actualHoursLit

XLabel* Ui_task::_actualHoursLit
inherited

◆ _alarms

Alarms* Ui_task::_alarms
inherited

◆ _alarmTab

QWidget* Ui_task::_alarmTab
inherited

◆ _assignmentGroup

QGroupBox* Ui_task::_assignmentGroup
inherited

◆ _assignments

XTreeWidget* Ui_task::_assignments
inherited

◆ _assignmentsLit

QLabel* Ui_task::_assignmentsLit
inherited

◆ _balanceExp

XLabel* Ui_task::_balanceExp
inherited

◆ _balanceExpLit

XLabel* Ui_task::_balanceExpLit
inherited

◆ _balanceHours

XLabel* Ui_task::_balanceHours
inherited

◆ _balanceHoursLit

XLabel* Ui_task::_balanceHoursLit
inherited

◆ _budgetExp

XLineEdit* Ui_task::_budgetExp
inherited

◆ _budgetExpLit

XLabel* Ui_task::_budgetExpLit
inherited

◆ _budgetHours

XLineEdit* Ui_task::_budgetHours
inherited

◆ _budgetHoursLit

XLabel* Ui_task::_budgetHoursLit
inherited

◆ _buttonBox

QDialogButtonBox* Ui_task::_buttonBox
inherited

◆ _cache

ScriptCache * ScriptableWidget::_cache
staticprotectedinherited

◆ _characteristicsTab

QWidget* Ui_task::_characteristicsTab
inherited

◆ _charass

CharacteristicsWidget* Ui_task::_charass
inherited

◆ _comments

Comments* Ui_task::_comments
inherited

◆ _commentsTab

QWidget* Ui_task::_commentsTab
inherited

◆ _completed

DLineEdit* Ui_task::_completed
inherited

◆ _completedLit

QLabel* Ui_task::_completedLit
inherited

◆ _debugger

QScriptEngineDebugger* ScriptableWidget::_debugger
protectedinherited

◆ _deleteUser

QPushButton* Ui_task::_deleteUser
inherited

◆ _descrip

XTextEdit* Ui_task::_descrip
inherited

◆ _descripLit

XLabel* Ui_task::_descripLit
inherited

◆ _detailsTab

QWidget* Ui_task::_detailsTab
inherited

◆ _documents

Documents* Ui_task::_documents
inherited

◆ _due

DLineEdit* Ui_task::_due
inherited

◆ _dueDays

XSpinBox* Ui_task::_dueDays
inherited

◆ _dueDaysLit

XLabel* Ui_task::_dueDaysLit
inherited

◆ _dueLit

QLabel* Ui_task::_dueLit
inherited

◆ _engine

QScriptEngine* ScriptableWidget::_engine
protectedinherited

◆ _expensesGroup

QGroupBox* Ui_task::_expensesGroup
inherited

◆ _guiClientInterface

GuiClientInterface * ScriptableWidget::_guiClientInterface
staticinherited

◆ _hoursGroup

QGroupBox* Ui_task::_hoursGroup
inherited

◆ _lastSetParams

ParameterList ScriptablePrivate::_lastSetParams
inherited

◆ _name

XLineEdit* Ui_task::_name
inherited

◆ _nameLit

XLabel* Ui_task::_nameLit
inherited

◆ _newUser

QPushButton* Ui_task::_newUser
inherited

◆ _notes

XTextEdit* Ui_task::_notes
inherited

◆ _notesTab

QWidget* Ui_task::_notesTab
inherited

◆ _number

XLineEdit* Ui_task::_number
inherited

◆ _numberLit

XLabel* Ui_task::_numberLit
inherited

◆ _owner

UsernameCluster* Ui_task::_owner
inherited

◆ _parentTask

XComboBox* Ui_task::_parentTask
inherited

◆ _parentTaskLit

XLabel* Ui_task::_parentTaskLit
inherited

◆ _pctCompl

XSpinBox* Ui_task::_pctCompl
inherited

◆ _pctComplLit

XLabel* Ui_task::_pctComplLit
inherited

◆ _priority

XComboBox* Ui_task::_priority
inherited

◆ _priorityLit

XLabel* Ui_task::_priorityLit
inherited

◆ _project

ProjectCluster* Ui_task::_project
inherited

◆ _recurring

RecurrenceWidget* Ui_task::_recurring
inherited

◆ _rememberPos

QAction* ScriptablePrivate::_rememberPos
inherited

◆ _rememberSize

QAction* ScriptablePrivate::_rememberSize
inherited

◆ _scheduleGroup

QGroupBox* Ui_task::_scheduleGroup
inherited

◆ _scriptLoaded

bool ScriptableWidget::_scriptLoaded
protectedinherited

◆ _self

QWidget* ScriptableWidget::_self
protectedinherited

◆ _showMe

QAction* ScriptablePrivate::_showMe
inherited

◆ _shown

bool ScriptablePrivate::_shown
inherited

◆ _started

DLineEdit* Ui_task::_started
inherited

◆ _startedLit

QLabel* Ui_task::_startedLit
inherited

◆ _status

XComboBox* Ui_task::_status
inherited

◆ _statusLit

XLabel* Ui_task::_statusLit
inherited

◆ _tab

QTabWidget* Ui_task::_tab
inherited

◆ _teTab

QWidget* Ui_task::_teTab
inherited

◆ DocumentsTab

QWidget* Ui_task::DocumentsTab
inherited

◆ gridLayout

QGridLayout* Ui_task::gridLayout
inherited

◆ gridLayout1

QGridLayout* Ui_task::gridLayout1
inherited

◆ gridLayout_2

QGridLayout* Ui_task::gridLayout_2
inherited

◆ gridLayout_4

QGridLayout* Ui_task::gridLayout_4
inherited

◆ gridLayout_5

QGridLayout* Ui_task::gridLayout_5
inherited

◆ gridLayout_6

QGridLayout* Ui_task::gridLayout_6
inherited

◆ gridLayout_7

QGridLayout* Ui_task::gridLayout_7
inherited

◆ gridLayout_8

QGridLayout* Ui_task::gridLayout_8
inherited

◆ hboxLayout

QHBoxLayout* Ui_task::hboxLayout
inherited

◆ hboxLayout1

QHBoxLayout* Ui_task::hboxLayout1
inherited

◆ hboxLayout2

QHBoxLayout* Ui_task::hboxLayout2
inherited

◆ hboxLayout3

QHBoxLayout* Ui_task::hboxLayout3
inherited

◆ horizontalLayout

QHBoxLayout* Ui_task::horizontalLayout
inherited

◆ horizontalLayout_2

QHBoxLayout* Ui_task::horizontalLayout_2
inherited

◆ horizontalLayout_3

QHBoxLayout* Ui_task::horizontalLayout_3
inherited

◆ horizontalLayout_4

QHBoxLayout* Ui_task::horizontalLayout_4
inherited

◆ horizontalLayout_5

QHBoxLayout* Ui_task::horizontalLayout_5
inherited

◆ horizontallayout_due

QHBoxLayout* Ui_task::horizontallayout_due
inherited

◆ horizontalSpacer

QSpacerItem* Ui_task::horizontalSpacer
inherited

◆ ownerLit

XLabel* Ui_task::ownerLit
inherited

◆ spacerItem

QSpacerItem* Ui_task::spacerItem
inherited

◆ spacerItem1

QSpacerItem* Ui_task::spacerItem1
inherited

◆ verticalLayout

QVBoxLayout* Ui_task::verticalLayout
inherited

◆ verticalLayout_2

QVBoxLayout* Ui_task::verticalLayout_2
inherited

◆ verticalLayout_3

QVBoxLayout* Ui_task::verticalLayout_3
inherited

◆ verticalLayout_4

QVBoxLayout* Ui_task::verticalLayout_4
inherited

◆ verticalSpacer

QSpacerItem* Ui_task::verticalSpacer
inherited

◆ verticalSpacer_2

QSpacerItem* Ui_task::verticalSpacer_2
inherited

◆ verticalSpacer_3

QSpacerItem* Ui_task::verticalSpacer_3
inherited

◆ verticalSpacer_4

QSpacerItem* Ui_task::verticalSpacer_4
inherited

◆ verticalSpacer_5

QSpacerItem* Ui_task::verticalSpacer_5
inherited

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

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