Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions libqf/libqfqmlwidgets/src/framework/logwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,11 @@ QAbstractButton *LogWidget::clearButton()
return ui->btClearLog;
}

QHBoxLayout *LogWidget::horizontalLayout()
{
return ui->horizontalLayout;
}

void LogWidget::filterStringChanged(const QString &filter_string)
{
m_filterModel->setFilterString(filter_string);
Expand Down
2 changes: 2 additions & 0 deletions libqf/libqfqmlwidgets/src/framework/logwidget.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include <QTableView>

class QAbstractButton;
class QHBoxLayout;

namespace qf {
namespace core {
Expand Down Expand Up @@ -82,6 +83,7 @@ class QFQMLWIDGETS_DECL_EXPORT LogWidget : public qf::qmlwidgets::framework::Doc
protected:
qf::core::model::LogTableModel* m_logTableModel = nullptr;
LogFilterProxyModel* m_filterModel = nullptr;
QHBoxLayout *horizontalLayout();
private:
Ui::LogWidget *ui;
bool m_logCategoriesRegistered = false;
Expand Down