jce-manager/src/jceData/Calendar/coursesSchedule/calendarDialog.h

45 lines
919 B
C++

/**
* JCE Manager (C)
*
* This QDialog widget will hold the dates of a Semester, Start and End.
*
* this dialog will help the csv_exporter class to export a CSV file that will contain
* all the courses within that period of time.
*/
#ifndef CALENDARDIALOG_H
#define CALENDARDIALOG_H
#include <QDialog>
#include <QDate>
#include <QDebug>
namespace Ui {
class CalendarDialog;
}
class CalendarDialog : public QDialog
{
Q_OBJECT
public:
explicit CalendarDialog(QWidget *parent = 0);
~CalendarDialog();
QDate getStartDate();
QDate getEndDate();
bool ok();
private slots:
void on_calStart_selectionChanged();
void on_calEnd_selectionChanged();
void on_buttonBox_accepted();
private:
void changeLabeStatusIcon(bool goodOrBad);
Ui::CalendarDialog *ui;
bool isOK;
QPixmap iconPixStatus;
};
#endif // CALENDARDIALOG_H