#ifndef WIDGET_H #define WIDGET_H #include #include class QPushButton; class QxtGlobalShortcut; class Widget : public QWidget { Q_OBJECT public: explicit Widget(QWidget *parent = 0); protected slots: void onScreenshot(); private: std::shared_ptr openScreenshotButton_; std::shared_ptr closeScreenshotButton_; }; #endif // WIDGET_H