#include <datecluster.h>
Public Types | |
enum | Defaults { Empty, Current, None } |
Properties | |
QDate | currentDefault |
QDate | date |
Defaults | defaultDate |
QString | fieldName |
Properties inherited from XLineEdit | |
QString | defaultText |
QString | fieldName |
Public Member Functions | |
XDateEdit (QWidget *parent=0, const char *=0) | |
virtual | ~XDateEdit () |
virtual int | calendarSiteId () |
virtual void | clear () |
virtual QDate | currentDefault () |
virtual QDate | date () |
virtual Defaults | defaultDate () |
virtual QString | fieldName () const |
virtual bool | isNull () |
virtual bool | isValid () |
void | setAllowNullDate (bool pAllowNull) |
void | setCalendarSiteId (int siteId) |
void | setNullDate (const QDate &pNullDate) |
void | setNullString (const QString &pNullString) |
Public Member Functions inherited from XLineEdit | |
XLineEdit (QWidget *, const char *=0) | |
virtual QString | defaultText () const |
Q_INVOKABLE int | id () |
Q_INVOKABLE bool | isNull () |
Q_INVOKABLE bool | isValid () |
virtual Q_INVOKABLE QString | nullStr () const |
virtual Q_INVOKABLE void | setDouble (const double, const int=-1) |
virtual Q_INVOKABLE void | setNullStr (const QString &text) |
virtual void | setText (const QVariant &) |
Q_INVOKABLE void | setValidator (QValidator *v) |
Q_INVOKABLE double | toDouble (bool *=0) |
Public Slots | |
void | checkDate (const QDate &) |
void | parseDate () |
virtual void | setDataWidgetMap (XDataWidgetMapper *m) |
void | setDate (const QDate &, bool=false) |
void | setDefaultDate (Defaults p) |
virtual void | setFieldName (QString p) |
void | setNull () |
void | showCalendar () |
Public Slots inherited from XLineEdit | |
virtual void | setData () |
virtual void | setData (const QString &text) |
virtual void | setDataWidgetMap (XDataWidgetMapper *m) |
virtual void | setDefaultText (QString p) |
virtual void | setFieldName (QString p) |
virtual void | sParse () |
Signals | |
void | newDate (const QDate &) |
Signals inherited from XLineEdit | |
void | clicked () |
void | doubleClicked () |
void | requestAlias () |
void | requestCopy () |
void | requestInfo () |
void | requestList () |
void | requestSearch () |
Additional Inherited Members | |
Protected Attributes inherited from XLineEdit | |
QAction * | _aliasAct |
QAction * | _copyProject |
int | _id |
QAction * | _listAct |
QString | _nullStr |
bool | _parsed |
QAction * | _searchAct |
bool | _valid |
Protected Member Functions inherited from XLineEdit | |
virtual void | focusInEvent (QFocusEvent *event) |
virtual void | focusOutEvent (QFocusEvent *event) |
void | keyPressEvent (QKeyEvent *) |
void | mouseDoubleClickEvent (QMouseEvent *) |
void | mousePressEvent (QMouseEvent *) |
Protected Slots inherited from XLineEdit | |
virtual void | sHandleNullStr () |
enum XDateEdit::Defaults |
XDateEdit::XDateEdit | ( | QWidget * | parent = 0 , |
const char * | name = 0 |
||
) |
|
virtual |
|
inlinevirtual |
|
slot |
|
virtual |
|
virtual |
|
virtual |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented from XLineEdit.
|
virtual |
|
virtual |
|
signal |
|
slot |
|
inline |
|
inline |
|
virtualslot |
|
slot |
|
inlineslot |
|
inlinevirtualslot |
|
slot |
|
inline |
|
inline |
|
slot |
|
read |
|
readwrite |
|
readwrite |
|
readwrite |
Generated on Fri Oct 7 2016 14:23:35 | xTuple ERP Programmer Reference, Version 4.2.0 | 1.8.10 |