git-svn-id: svn://svn.code.sf.net/p/qjoypad/code/trunk@95 c05e91a0-76c8-4ec0-b377-ef19ce7cc080
31 lines
493 B
C++
31 lines
493 B
C++
#ifndef BUTTON_EDIT_H
|
|
#define BUTTON_EDIT_H
|
|
|
|
#include <QPushButton>
|
|
#include <QCheckBox>
|
|
|
|
//we need to edit a Button
|
|
#include "button.h"
|
|
|
|
|
|
//to get a new key for the button.
|
|
#include "keycode.h"
|
|
|
|
class ButtonEdit : public QDialog {
|
|
Q_OBJECT
|
|
public:
|
|
ButtonEdit(Button* butt);
|
|
void show();
|
|
protected slots:
|
|
void accept();
|
|
protected:
|
|
Button *button;
|
|
KeyButton *BKKey;
|
|
QPushButton *BKey, *BMouse, *BOkay, *BCancel;
|
|
QPushButton **BMKey;
|
|
QCheckBox *CSticky, *CRapid;
|
|
};
|
|
|
|
|
|
#endif
|