aboutsummaryrefslogtreecommitdiff
path: root/qmidiplayer-desktop/qmpinfowindow.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'qmidiplayer-desktop/qmpinfowindow.hpp')
-rw-r--r--qmidiplayer-desktop/qmpinfowindow.hpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/qmidiplayer-desktop/qmpinfowindow.hpp b/qmidiplayer-desktop/qmpinfowindow.hpp
index a76b46b..87ac2c0 100644
--- a/qmidiplayer-desktop/qmpinfowindow.hpp
+++ b/qmidiplayer-desktop/qmpinfowindow.hpp
@@ -6,6 +6,8 @@
#include <QMouseEvent>
#include <QApplication>
#include <QClipboard>
+#include <QCloseEvent>
+#include "../include/qmpcorepublic.hpp"
namespace Ui {
class qmpInfoWindow;
@@ -25,6 +27,17 @@ class QClickableLabel : public QLabel
}
};
+class qmpInfoWindow;
+class qmpInfoFunc:public qmpFuncBaseIntf
+{
+ private:
+ qmpInfoWindow *p;
+ public:
+ qmpInfoFunc(qmpInfoWindow *par);
+ void show();
+ void close();
+};
+
class qmpInfoWindow : public QDialog
{
Q_OBJECT
@@ -32,11 +45,13 @@ class qmpInfoWindow : public QDialog
public:
explicit qmpInfoWindow(QWidget *parent = 0);
~qmpInfoWindow();
+ void closeEvent(QCloseEvent *e);
public slots:
void updateInfo();
private:
Ui::qmpInfoWindow *ui;
+ qmpInfoFunc *infof;
};
#endif // QMPINFOWINDOW_HPP