mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-04-15 05:32:21 +00:00
Reorg tidy src directory
.. move the fluff that has collected into the src directory to somewhere more appropriate.
This commit is contained in:
35
deprecated/RideCalendar.h
Normal file
35
deprecated/RideCalendar.h
Normal file
@@ -0,0 +1,35 @@
|
||||
#ifndef EVENT_CALENDAR_WIDGET_H
|
||||
#define EVENT_CALENDAR_WIDGET_H
|
||||
#include "GoldenCheetah.h"
|
||||
|
||||
#include <QCalendarWidget>
|
||||
#include <QMultiMap>
|
||||
#include "RideItem.h"
|
||||
class MainWindow;
|
||||
|
||||
class RideCalendar : public QCalendarWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
G_OBJECT
|
||||
|
||||
|
||||
public:
|
||||
RideCalendar(MainWindow *parent);
|
||||
QSize sizeHint() const;
|
||||
void setHome(const QDir&);
|
||||
void addWorkoutCode(QString, QColor);
|
||||
|
||||
protected:
|
||||
void paintCell(QPainter *, const QRect &, const QDate &) const;
|
||||
|
||||
public slots:
|
||||
void configUpdate();
|
||||
|
||||
private:
|
||||
QMap<QString, QColor> workoutCodes;
|
||||
QDir home;
|
||||
QColor defaultColor;
|
||||
MainWindow *mainWindow;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user