mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 09:15:34 +08:00
As of workshop RW/KB, improved / fixed text messages
Also refs #351 * messages can be formatted with style sheet * fixed: removed command from message * added originator to command line * msg parsing now in core * using ITimestampBased for text messages and status messages * allow to resize rows to content (view base) * model / views for text messages * removed old qt stylesheets
This commit is contained in:
@@ -162,17 +162,21 @@ namespace BlackGui
|
||||
//! Object at row position
|
||||
virtual const ObjectType &at(const QModelIndex &index) const;
|
||||
|
||||
//! Sort by given sort order \sa getSortColumn() \sa getSortOrder()
|
||||
void sort();
|
||||
|
||||
//! \copydoc QAbstractItemModel::sort()
|
||||
virtual void sort(int column, Qt::SortOrder order) override;
|
||||
|
||||
/*!
|
||||
* Sort container by given column / order. This is used by sort() but als
|
||||
* for asynchronous updates in the views
|
||||
* \param container used list
|
||||
* \param column column inder
|
||||
* \param order sort order (ascending / descending)
|
||||
* \threadsafe under normal conditions thread safe as long as the column metadata are not changed
|
||||
*/
|
||||
//! Truncate to given number
|
||||
void truncate(int maxNumber, bool forceSort = false);
|
||||
|
||||
//! Sort container by given column / order. This is used by sort() but als
|
||||
//! for asynchronous updates in the views
|
||||
//! \param container used list
|
||||
//! \param column column inder
|
||||
//! \param order sort order (ascending / descending)
|
||||
//! \threadsafe under normal conditions thread safe as long as the column metadata are not changed
|
||||
ContainerType sortContainerByColumn(const ContainerType &container, int column, Qt::SortOrder order) const;
|
||||
|
||||
//! Similar to ContainerType::push_back
|
||||
|
||||
Reference in New Issue
Block a user