KShare/screenareaselector/screenareaselector.hpp

25 lines
488 B
C++
Raw Normal View History

2017-05-31 17:24:17 +02:00
#ifndef SCREENAREASELECTOR_HPP
#define SCREENAREASELECTOR_HPP
#include <QLabel>
2017-05-31 17:24:17 +02:00
#include <QWidget>
class ScreenAreaSelector : public QWidget {
Q_OBJECT
public:
ScreenAreaSelector();
~ScreenAreaSelector();
protected:
void closeEvent(QCloseEvent *event) override;
void keyPressEvent(QKeyEvent *) override;
void resizeEvent(QResizeEvent *) override;
2017-05-31 17:24:17 +02:00
signals:
void selectedArea(QRect area);
private:
QLabel *hintLabel;
2017-05-31 17:24:17 +02:00
};
#endif // SCREENAREASELECTOR_HPP