18 #include "ginteractor.h" 20 class _Internal_QSpacer;
26 GSpacer(
double width,
double height, QWidget* parent =
nullptr);
37 string
getType()
const override;
45 _Internal_QSpacer* _iqspacer;
47 friend class _Internal_QSpacer;
55 class _Internal_QSpacer :
public QWidget,
public _Internal_QWidget {
59 _Internal_QSpacer(
GSpacer* gspacer,
double width,
double height, QWidget* parent =
nullptr);
60 QSize sizeHint()
const override;
string getType() const override
Returns a string representing the class name of this interactor, such as "GButton" or "GCheckBox"...
Definition: gspacer.cpp:33
GSpacer(double width, double height, QWidget* parent=nullptr)
Definition: gspacer.cpp:14
QWidget* getWidget() const override
Returns a direct pointer to the internal Qt widget being wrapped by this interactor.
Definition: gspacer.cpp:37
_Internal_QWidget* getInternalWidget() const override
Returns a direct pointer to the internal Qt widget being wrapped by this interactor.
Definition: gspacer.cpp:29
A GSpacer is just an empty blob of space that helps you pad layouts.
Definition: gspacer.h:24
This abstract class is the superclass for all graphical interactors.
Definition: ginteractor.h:48
~GSpacer() override
Frees memory allocated internally by the scroll pane.
Definition: gspacer.cpp:23