YATiSh
Yet Another TIme SHeet
Public Member Functions | Private Attributes | List of all members
DateValidator Class Reference

Simplified from the wxWidgets Wiki: More...

Collaboration diagram for DateValidator:
Collaboration graph
[legend]

Public Member Functions

 DateValidator ()
 
 DateValidator (wxDateTime *p)
 
 DateValidator (const DateValidator &v)
 
wxObject * Clone () const
 
bool TransferFromWindow ()
 
bool TransferToWindow ()
 
bool Validate (wxWindow *)
 

Private Attributes

wxDateTime * pdt
 

Detailed Description

Simplified from the wxWidgets Wiki:

Note
This class is necessary because wxGenericValidator doesn't support wxDatePickerCrl.
Todo:
  • fix RTTI
  • try template?

Definition at line 16 of file yatishDlgTimeslot.cpp.

Constructor & Destructor Documentation

◆ DateValidator() [1/3]

DateValidator::DateValidator ( )
inline

Definition at line 18 of file yatishDlgTimeslot.cpp.

◆ DateValidator() [2/3]

DateValidator::DateValidator ( wxDateTime *  p)
inline

Definition at line 19 of file yatishDlgTimeslot.cpp.

◆ DateValidator() [3/3]

DateValidator::DateValidator ( const DateValidator v)
inline

Definition at line 20 of file yatishDlgTimeslot.cpp.

Member Function Documentation

◆ Clone()

wxObject* DateValidator::Clone ( ) const
inline

Definition at line 21 of file yatishDlgTimeslot.cpp.

◆ TransferFromWindow()

bool DateValidator::TransferFromWindow ( )

Definition at line 28 of file yatishDlgTimeslot.cpp.

◆ TransferToWindow()

bool DateValidator::TransferToWindow ( )

Definition at line 33 of file yatishDlgTimeslot.cpp.

◆ Validate()

bool DateValidator::Validate ( wxWindow *  )
inline

Definition at line 24 of file yatishDlgTimeslot.cpp.

Member Data Documentation

◆ pdt

wxDateTime* DateValidator::pdt
private

Definition at line 26 of file yatishDlgTimeslot.cpp.


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