Revision 1195216

Go back to digest for 14th November 2010

Features in Other

Jonathan Michael Thomas committed changes in /trunk/extragear/sysadmin/muon/installer:

Add a view switching mechanism. OriginView has been renamed to the more generic ViewSwitcher.
A hash of QModelIndexes and QWidget pointers is kept in the MainWindow, and when an item in the ViewSwitcher is clicked, if the QModelIndex has a QWidget associated with it, the main QStackedWidget switches to that view. If there is no widget, a new one is made based on the data in the view model. (View type, filter info)

Also fix some issues with filtering. It now actually works without crashing.

File Changes

Added 2 files
  • /trunk/extragear/sysadmin/muon/installer
  •   /ViewSwitcher.cpp
  •   /ViewSwitcher.h
Deleted 2 files
  • /trunk/extragear/sysadmin/muon/installer
  •   /OriginView.cpp
  •   /OriginView.h
Modified 10 files
  • /trunk/extragear/sysadmin/muon/installer
  •   /Application.cpp
  •   /ApplicationWindow.cpp
  •   /ApplicationWindow.h
  •   /CMakeLists.txt
  •   /ApplicationModel/ApplicationModel.cpp
  •   /ApplicationModel/ApplicationModel.h
  •   /ApplicationModel/ApplicationProxyModel.cpp
  •   /ApplicationModel/ApplicationProxyModel.h
  •   /ApplicationModel/ApplicationView.cpp
  •   /ApplicationModel/ApplicationView.h
14 files changed in total