now axis and buttons have their joypads as Qt parents, also if the configuration dialog is open but does not have window focus, joypad events are passed along as if the window is not open

git-svn-id: svn://svn.code.sf.net/p/qjoypad/code/trunk@119 c05e91a0-76c8-4ec0-b377-ef19ce7cc080
This commit is contained in:
John Toman
2009-11-22 22:06:28 +00:00
committed by virtuoussin13
parent 5bafd943f9
commit bdf4b21162
9 changed files with 23 additions and 8 deletions

View File

@ -16,6 +16,7 @@ class LayoutEdit;
class LayoutManager;
class LayoutEdit : public QWidget {
Q_OBJECT
public:
LayoutEdit( LayoutManager* l );
//swap to a new layout
@ -23,6 +24,8 @@ class LayoutEdit : public QWidget {
//update the list of available layouts
void updateLayoutList();
void updateJoypadWidgets();
signals:
void focusChange(bool);
protected:
//the layout manager this represents
LayoutManager* lm;