Revision 0b8fc5ec
Added by skyjake over 10 years ago
Files
- added
- modified
- copied
- renamed
- deleted
- doomsday
- client
- client.pro (diff)
- include
- ui
- dialogs
- widgets
- gameselectionwidget.h (diff)
- gamesessionwidget.h (diff)
- mpselectionwidget.h
- mpsessionmenuwidget.h
- savedsessionmenuwidget.h
- savegameselectionwidget.h
- sessionmenuwidget.h
- singleplayersessionmenuwidget.h
- ui
- src
- ui
- clientwindow.cpp (diff)
- dialogs
- widgets
- gameselectionwidget.cpp (diff)
- mpselectionwidget.cpp
- mpsessionmenuwidget.cpp
- savedsessionmenuwidget.cpp
- savegameselectionwidget.cpp
- sessionmenuwidget.cpp
- singleplayersessionmenuwidget.cpp
- ui
- client
Refactor|UI|Client: Fixed game session menu issues
Architecture of the session selection menus was refactored to use
a common base class called SessionMenuWidget. Also, GameSelectionWidget
and ManualConnectionDialog can be configured to only send a signal
when the user selects a session. This way, if they are used inside
a dialog, the dialog can be closed before the action is carried out.
Sorting now affects all the session menus, and GamesDialog will close
before switching games or connecting.
GameSelectionWidget was trimmed down to only have responsibility
of the folding panels.