mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 21:10:04 +00:00
Refactor Qt types to avoid namespace conflict
This commit is contained in:
parent
78f57698f6
commit
e98bca9d5d
6 changed files with 12 additions and 13 deletions
|
|
@ -9,6 +9,7 @@
|
|||
#include <scwx/qt/map/map_widget.hpp>
|
||||
#include <scwx/qt/model/alert_model.hpp>
|
||||
#include <scwx/qt/model/radar_product_model.hpp>
|
||||
#include <scwx/qt/types/qt_types.hpp>
|
||||
#include <scwx/qt/ui/flow_layout.hpp>
|
||||
#include <scwx/qt/ui/level2_products_widget.hpp>
|
||||
#include <scwx/qt/ui/level2_settings_widget.hpp>
|
||||
|
|
@ -80,7 +81,7 @@ public:
|
|||
settings_.setCacheDatabaseMaximumSize(20 * 1024 * 1024);
|
||||
|
||||
alertProxyModel_->setSourceModel(alertModel_.get());
|
||||
alertProxyModel_->setSortRole(Qt::UserRole); // TODO
|
||||
alertProxyModel_->setSortRole(types::SortRole);
|
||||
alertProxyModel_->setFilterCaseSensitivity(Qt::CaseInsensitive);
|
||||
alertProxyModel_->setFilterKeyColumn(-1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue