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 
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 
Public include file for BPS GUI library macros.
#define BPSGUI_EXPORT
Declare class an import from the shared library.
Definition: bpsgui_global.h:22
A enhanced QToolBar.
Definition: bpstoolbar.h:16
BpsToolBar(const QString &aTitle, QWidget *aParent=0)
void addStretch(int aStretch=0)
Adds a stretchable widget with zero minimum size and the given horizontal or vertical stretch factor ...
void addSpacing(int aSize)
Add a non-stretchable spacing widget of the given width or height respectively.
BpsToolBar(QWidget *aParent=0)