KShare/screenareaselector/screenareaselector.hpp
ArsenArsen b064f795ff Add a size hint
Noone saw the typo. Right?
2017-05-31 22:30:18 +02:00

25 lines
488 B
C++

#ifndef SCREENAREASELECTOR_HPP
#define SCREENAREASELECTOR_HPP
#include <QLabel>
#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;
signals:
void selectedArea(QRect area);
private:
QLabel *hintLabel;
};
#endif // SCREENAREASELECTOR_HPP