aboutsummaryrefslogtreecommitdiff
path: root/qmpchannelswindow.hpp
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2016-04-06 09:46:52 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2016-04-06 09:46:52 +0800
commitcf7eafca1fbc9aae495d7b7d7e1fb4bc92e6819f (patch)
treed1881d513983a345936a547cbc25b8bd1a1f056e /qmpchannelswindow.hpp
parentffd5bf0c99be3e4089886ab4757100474010edb8 (diff)
downloadQMidiPlayer-cf7eafca1fbc9aae495d7b7d7e1fb4bc92e6819f.tar.xz
Sometimes Naïve!
Diffstat (limited to 'qmpchannelswindow.hpp')
-rw-r--r--qmpchannelswindow.hpp71
1 files changed, 0 insertions, 71 deletions
diff --git a/qmpchannelswindow.hpp b/qmpchannelswindow.hpp
deleted file mode 100644
index f0591b6..0000000
--- a/qmpchannelswindow.hpp
+++ /dev/null
@@ -1,71 +0,0 @@
-#ifndef QMPCHANNELSWINDOW_H
-#define QMPCHANNELSWINDOW_H
-
-#include <QLabel>
-#include <QPushButton>
-#include <QDialog>
-#include <QShowEvent>
-#include <QCloseEvent>
-#include <QMoveEvent>
-#include "qmppresetselect.hpp"
-#include "qmpchanneleditor.hpp"
-
-namespace Ui {
- class qmpChannelsWindow;
-}
-
-class QDCLabel:public QLabel
-{
- Q_OBJECT
- private:
- int id;
- protected:
- void mouseDoubleClickEvent(QMouseEvent *event){event->accept();emit onDoubleClick(id);}
- public:
- QDCLabel(QString s):QLabel(s){id=-1;}
- void setID(int _id){id=_id;}
- signals:
- void onDoubleClick(int id);
-};
-
-class QDCPushButton:public QPushButton
-{
- Q_OBJECT
- private:
- int id;
- protected:
- void mousePressEvent(QMouseEvent *event){QPushButton::mousePressEvent(event);emit onClick(id);}
- public:
- QDCPushButton(QString s):QPushButton(s){id=-1;}
- void setID(int _id){id=_id;}
- signals:
- void onClick(int id);
-};
-
-class qmpChannelsWindow:public QDialog
-{
- Q_OBJECT
-
- public:
- explicit qmpChannelsWindow(QWidget *parent = 0);
- ~qmpChannelsWindow();
- void showEvent(QShowEvent *event);
- void closeEvent(QCloseEvent *event);
- void moveEvent(QMoveEvent *event);
- signals:
- void dialogClosing();
- public slots:
- void channelWindowsUpdate();
- void channelMSChanged();
- void showPresetWindow(int chid);
- void showChannelEditorWindow(int chid);
- void on_pbUnmute_clicked();
- void on_pbUnsolo_clicked();
-
- private:
- Ui::qmpChannelsWindow *ui;
- qmpPresetSelector *pselectw;
- qmpChannelEditor *ceditw;
-};
-
-#endif // QMPCHANNELSWINDOW_H