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:
John Toman
2009-05-26 00:45:05 +00:00
committed by virtuoussin13
commit 1cc6e9087e
59 changed files with 6563 additions and 0 deletions

40
src/layout_edit.h Normal file
View 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