Revision dd99b1f...
Go back to digest for 3rd July 2011Other in User Interface
New filter storage structure / filter settings UI
- Move departureinfo.h/.cpp, filter.h/.cpp, filterwidget.h/.cpp and some parts of global.h/.cpp from the applet to libpublictransporthelper (because class FilterSettings gets now use in StopSettingsWidget/StopSettingsDialog, instead of only a QString with the name of the filter configuration)
- Ask for a name for new filter configurations
- Possible to choose multiple filter configurations per stop (AND combined)
- Remove "Enable Filters" setting, to disable filters, disable all filter configurations
- Connections between filters and stops get now stored with the filter settings (a list of stops affected by the filter, previously the name of the filter was stored with the stop settings)
- Filters get now stored in config groups named "filterConfig_X", not "filterConfig_[NAME]" (the names get now stored inside the filter config groups)
- New filter configuration UI with better space usage
- Fix alarm settings writing (the number of alarms was stored per applet, but alarm settings globally)
There may be some problems with the new filter system, needs some more testing.
File Changes
- applet/colorGroupConfig.ui
- libpublictransporthelper/departureinfo.cpp
- libpublictransporthelper/departureinfo.h
- libpublictransporthelper/filter.cpp
- libpublictransporthelper/filter.h
- libpublictransporthelper/filterwidget.cpp
- libpublictransporthelper/filterwidget.h
- applet/departureinfo.cpp
- applet/departureinfo.h
- applet/filter.cpp
- applet/filter.h
- applet/filterwidget.cpp
- applet/filterwidget.h
- applet/alarmConfig.ui
- applet/CHANGELOG
- applet/CMakeLists.txt
- applet/departuremodel.cpp
- applet/departuremodel.h
- applet/departurepainter.cpp
- applet/departureprocessor.cpp
- applet/departureprocessor.h
- applet/global.cpp
- applet/global.h
- applet/publictransport.cpp
- applet/publictransport.h
- applet/publicTransportFilterConfig.ui
- applet/routegraphicsitem.cpp
- applet/settings.cpp
- applet/settings.h
- applet/titlewidget.cpp
- libpublictransporthelper/CHANGELOG
- libpublictransporthelper/checkcombobox.cpp
- libpublictransporthelper/checkcombobox.h
- libpublictransporthelper/CMakeLists.txt
- libpublictransporthelper/enums.h
- libpublictransporthelper/global.cpp
- libpublictransporthelper/global.h
- libpublictransporthelper/stopsettings.cpp
- libpublictransporthelper/stopsettingsdialog.cpp
- libpublictransporthelper/stopsettingsdialog.h
- libpublictransporthelper/stopwidget.cpp
- libpublictransporthelper/stopwidget.h
- libpublictransporthelper/tests/PublicTransportHelperGuiTest.cpp
- libpublictransporthelper/tests/PublicTransportHelperGuiTest.h
- libpublictransporthelper/tests/PublicTransportHelperTest.cpp
- libpublictransporthelper/tests/PublicTransportHelperTest.h