#include <dialogdatetimeformats.h>
Public Member Functions | |
DialogDateTimeFormats (const QDate &date, const QStringList &predefinedFormats, const QStringList &userDefinedFormats, QWidget *parent=nullptr) | |
DialogDateTimeFormats (const QTime &time, const QStringList &predefinedFormats, const QStringList &userDefinedFormats, QWidget *parent=nullptr) | |
virtual | ~DialogDateTimeFormats () |
QStringList | GetFormats () const |
Private Slots | |
void | AddLine () |
void | RemoveLine () |
void | SaveFormat (const QString &text) |
void | ShowFormatDetails () |
Private Member Functions | |
void | Init (const QStringList &predefined, const QStringList &userDefined) |
void | SetFormatLines (const QStringList &predefined, const QStringList &userDefined) |
void | SetupControls () |
bool | IsPredefined () const |
QListWidgetItem * | AddListLine (const QString &format) |
Private Attributes | |
Ui::DialogDateTimeFormats * | ui |
bool | m_dateMode |
QDate | m_date |
QTime | m_time |
QStringList | m_predefined |
Definition at line 66 of file dialogdatetimeformats.h.
DialogDateTimeFormats::DialogDateTimeFormats | ( | const QDate & | date, |
const QStringList & | predefinedFormats, | ||
const QStringList & | userDefinedFormats, | ||
QWidget * | parent = nullptr |
||
) |
Definition at line 60 of file dialogdatetimeformats.cpp.
DialogDateTimeFormats::DialogDateTimeFormats | ( | const QTime & | time, |
const QStringList & | predefinedFormats, | ||
const QStringList & | userDefinedFormats, | ||
QWidget * | parent = nullptr |
||
) |
Definition at line 75 of file dialogdatetimeformats.cpp.
|
virtual |
Definition at line 90 of file dialogdatetimeformats.cpp.
References ui.
|
privateslot |
|
private |
Definition at line 239 of file dialogdatetimeformats.cpp.
References m_date, m_dateMode, and m_time.
Referenced by SetFormatLines().
QStringList DialogDateTimeFormats::GetFormats | ( | ) | const |
Definition at line 96 of file dialogdatetimeformats.cpp.
References ui.
Referenced by PreferencesPatternPage::callDateTimeFormatEditor(), and SaveFormat().
|
private |
Definition at line 169 of file dialogdatetimeformats.cpp.
References AddLine(), RemoveLine(), SaveFormat(), SetFormatLines(), ShowFormatDetails(), and ui.
Referenced by DialogDateTimeFormats().
|
private |
|
privateslot |
Definition at line 124 of file dialogdatetimeformats.cpp.
References m_predefined, ShowFormatDetails(), and ui.
Referenced by Init().
|
privateslot |
Definition at line 139 of file dialogdatetimeformats.cpp.
References GetFormats(), m_date, m_dateMode, m_time, and ui.
Referenced by Init().
|
private |
Definition at line 184 of file dialogdatetimeformats.cpp.
References AddListLine(), and ui.
Referenced by Init().
|
private |
Definition at line 210 of file dialogdatetimeformats.cpp.
References m_predefined, and ui.
Referenced by ShowFormatDetails().
|
privateslot |
Definition at line 153 of file dialogdatetimeformats.cpp.
References SetupControls(), and ui.
Referenced by Init(), and RemoveLine().
|
private |
Definition at line 89 of file dialogdatetimeformats.h.
Referenced by AddListLine(), and SaveFormat().
|
private |
Definition at line 88 of file dialogdatetimeformats.h.
Referenced by AddListLine(), and SaveFormat().
|
private |
Definition at line 91 of file dialogdatetimeformats.h.
Referenced by RemoveLine(), and SetupControls().
|
private |
Definition at line 90 of file dialogdatetimeformats.h.
Referenced by AddListLine(), and SaveFormat().
|
private |
Definition at line 87 of file dialogdatetimeformats.h.
Referenced by AddLine(), DialogDateTimeFormats(), GetFormats(), Init(), RemoveLine(), SaveFormat(), SetFormatLines(), SetupControls(), ShowFormatDetails(), and ~DialogDateTimeFormats().