You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

76 lines
846 B
C++

/*!
\file cdatepicker.h
*/
#ifndef CDATEPICKER_H
#define CDATEPICKER_H
#include <QDialog>
#include <QImage>
namespace Ui {
class cDatePicker;
}
/*!
\brief
\class cDatePicker cdatepicker.h "cdatepicker.h"
*/
class cDatePicker : public QDialog
{
Q_OBJECT
public:
/*!
\brief
\fn cDatePicker
\param parent
*/
explicit cDatePicker(QWidget *parent = nullptr);
/*!
\brief
\fn ~cDatePicker
*/
~cDatePicker();
/*!
\brief
\fn setText
\param szText
*/
void setText(const QString& szText);
/*!
\brief
\fn setImage
\param image
*/
void setImage(const QImage& image);
/*!
\brief
\fn setDate
\param date
*/
void setDate(const QDate date);
/*!
\brief
\fn date
\return QDate
*/
QDate date();
private:
Ui::cDatePicker *ui; /*!< TODO: describe */
};
#endif // CDATEPICKER_H