swift
modelmatcherlogcomponent.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (C) 2016 swift Project Community / Contributors
2 // SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1
3 
5 
6 #ifndef SWIFT_GUI_COMPONENT_MODELMATCHERLOGCOMPONENT_H
7 #define SWIFT_GUI_COMPONENT_MODELMATCHERLOGCOMPONENT_H
8 
9 #include <QFrame>
10 #include <QTabWidget>
11 #include <QTextDocument>
12 #include <QTimer>
13 
14 namespace Ui
15 {
16  class CModelMatcherLogComponent;
17 }
18 namespace swift::gui::components
19 {
23  class CModelMatcherLogComponent : public QFrame
24  {
25  Q_OBJECT
26 
27  public:
29  explicit CModelMatcherLogComponent(QWidget *parent = nullptr);
30 
32  virtual ~CModelMatcherLogComponent() override;
33 
34  private:
35  QScopedPointer<Ui::CModelMatcherLogComponent> ui;
36  QTextDocument m_text { this };
37 
39  bool hasContexts() const;
40 
42  bool enabledMessages() const;
43 
45  void callsignEntered();
46  };
47 } // namespace swift::gui::components
48 
49 #endif // SWIFT_GUI_COMPONENT_MODELMATCHERLOGCOMPONENT_H
Special logs for matching and reverse lookup.
CModelMatcherLogComponent(QWidget *parent=nullptr)
Constructor.
High level reusable GUI components.
Definition: aboutdialog.cpp:13