diff --git a/src/blackgui/components/logcomponent.cpp b/src/blackgui/components/logcomponent.cpp index 0ae776283..fde3f35ad 100644 --- a/src/blackgui/components/logcomponent.cpp +++ b/src/blackgui/components/logcomponent.cpp @@ -98,6 +98,16 @@ namespace BlackGui 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() { ui->tep_StatusPageConsole->clear(); diff --git a/src/blackgui/components/logcomponent.h b/src/blackgui/components/logcomponent.h index 51c3a1e47..23bc1860f 100644 --- a/src/blackgui/components/logcomponent.h +++ b/src/blackgui/components/logcomponent.h @@ -80,6 +80,12 @@ namespace BlackGui //! \copydoc BlackGui::Components::CStatusMessagesDetail::setMaxLogMessages 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 void clear();