Rename tabformwidget to TabFormWidget.
Fix layout add bug.
This commit is contained in:
@@ -51,7 +51,7 @@ void AboutWidget::initUiWidget()
|
||||
pMainLayout->setAlignment(Qt::AlignLeft);
|
||||
pMainLayout->setSpacing(10);
|
||||
|
||||
pProductVerLayout = new QHBoxLayout(this);
|
||||
pProductVerLayout = new QHBoxLayout;
|
||||
pMainLayout->addLayout(pProductVerLayout);
|
||||
|
||||
pProductVer = new QLabel(this);
|
||||
|
||||
@@ -20,10 +20,9 @@
|
||||
AdminSettingForm::AdminSettingForm(QWidget* aParent, Qt::WindowFlags f)
|
||||
: TabFormWidget(aParent)
|
||||
{
|
||||
QHBoxLayout* layout = new QHBoxLayout(this);
|
||||
QHBoxLayout* layout = new QHBoxLayout(ui->contentWidget);
|
||||
layout->setMargin(0);
|
||||
layout->setContentsMargins(0, 8, 0, 1);
|
||||
ui->contentWidget->setLayout(layout);
|
||||
ui->contentWidget->setObjectName("settingContentWidget");
|
||||
QListWidget* widget = new QListWidget(this);
|
||||
widget->setFixedWidth(250);
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#ifndef ADMINSETTINGFORM_H
|
||||
#define ADMINSETTINGFORM_H
|
||||
|
||||
#include "forms/tabformwidget.h"
|
||||
#include "forms/TabFormWidget.h"
|
||||
|
||||
class AdminSettingForm :public TabFormWidget
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user