API Documentation
Toggle main menu visibility
Main Page
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Enumerator
a
c
d
e
f
g
i
j
k
l
m
n
o
r
s
u
v
Properties
Related Symbols
c
d
f
h
i
l
m
n
q
r
s
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
Functions
a
c
d
e
g
h
i
k
l
m
n
o
p
r
s
t
v
w
x
Typedefs
b
g
p
v
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Loading...
Searching...
No Matches
Toolbar.h
Go to the documentation of this file.
1
#pragma once
2
#include "
DLLInfo.h
"
3
#include <QWidget>
4
#include <QPointer>
5
class
QHBoxLayout;
6
namespace
NDEVR
7
{
8
/**--------------------------------------------------------------------------------------------------
9
\brief Class which displays progress and the current action being performed. Typically shown
10
at the bottom of a view, or at the top with the ribbon.
11
**/
12
class
NDEVR_WIDGETS_API
Toolbar
:
public
QWidget
13
{
14
public
:
15
Toolbar
(QWidget* parent =
nullptr
);
16
virtual
void
addWidget
(
const
QPointer<QWidget>& widget);
17
virtual
void
removeWidget
(
const
QPointer<QWidget>& widget);
18
virtual
void
clear
();
19
protected
:
20
QSize
minimumSizeHint
()
const override
;
21
QSize
sizeHint
()
const override
;
22
private
:
23
Buffer<QPointer<QWidget>
> m_custom_widgets;
24
QHBoxLayout* m_layout;
25
};
12
class
NDEVR_WIDGETS_API
Toolbar
:
public
QWidget {
…
};
26
}
DLLInfo.h
NDEVR_WIDGETS_API
#define NDEVR_WIDGETS_API
Definition
DLLInfo.h:59
NDEVR::Buffer
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition
Buffer.hpp:56
NDEVR::Toolbar
Class which displays progress and the current action being performed. Typically shown at the bottom o...
Definition
Toolbar.h:13
NDEVR::Toolbar::minimumSizeHint
QSize minimumSizeHint() const override
NDEVR::Toolbar::sizeHint
QSize sizeHint() const override
NDEVR::Toolbar::Toolbar
Toolbar(QWidget *parent=nullptr)
NDEVR::Toolbar::removeWidget
virtual void removeWidget(const QPointer< QWidget > &widget)
NDEVR::Toolbar::clear
virtual void clear()
NDEVR::Toolbar::addWidget
virtual void addWidget(const QPointer< QWidget > &widget)
NDEVR
Definition
ACIColor.h:37
Widgets
Headers
Toolbar.h