summaryrefslogtreecommitdiff
path: root/client/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'client/mainwindow.h')
-rw-r--r--client/mainwindow.h30
1 files changed, 9 insertions, 21 deletions
diff --git a/client/mainwindow.h b/client/mainwindow.h
index 762b7f3..742351d 100644
--- a/client/mainwindow.h
+++ b/client/mainwindow.h
@@ -35,25 +35,6 @@
#include "decoder.h"
-/**
- * Images
- */
-#define PIXMAP_MUTE PIXMAPS"/mute"
-#define PIXMAP_UNMUTE PIXMAPS"/unmute"
-
-#define PIXMAP_RECORD PIXMAPS"/record"
-#define PIXMAP_STOP PIXMAPS"/stop"
-
-#define PIXMAP_FREEZE PIXMAPS"/freeze"
-#define PIXMAP_UNFREEZE PIXMAPS"/unfreeze"
-
-#define PIXMAP_CPR PIXMAPS"/cpr"
-#define PIXMAP_CLEAR PIXMAPS"/clear"
-
-#define PIXMAP_SNAPSHOT PIXMAPS"/snapshot"
-#define PIXMAP_DUMMY PIXMAPS"/dummy"
-#define PIXMAP_LOGO_SMALL PIXMAPS"/miav-logo"
-
class MainWindow : public QWidget
{
Q_OBJECT
@@ -78,8 +59,15 @@ private:
HistoryFrame *history;
VideoWidget *video;
- QPushButton *createButton(char* icon);
- QPixmap loadIcon(char* fname);
+ QPushButton *createButton(QPixmap *pixmap);
+
+ // Buttons
+ QPushButton *btn_cpr;
+ QPushButton *btn_record;
+ QPushButton *btn_snapshot;
+ QPushButton *btn_freeze;
+ QPushButton *btn_mute;
+ QPushButton *btn_clear;
};
#endif/*__MIAV_MAINWINDOW_H__*/