diff options
author | deva <deva> | 2006-05-04 14:19:37 +0000 |
---|---|---|
committer | deva <deva> | 2006-05-04 14:19:37 +0000 |
commit | 60c43b0a065175a49ae0aa2b10280e893479889b (patch) | |
tree | ed007e88dbc34d03b016f19a164bc0126af6f76a /client/mainwindow.h | |
parent | d5da69b6ed984df4c60c3a7abfa8119db34eab2b (diff) |
*** empty log message ***
Diffstat (limited to 'client/mainwindow.h')
-rw-r--r-- | client/mainwindow.h | 30 |
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__*/ |