now uses the Qt native code for tray icons, the tray menu no longer hangs when the dialog is open, dialog updates as appropriate when tray is manipulated when the dialog is open, added in code for updating the dialog widgets when the backend changes

git-svn-id: svn://svn.code.sf.net/p/qjoypad/code/trunk@112 c05e91a0-76c8-4ec0-b377-ef19ce7cc080
This commit is contained in:
John Toman
2009-08-23 20:45:58 +00:00
committed by virtuoussin13
parent ea2be3b29b
commit 12cd906a46
5 changed files with 82 additions and 19 deletions

View File

@ -15,17 +15,18 @@ class LayoutEdit;
class LayoutManager;
class LayoutEdit : public QDialog {
class LayoutEdit : public QWidget {
public:
LayoutEdit( LayoutManager* l );
//swap to a new layout
void setLayout(QString layout);
//update the list of available layouts
void updateLayoutList();
void updateJoypadWidgets();
protected:
//the layout manager this represents
LayoutManager* lm;
virtual void closeEvent(QCloseEvent *event);
//find out when the window is activated.
virtual void windowActivationChange( bool oldActive );
//parts of the dialog: