Scanframe Modular Application
0.1.0
Loading...
Searching...
No Matches
DockTitleBar.h
Go to the documentation of this file.
1
#pragma once
2
#include <QDockWidget>
3
#include <QHBoxLayout>
4
#include <QLabel>
5
#include <
misc/global.h
>
6
7
namespace
sf
8
{
9
15
class
_MISC_CLASS
DockTitleBar
:
public
QFrame
16
{
17
Q_OBJECT
18
19
public
:
23
explicit
DockTitleBar
(QDockWidget* parent);
24
28
~DockTitleBar
()
override
;
29
33
void
setTitle
(
const
QString& title);
34
38
QString
title
()
const
;
39
40
private
:
41
struct
Private;
42
Private* _p;
43
};
44
45
}
// namespace sf
sf::DockTitleBar
Custom title bar widget for a QDockWidget instance. Provides a title, dock/undock button,...
Definition
DockTitleBar.h:16
sf::DockTitleBar::setTitle
void setTitle(const QString &title)
Sets the title text.
sf::DockTitleBar::title
QString title() const
Gets the title.
sf::DockTitleBar::DockTitleBar
DockTitleBar(QDockWidget *parent)
Qt constructor.
sf::DockTitleBar::~DockTitleBar
~DockTitleBar() override
Overridden destructor.
global.h
_MISC_CLASS
#define _MISC_CLASS
Definition
misc/global.h:40
sf
Definition
Application.h:10
src
com
misc
qt
DockTitleBar.h
Generated by
1.9.8