mirror of
https://github.com/epasveer/seer.git
synced 2026-08-30 00:50:42 +08:00
34 lines
653 B
C++
34 lines
653 B
C++
// SPDX-FileCopyrightText: 2021 Ernie Pasveer <epasveer@att.net>
|
|
//
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
#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);
|
|
}
|
|
|