swift
settingstextmessageinlinecomponent.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_COMPONENTS_SETTINGSTEXTMESSAGEINLINECOMPONENT_H
7 #define SWIFT_GUI_COMPONENTS_SETTINGSTEXTMESSAGEINLINECOMPONENT_H
8 
9 #include <QFrame>
10 #include <QScopedPointer>
11 
13 
14 namespace Ui
15 {
16  class CSettingsTextMessageInlineComponent;
17 }
18 namespace swift::gui::components
19 {
24  {
25  Q_OBJECT
26 
27  public:
29  explicit CSettingsTextMessageInlineComponent(QWidget *parent = nullptr);
30 
33 
34  private:
36  void settingsChanged();
37 
39  void changeSettings();
40 
42  void disableAllOverlayMessages();
43 
45  void resetOverlayMessages();
46 
47  QScopedPointer<Ui::CSettingsTextMessageInlineComponent> ui;
49  this, &CSettingsTextMessageInlineComponent::settingsChanged
50  };
51  };
52 } // namespace swift::gui::components
53 
54 #endif // SWIFT_GUI_COMPONENTS_SETTINGSTEXTMESSAGEINLINECOMPONENT_H
High level reusable GUI components.
Definition: aboutdialog.cpp:13