Rename tabformwidget to TabFormWidget.
Fix layout add bug.
This commit is contained in:
26
src/forms/TabFormWidget.cpp
Normal file
26
src/forms/TabFormWidget.cpp
Normal file
@@ -0,0 +1,26 @@
|
||||
#include "TabFormWidget.h"
|
||||
#include "ui_tabformwidget.h"
|
||||
#include <QDateTime>
|
||||
|
||||
#if defined(_MSC_VER) && (_MSC_VER >= 1600)
|
||||
# pragma execution_character_set("utf-8")
|
||||
#endif
|
||||
|
||||
TabFormWidget::TabFormWidget(QWidget* parent) :
|
||||
QWidget(parent),
|
||||
ui(new Ui::TabFormWidget)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
}
|
||||
|
||||
TabFormWidget::~TabFormWidget()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
|
||||
void TabFormWidget::addVerticalLine(QHBoxLayout *layout) {
|
||||
auto spacerLine = new QWidget(this);
|
||||
spacerLine->setFixedWidth(2);
|
||||
spacerLine->setObjectName("verSpaceLine");
|
||||
layout->addWidget(spacerLine);
|
||||
}
|
||||
Reference in New Issue
Block a user