sdrangelove/include/gui/rollupwidget.h

27 lines
577 B
C
Raw Normal View History

2013-09-23 19:55:02 +00:00
#ifndef INCLUDE_ROLLUPWIDGET_H
#define INCLUDE_ROLLUPWIDGET_H
#include <QWidget>
2013-09-23 19:55:02 +00:00
#include "util/export.h"
2013-09-23 19:55:02 +00:00
class SDRANGELOVE_API RollupWidget : public QWidget {
Q_OBJECT
public:
RollupWidget(QWidget* parent = NULL);
protected:
int arrangeRollups();
void paintEvent(QPaintEvent*);
int paintRollup(QWidget* rollup, int pos, QPainter* p, bool last, const QColor& frame);
void resizeEvent(QResizeEvent* size);
void mousePressEvent(QMouseEvent* event);
2013-09-25 19:53:47 +00:00
bool event(QEvent* event);
bool eventFilter(QObject* object, QEvent* event);
};
2013-09-23 19:55:02 +00:00
#endif // INCLUDE_ROLLUPWIDGET_H