swift
Loading...
Searching...
No Matches
dockwidgetinfobar.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (C) 2014 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_DOCKWIDGETINFOBAR_H
7#define SWIFT_GUI_DOCKWIDGETINFOBAR_H
8
9#include <QObject>
10
11#include "gui/dockwidget.h"
12#include "gui/swiftguiexport.h"
13
14class QMenu;
15
16namespace swift::gui
17{
22 {
24
25 public:
27 explicit CDockWidgetInfoBar(QWidget *parent = nullptr);
28
31
35
36 protected:
38 void addToContextMenu(QMenu *contextMenu) const override;
39
40 protected:
42 void onStyleSheetsChanged() override;
43 };
44} // namespace swift::gui
45
46#endif // SWIFT_GUI_DOCKWIDGETINFOBAR_H
CDockWidget(QWidget *parent=nullptr)
Constructor.
virtual void initialFloating()
Widget is initialized by being a floating window for a shot period.
void reloadStyleSheet()
Force an reload.
void onStyleSheetsChanged()
Style sheet has changed.
void initialFloating()
Widget is initialized by being a floating window for a shot period.
CDockWidgetInfoBar(QWidget *parent=nullptr)
Constructor.
GUI related classes.
Q_OBJECTQ_OBJECT
QObject * parent() const const
QWidget(QWidget *parent, Qt::WindowFlags f)
#define SWIFT_GUI_EXPORT
Export a class or function from the library.