swift
Loading...
Searching...
No Matches
showhidebar.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (C) 2013 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_SHOWHIDEBAR_H
7#define SWIFT_GUI_SHOWHIDEBAR_H
8
9#include <QFrame>
10#include <QObject>
11#include <QScopedPointer>
12
13#include "gui/swiftguiexport.h"
14
15namespace Ui
16{
17 class CShowHideBar;
18}
19namespace swift::gui
20{
23 {
25
26 public:
28 explicit CShowHideBar(QWidget *parent = nullptr);
29
31 ~CShowHideBar() override;
32
34 bool isShown() const;
35
36 signals:
38 void toggleShowHide(bool show);
39
40 private:
42 };
43
44} // namespace swift::gui
45#endif // SWIFT_GUI_SHOWHIDEBAR_H
~CShowHideBar()
Destructor.
void toggleShowHide(bool show)
Show or hide cockpit details.
bool isShown() const
Is shown?
CShowHideBar(QWidget *parent=nullptr)
Constructor.
GUI related classes.
QFrame(QWidget *parent, Qt::WindowFlags f)
Q_OBJECTQ_OBJECT
QObject * parent() const const
QWidget(QWidget *parent, Qt::WindowFlags f)
void show()
#define SWIFT_GUI_EXPORT
Export a class or function from the library.