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