mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-18 03:15:34 +08:00
Ref T529, allow to explicitly set no sort order in model/view
This commit is contained in:
committed by
Mat Sutcliffe
parent
14c3c51585
commit
3aee73840d
@@ -74,6 +74,9 @@ namespace BlackGui
|
||||
//! Set sort column
|
||||
virtual void setSortColumn(int column) { m_sortColumn = column; }
|
||||
|
||||
//! Disable sorting
|
||||
void setNoSorting() { this->setSortColumn(-1); }
|
||||
|
||||
//! Sort by index
|
||||
void sortByPropertyIndex(const BlackMisc::CPropertyIndex &propertyIndex, Qt::SortOrder order = Qt::AscendingOrder);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user