QMultiDateDialog Class Reference

MultiDate Dialog. More...

#include <QMultiDateDialog.h>

Inheritance diagram for QMultiDateDialog:

Inheritance graph

List of all members.

Public Slots

void setStartDate (const QString &startDate)
void on_btnFreqDaily_clicked ()
void on_btnFreqWeekdays_clicked ()
void on_btnFreqWeekly_clicked ()
void on_btnFreqEveryThWeek_clicked ()
void on_btnFreqThDayOfTheMonth_clicked ()
void on_btnFreqMonthly_clicked ()
void on_btnFreqPeriodic_clicked ()
void on_btnClear_clicked ()
void on_btnCancel_clicked ()
void on_sbxCount_valueChanged (int i)
void on_dedDateStart_dateChanged (const QDate &date)
void on_dedDateStop_dateChanged (const QDate &date)
void on_cboEveryThOf_currentIndexChanged (int i)
void on_cboWeekdayOf_currentIndexChanged (int i)
void on_chkSkipWeekends_stateChanged (int state)
void on_chkSkipHolidays_stateChanged (int state)
void on_cmdStartCalendar_clicked ()
void on_cmdStopCalendar_clicked ()
void on_cbxIgnoreDate_clicked ()
QString toCode ()
 Return the definition compacted string without the index.
QString toDateList ()

Public Member Functions

 QMultiDateDialog (const QString &field, const QString &defaultField, QWidget *parent=NULL)
 ~QMultiDateDialog ()

Private Member Functions

void blockSignals (bool state=true)
void lockControls (bool state=true)
QStringList firstThru (int last)
QStringList oneThruFifteen ()
QStringList oneThruOneTwenty ()
QStringList monThruSun ()
QStringList dayWeekday (bool includeAny)
QStringList periodics ()
void freqUpdate (int index)
void refreshLayout ()

Private Attributes

bool m_dirty
 dirty flag
QButtonGroup m_freqGroup

Detailed Description

MultiDate Dialog.



Definition at line 51 of file QMultiDateDialog.h.

Constructor & Destructor Documentation

QMultiDateDialog::QMultiDateDialog ( const QString &  field,
const QString &  defaultField,
QWidget *  parent = NULL 

Definition at line 31 of file QMultiDateDialog.cpp.

QMultiDateDialog::~QMultiDateDialog (  ) 

Definition at line 81 of file QMultiDateDialog.cpp.

Member Function Documentation

void QMultiDateDialog::blockSignals ( bool  state = true  )  [private]

Definition at line 464 of file QMultiDateDialog.cpp.

QStringList QMultiDateDialog::dayWeekday ( bool  includeAny  )  [private]

Definition at line 240 of file QMultiDateDialog.cpp.

QStringList QMultiDateDialog::firstThru ( int  last  )  [private]

Definition at line 132 of file QMultiDateDialog.cpp.

void QMultiDateDialog::freqUpdate ( int  index  )  [private]

Definition at line 254 of file QMultiDateDialog.cpp.

void QMultiDateDialog::lockControls ( bool  state = true  )  [private]

Definition at line 476 of file QMultiDateDialog.cpp.

QStringList QMultiDateDialog::monThruSun (  )  [private]

Definition at line 212 of file QMultiDateDialog.cpp.

void QMultiDateDialog::on_btnCancel_clicked (  )  [slot]

Definition at line 384 of file QMultiDateDialog.cpp.

void QMultiDateDialog::on_btnClear_clicked (  )  [slot]

Definition at line 378 of file QMultiDateDialog.cpp.

void QMultiDateDialog::on_btnFreqDaily_clicked (  )  [inline, slot]

Definition at line 67 of file QMultiDateDialog.h.

void QMultiDateDialog::on_btnFreqEveryThWeek_clicked (  )  [inline, slot]

Definition at line 70 of file QMultiDateDialog.h.

void QMultiDateDialog::on_btnFreqMonthly_clicked (  )  [inline, slot]

Definition at line 72 of file QMultiDateDialog.h.

void QMultiDateDialog::on_btnFreqPeriodic_clicked (  )  [inline, slot]

Definition at line 73 of file QMultiDateDialog.h.

void QMultiDateDialog::on_btnFreqThDayOfTheMonth_clicked (  )  [inline, slot]

Definition at line 71 of file QMultiDateDialog.h.

void QMultiDateDialog::on_btnFreqWeekdays_clicked (  )  [inline, slot]

Definition at line 68 of file QMultiDateDialog.h.

void QMultiDateDialog::on_btnFreqWeekly_clicked (  )  [inline, slot]

Definition at line 69 of file QMultiDateDialog.h.

void QMultiDateDialog::on_cboEveryThOf_currentIndexChanged ( int  i  )  [slot]

Definition at line 412 of file QMultiDateDialog.cpp.

void QMultiDateDialog::on_cboWeekdayOf_currentIndexChanged ( int  i  )  [slot]

Definition at line 423 of file QMultiDateDialog.cpp.

void QMultiDateDialog::on_cbxIgnoreDate_clicked (  )  [slot]

Definition at line 87 of file QMultiDateDialog.cpp.

void QMultiDateDialog::on_chkSkipHolidays_stateChanged ( int  state  )  [slot]

Definition at line 458 of file QMultiDateDialog.cpp.

void QMultiDateDialog::on_chkSkipWeekends_stateChanged ( int  state  )  [slot]

Definition at line 452 of file QMultiDateDialog.cpp.

void QMultiDateDialog::on_cmdStartCalendar_clicked ( void   )  [slot]

Definition at line 434 of file QMultiDateDialog.cpp.

void QMultiDateDialog::on_cmdStopCalendar_clicked ( void   )  [slot]

Definition at line 443 of file QMultiDateDialog.cpp.

void QMultiDateDialog::on_dedDateStart_dateChanged ( const QDate &  date  )  [slot]

Definition at line 401 of file QMultiDateDialog.cpp.

void QMultiDateDialog::on_dedDateStop_dateChanged ( const QDate &  date  )  [slot]

Definition at line 408 of file QMultiDateDialog.cpp.

void QMultiDateDialog::on_sbxCount_valueChanged ( int  i  )  [slot]

Definition at line 389 of file QMultiDateDialog.cpp.

QStringList QMultiDateDialog::oneThruFifteen (  )  [private]

Definition at line 174 of file QMultiDateDialog.cpp.

QStringList QMultiDateDialog::oneThruOneTwenty (  )  [private]

Definition at line 197 of file QMultiDateDialog.cpp.

QStringList QMultiDateDialog::periodics (  )  [private]

Definition at line 228 of file QMultiDateDialog.cpp.

void QMultiDateDialog::refreshLayout (  )  [private]

Definition at line 97 of file QMultiDateDialog.cpp.

void QMultiDateDialog::setStartDate ( const QString &  startDate  )  [slot]

Reimplemented from QMultiDate.

Definition at line 395 of file QMultiDateDialog.cpp.

QString QMultiDateDialog::toCode (  )  [inline, slot]

Return the definition compacted string without the index.

This is a convenience function designed to be used when you want to acquire the compacted definition string minus the index portion of the field. This code can be used when searching a database that contains several entries with the same codes, but different index numbers.

Reimplemented from QMultiDate.

Definition at line 91 of file QMultiDateDialog.h.

QString QMultiDateDialog::toDateList (  )  [inline, slot]

Definition at line 96 of file QMultiDateDialog.h.

Member Data Documentation

bool QMultiDateDialog::m_dirty [private]

dirty flag

This flag gets set to 'true' any time one of the fields is updated. It gets set to 'false' when a re-computation is performed.

Reimplemented from QMultiDate.

Definition at line 118 of file QMultiDateDialog.h.

QButtonGroup QMultiDateDialog::m_freqGroup [private]

Definition at line 119 of file QMultiDateDialog.h.

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

~ ~ ~ ~ ~ ~
Source Code without Comments is like a Cranberry Garland
without the berries. Comment your Code!
Commence Database User Support Group Forum
~ ~ ~ ~ ~ ~
Author: Mark Petryk
Lorimark Solutions, LLC