finishing up repo migration
git-svn-id: svn://svn.code.sf.net/p/qjoypad/code/trunk@80 c05e91a0-76c8-4ec0-b377-ef19ce7cc080
This commit is contained in:
40
src/layout_edit.h
Normal file
40
src/layout_edit.h
Normal file
@ -0,0 +1,40 @@
|
||||
#ifndef LAYOUT_EDIT_H
|
||||
#define LAYOUT_EDIT_H
|
||||
|
||||
#include <QStackedWidget>
|
||||
|
||||
//for the tab list of joypads
|
||||
#include "flash.h"
|
||||
//this is a front end for the non-GUI LayoutManager
|
||||
class LayoutEdit;
|
||||
#include "layout.h"
|
||||
//so we can see the available devices
|
||||
#include "device.h"
|
||||
//so we can use the LayoutEditer to edit key layouts :)
|
||||
#include "joypadw.h"
|
||||
|
||||
class LayoutManager;
|
||||
|
||||
class LayoutEdit : public QDialog {
|
||||
public:
|
||||
LayoutEdit( LayoutManager* l );
|
||||
//swap to a new layout
|
||||
void setLayout(QString layout);
|
||||
//update the list of available layouts
|
||||
void updateLayoutList();
|
||||
protected:
|
||||
//the layout manager this represents
|
||||
LayoutManager* lm;
|
||||
|
||||
//find out when the window is activated.
|
||||
virtual void windowActivationChange( bool oldActive );
|
||||
bool blockEvents;
|
||||
//parts of the dialog:
|
||||
QVBoxLayout *LMain;
|
||||
QStackedWidget *PadStack;
|
||||
FlashRadioArray *JoyButtons;
|
||||
QComboBox* CLayouts;
|
||||
QPushButton *BAdd, *BRem, *BUpd, *BRev;
|
||||
};
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user