mirror of
https://github.com/epasveer/seer.git
synced 2026-08-31 09:30:41 +08:00
30 lines
552 B
C++
30 lines
552 B
C++
#include "QHContainerWidget.h"
|
|
|
|
QHContainerWidget::QHContainerWidget (QWidget* parent) : QWidget(parent) {
|
|
|
|
// Construct the UI.
|
|
setupUi(this);
|
|
|
|
// Setup the widgets
|
|
// Connect things.
|
|
}
|
|
|
|
QHContainerWidget::~QHContainerWidget () {
|
|
}
|
|
|
|
void QHContainerWidget::setSpacing (int spacing) {
|
|
|
|
horizontalLayout->setSpacing(spacing);
|
|
}
|
|
|
|
void QHContainerWidget::addWidget (QWidget* widget) {
|
|
|
|
horizontalLayout->addWidget(widget);
|
|
}
|
|
|
|
void QHContainerWidget::removeWidget (QWidget* widget) {
|
|
|
|
horizontalLayout->removeWidget(widget);
|
|
}
|
|
|