BPS C++ API
2.24.4
bpstoolbar.h
Go to the documentation of this file.
1
4
#ifndef BPSTOOLBAR_H
5
#define BPSTOOLBAR_H
6
7
#include "
bpsgui_global.h
"
8
#include <QToolBar>
9
15
class
BPSGUI_EXPORT
BpsToolBar
:
public
QToolBar
16
{
17
Q_OBJECT
18
19
public
:
24
explicit
BpsToolBar
(
const
QString
& aTitle,
QWidget
* aParent=0);
25
29
explicit
BpsToolBar
(
QWidget
* aParent=0);
30
39
void
addStretch
(
int
aStretch = 0);
40
49
void
addSpacing
(
int
aSize);
50
};
51
52
#endif
// BPSTOOLBAR_H
53
bpsgui_global.h
Public include file for BPS GUI library macros.
BPSGUI_EXPORT
#define BPSGUI_EXPORT
Declare class an import from the shared library.
Definition:
bpsgui_global.h:22
BpsToolBar
A enhanced QToolBar.
Definition:
bpstoolbar.h:16
BpsToolBar::BpsToolBar
BpsToolBar(const QString &aTitle, QWidget *aParent=0)
BpsToolBar::addStretch
void addStretch(int aStretch=0)
Adds a stretchable widget with zero minimum size and the given horizontal or vertical stretch factor ...
BpsToolBar::addSpacing
void addSpacing(int aSize)
Add a non-stretchable spacing widget of the given width or height respectively.
BpsToolBar::BpsToolBar
BpsToolBar(QWidget *aParent=0)
QString
QToolBar
QWidget
C:
dev
bps
src
libs
bpsgui
bpstoolbar.h
Generated by
1.9.1