You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
405 B
28 lines
405 B
5 months ago
|
#ifndef WIDGET_H
|
||
|
#define WIDGET_H
|
||
|
|
||
|
#include <memory>
|
||
|
#include <QWidget>
|
||
|
|
||
|
class QPushButton;
|
||
|
class QxtGlobalShortcut;
|
||
|
class Widget : public QWidget
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
explicit Widget(QWidget *parent = 0);
|
||
|
|
||
|
protected slots:
|
||
|
|
||
|
void onScreenshot();
|
||
|
|
||
|
private:
|
||
|
|
||
|
std::shared_ptr<QPushButton> openScreenshotButton_;
|
||
|
std::shared_ptr<QPushButton> closeScreenshotButton_;
|
||
|
|
||
|
};
|
||
|
|
||
|
#endif // WIDGET_H
|