mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-30 22:29:13 +08:00
Ref T529, log component allows to set sort order or no order
This commit is contained in:
committed by
Mat Sutcliffe
parent
3aee73840d
commit
e1fccf17d8
@@ -98,6 +98,16 @@ namespace BlackGui
|
|||||||
ui->comp_StatusMessages->setMaxLogMessages(max);
|
ui->comp_StatusMessages->setMaxLogMessages(max);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void CLogComponent::setNoSorting()
|
||||||
|
{
|
||||||
|
ui->comp_StatusMessages->setNoSorting();
|
||||||
|
}
|
||||||
|
|
||||||
|
void CLogComponent::setSorting(const CPropertyIndex &propertyIndex, Qt::SortOrder order)
|
||||||
|
{
|
||||||
|
ui->comp_StatusMessages->setSorting(propertyIndex, order);
|
||||||
|
}
|
||||||
|
|
||||||
void CLogComponent::clear()
|
void CLogComponent::clear()
|
||||||
{
|
{
|
||||||
ui->tep_StatusPageConsole->clear();
|
ui->tep_StatusPageConsole->clear();
|
||||||
|
|||||||
@@ -80,6 +80,12 @@ namespace BlackGui
|
|||||||
//! \copydoc BlackGui::Components::CStatusMessagesDetail::setMaxLogMessages
|
//! \copydoc BlackGui::Components::CStatusMessagesDetail::setMaxLogMessages
|
||||||
void setMaxLogMessages(int max);
|
void setMaxLogMessages(int max);
|
||||||
|
|
||||||
|
//! \copydoc BlackGui::Components::CStatusMessagesDetail::setNoSorting
|
||||||
|
void setNoSorting();
|
||||||
|
|
||||||
|
//! \copydoc BlackGui::Components::CStatusMessagesDetail::setSorting
|
||||||
|
void setSorting(const BlackMisc::CPropertyIndex &propertyIndex, Qt::SortOrder order);
|
||||||
|
|
||||||
//! Clear
|
//! Clear
|
||||||
void clear();
|
void clear();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user