+/*
+ * Copyright (C) 2009 Sakari Poussa
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, version 2.
+ */
+
#ifndef COURSE_DIALOG_H
#define COURSE_DIALOG_H
#include <QDebug>
#include "data.h"
+#include "table-model.h"
QT_BEGIN_NAMESPACE
class QTableWidget;
class QTableWidgetItem;
QT_END_NAMESPACE
+class CourseWindow: public QMainWindow
+{
+ Q_OBJECT;
+
+public:
+ CourseWindow(QWidget *parent = 0);
+
+ void setup(Course *course);
+
+private:
+ CourseTableModel *model;
+};
+
class CourseSelectDialog: public QDialog
{
Q_OBJECT