Browse Source

v1.0.0

master
tianzhendong 10 months ago
commit
a0ceffcd90
  1. 7
      NumKeyBoard.pri
  2. 25
      NumKeyBoard.pro
  3. 66
      README.md
  4. 238
      numkeydia.cpp
  5. 61
      numkeydia.h
  6. 752
      numkeydia.ui

7
NumKeyBoard.pri

@ -0,0 +1,7 @@
INCLUDEPATH += $$PWD/
HEADERS += $$PWD/numkeydia.h
SOURCES += $$PWD/numkeydia.cpp
FORMS += $$PWD/numkeydia.ui

25
NumKeyBoard.pro

@ -0,0 +1,25 @@
QT += core gui widgets
TEMPLATE = lib
CONFIG += c++17
INCLUDEPATH += $$PWD/
DESTDIR = $$PWD/../../Build/Libs
MOC_DIR = $$PWD/Build/moc
OBJECTS_DIR = $$PWD/Build/objs
RCC_DIR = $$PWD/Build/resources
UI_DIR = $$PWD/Build/ui
HEADERS += $$PWD/numkeydia.h
SOURCES += $$PWD/numkeydia.cpp
FORMS += $$PWD/numkeydia.ui
# Default rules for deployment.
unix {
target.path = /usr/lib
}
!isEmpty(target.path): INSTALLS += target

66
README.md

@ -0,0 +1,66 @@
# 数字软键盘
## qmake作为pri使用
- 将文件夹复制到主工程Libs目录下
- 主工程pro文件中加入:
```qmake
include($$PWD/Libs/SoftNumKeyBoard/NumKeyBoard.pri)
```
- 主工程中重写eventFilter函数,实现点击lineedit时,调出小键盘
```cpp
protected:
virtual bool eventFilter(QObject * obj, QEvent *event) override;
```
```cpp
bool SettingWidget::eventFilter(QObject *obj, QEvent * event)
{
auto _obj = static_cast<QLineEdit *>(obj);
if(m_inputList.contains(_obj))
{
if(event->type() == QEvent::FocusIn)
{
if(!_keyBoard)
{
_keyBoard = new NumKeyDia(this);
}
//传入对应的QLineEdit
_keyBoard->setPLineEdit(_obj);
_keyBoard->exec();
//QLineEdit取消聚焦,可以不用
_obj->clearFocus();
return true;
}
}
return QObject::eventFilter(obj, event);
}
```
- 对应的控件安装事件过滤器
```cpp
m_inputList = this->findChildren<QLineEdit *>();
foreach (auto &i, m_inputList)
{
i->installEventFilter(this);
i->setFocusPolicy(Qt::ClickFocus);
}
```
- 控件设置属性
```cpp
//设置输入输出的最大值、最小值、名字和是否是数字
ui->lineEdit_energyA->setProperty("IsNum", true);
//double时,默认保留三位小数
ui->lineEdit_energyA->setProperty("IsDouble", true);
//输入的数不能超过最大值和最小值
ui->lineEdit_energyA->setProperty("Max", 1.000);
ui->lineEdit_energyA->setProperty("Min", 0.000);
ui->lineEdit_energyA->setProperty("Name", tr("PressureA"));
```

238
numkeydia.cpp

@ -0,0 +1,238 @@
#include "numkeydia.h"
#include "ui_numkeydia.h"
#include <QMouseEvent>
#include <QDebug>
#include <QMessageBox>
NumKeyDia::NumKeyDia(QWidget *parent) :
QDialog(parent),
ui(new Ui::NumKeyDia)
{
ui->setupUi(this);
this->setWindowFlag(Qt::FramelessWindowHint);
ui->lineEdit_input->setCursorPosition(Qt::StrongFocus);
auto _btnInputList = ui->widget_input->findChildren<QPushButton *>();
foreach (auto &i, _btnInputList)
{
connect(i, &QPushButton::clicked, this, &NumKeyDia::btn_input_clicked);
i->setFocusPolicy(Qt::NoFocus);
}
ui->toolButton_ico->installEventFilter(this);
ui->label_appInfo->installEventFilter(this);
}
NumKeyDia::~NumKeyDia()
{
delete ui;
}
bool NumKeyDia::eventFilter(QObject *, QEvent *event)
{
if(event->type() == QEvent::MouseButtonDblClick)
{
if(!m_bMaxFlag)
{
this->showFullScreen();
m_bMaxFlag = true;
}
else
{
this->showNormal();
m_bMaxFlag = false;
}
return true;
}
else if(event->type() == QEvent::MouseButtonPress)
{
QMouseEvent *mouseEvent = static_cast<QMouseEvent *>(event);
m_point = mouseEvent->globalPos() - frameGeometry().topLeft();
//鼠标位置减去左上角的左边
}
else if(event->type() == QEvent::MouseMove)
{
QMouseEvent *mouseEvent = static_cast<QMouseEvent *>(event);
move(mouseEvent->globalPos() - m_point);
}
return false;
}
QLineEdit *NumKeyDia::pLineEdit() const
{
return m_pLineEdit;
}
void NumKeyDia::setPLineEdit(QLineEdit *newPLineEdit)
{
m_pLineEdit = newPLineEdit;
QString _text = m_pLineEdit->text();
// int _cnt = _text.count();
// for(int i = 0; i < _cnt; ++i)
// {
// if(_text.at(0) != "1" && _text.at(0) != "2" && _text.at(0) != "3" && _text.at(0) != "4" &&
// _text.at(0) != "5" && _text.at(0) != "6" && _text.at(0) != "7" && _text.at(0) != "8" && _text.at(0) != "9")
// {
// _text.remove(0, 1);
// }
// }
ui->lineEdit_input->setFocus();
ui->lineEdit_input->setText(_text);
newPLineEdit->setEnabled(false);
m_firstInputFlag = true;
ui->label_3->setText(m_pLineEdit->property("Name").toString() + ": ");
//最大值和最小值显示
m_isNum = m_pLineEdit->property("IsNum").toBool();
if(!m_isNum)
{
ui->label_min->setText(tr("no limit"));
ui->label_max->setText(tr("no limit"));
return;
}
m_minValue = m_pLineEdit->property("Min").toDouble();
m_maxValue = m_pLineEdit->property("Max").toDouble();
m_isDouble = m_pLineEdit->property("IsDouble").toBool();
if(m_minValue == m_maxValue)
{
ui->label_min->setText(tr("no limit"));
ui->label_max->setText(tr("no limit"));
}
else
{
if(m_isDouble)
{
ui->label_max->setText(QString::number(m_maxValue, 10, 3));
ui->label_min->setText(QString::number(m_minValue, 10, 3));
}
else
{
ui->label_max->setText(QString::number(m_maxValue, 10, 0));
ui->label_min->setText(QString::number(m_minValue, 10, 0));
}
}
}
void NumKeyDia::on_btn_ok_clicked()
{
if(!m_pLineEdit)
return;
//如果输入为空,那么设为0
QString _res = ui->lineEdit_input->text();
if(_res == "")
_res = "0";
//不是数字,直接设置后返回
if(!m_isNum)
{
m_pLineEdit->setText(_res);
}
else
{
bool ok;
double _d = ui->lineEdit_input->text().toDouble(&ok);
if(!ok)
{
QMessageBox::critical(this, "error", "Input is not a number!\nPlease reInput");
return;
}
bool _isNotValid = false;
if(m_minValue < m_maxValue)
{
// _d = (_d < m_minValue) ? m_minValue : _d;
// _d = (_d > m_maxValue) ? m_maxValue : _d;
if(_d < m_minValue || _d > m_maxValue)
_isNotValid = true;
}
if(_isNotValid)
{
QMessageBox::critical(this, "error", "Input is not valid!\nPlease reInput");
return;
}
if(m_isDouble)
m_pLineEdit->setText(QString::number(_d, 10, 3));
else
m_pLineEdit->setText(QString::number(_d, 10, 0));
}
closeKeyBoard();
}
void NumKeyDia::on_btn_cancel_clicked()
{
//取消,关闭数字键盘
closeKeyBoard();
}
void NumKeyDia::on_btn_clear_clicked()
{
//清空
ui->lineEdit_input->clear();
ui->lineEdit_input->setFocus();
}
void NumKeyDia::on_btn_back_clicked()
{
m_firstInputFlag = false;
int _index = ui->lineEdit_input->cursorPosition();
QString _currentText = ui->lineEdit_input->text();
if(_currentText == "")
ui->lineEdit_input->setFocus();
//当前光标在最前面,不做任何处理
if(_index != 0)
{
//删除前一个字符
_currentText.remove(_index - 1, 1);
ui->lineEdit_input->setText(_currentText);
}
ui->lineEdit_input->setFocus();
ui->lineEdit_input->setCursorPosition(_index - 1);
}
void NumKeyDia::btn_input_clicked()
{
if(m_firstInputFlag)
{
ui->lineEdit_input->clear();
m_firstInputFlag = false;
}
auto _btnClicked = qobject_cast<QPushButton *>(sender());
QString _inputValue = _btnClicked->text();
int _index = ui->lineEdit_input->cursorPosition();
QString _currentText = ui->lineEdit_input->text();
_currentText.insert(_index, _inputValue);
ui->lineEdit_input->setText(_currentText);
}
void NumKeyDia::closeKeyBoard()
{
this->close();
m_pLineEdit->setEnabled(true);
}
void NumKeyDia::setMaxValue(double newMaxValue)
{
m_maxValue = newMaxValue;
}
void NumKeyDia::setMinValue(double newMinValue)
{
m_minValue = newMinValue;
}

61
numkeydia.h

@ -0,0 +1,61 @@
#ifndef NUMKEYDIA_H
#define NUMKEYDIA_H
#include <QtCore/qglobal.h>
#include <QDialog>
#include <QLineEdit>
namespace Ui
{
class NumKeyDia;
}
class Q_DECL_EXPORT NumKeyDia : public QDialog
{
Q_OBJECT
public:
explicit NumKeyDia(QWidget *parent = nullptr);
~NumKeyDia();
QLineEdit *pLineEdit() const;
void setPLineEdit(QLineEdit *newPLineEdit);
void setMinValue(double newMinValue);
void setMaxValue(double newMaxValue);
protected:
virtual bool eventFilter(QObject * obj, QEvent *event) override;
private slots:
void on_btn_ok_clicked();
void on_btn_cancel_clicked();
void on_btn_clear_clicked();
void on_btn_back_clicked();
void btn_input_clicked();
void closeKeyBoard();
private:
Ui::NumKeyDia *ui;
QLineEdit *m_pLineEdit = nullptr;
bool m_bMaxFlag = false;
QPoint m_point;
bool m_firstInputFlag = true;
double m_minValue = 0.000;
double m_maxValue = 0.000;
bool m_isNum = false;
bool m_isDouble = false;
};
#endif // NUMKEYDIA_H

752
numkeydia.ui

@ -0,0 +1,752 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>NumKeyDia</class>
<widget class="QDialog" name="NumKeyDia">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>532</width>
<height>422</height>
</rect>
</property>
<property name="windowTitle">
<string>Dialog</string>
</property>
<layout class="QGridLayout" name="gridLayout_4">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item row="0" column="2">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::MinimumExpanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>10</width>
<height>0</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="0">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::MinimumExpanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>10</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="1" rowspan="2" colspan="2">
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<property name="spacing">
<number>0</number>
</property>
<item>
<widget class="QToolButton" name="toolButton_ico">
<property name="enabled">
<bool>false</bool>
</property>
<property name="minimumSize">
<size>
<width>36</width>
<height>36</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>36</width>
<height>36</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">border-image: url(:/resources/140xfd.ico);</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_32">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>13</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="label_appInfo">
<property name="font">
<font>
<family>Times New Roman</family>
<pointsize>12</pointsize>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Numeric Keypad</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QLabel" name="label_3">
<property name="font">
<font>
<family>Times New Roman</family>
<pointsize>12</pointsize>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>CurrentInput:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_input">
<property name="minimumSize">
<size>
<width>0</width>
<height>40</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>40</height>
</size>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QLabel" name="label">
<property name="font">
<font>
<family>Times New Roman</family>
<pointsize>12</pointsize>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Minimum:</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_min">
<property name="font">
<font>
<family>Times New Roman</family>
<pointsize>12</pointsize>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>0.000</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="label_2">
<property name="font">
<font>
<family>Times New Roman</family>
<pointsize>12</pointsize>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Maximum:</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_max">
<property name="minimumSize">
<size>
<width>0</width>
<height>40</height>
</size>
</property>
<property name="font">
<font>
<family>Times New Roman</family>
<pointsize>12</pointsize>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>1.000</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QWidget" name="widget_3" native="true">
<layout class="QGridLayout" name="gridLayout_3">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<item row="0" column="0">
<widget class="QWidget" name="widget_input" native="true">
<layout class="QGridLayout" name="gridLayout">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item row="0" column="0">
<widget class="QPushButton" name="btn_1">
<property name="minimumSize">
<size>
<width>120</width>
<height>60</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>120</width>
<height>60</height>
</size>
</property>
<property name="font">
<font>
<family>Times New Roman</family>
<pointsize>12</pointsize>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>1</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QPushButton" name="btn_2">
<property name="minimumSize">
<size>
<width>120</width>
<height>60</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>120</width>
<height>60</height>
</size>
</property>
<property name="font">
<font>
<family>Times New Roman</family>
<pointsize>12</pointsize>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>2</string>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QPushButton" name="btn_3">
<property name="minimumSize">
<size>
<width>120</width>
<height>60</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>120</width>
<height>60</height>
</size>
</property>
<property name="font">
<font>
<family>Times New Roman</family>
<pointsize>12</pointsize>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>3</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QPushButton" name="btn_4">
<property name="minimumSize">
<size>
<width>120</width>
<height>60</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>120</width>
<height>60</height>
</size>
</property>
<property name="font">
<font>
<family>Times New Roman</family>
<pointsize>12</pointsize>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>4</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QPushButton" name="btn_5">
<property name="minimumSize">
<size>
<width>120</width>
<height>60</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>120</width>
<height>60</height>
</size>
</property>
<property name="font">
<font>
<family>Times New Roman</family>
<pointsize>12</pointsize>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>5</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QPushButton" name="btn_6">
<property name="minimumSize">
<size>
<width>120</width>
<height>60</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>120</width>
<height>60</height>
</size>
</property>
<property name="font">
<font>
<family>Times New Roman</family>
<pointsize>12</pointsize>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>6</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QPushButton" name="btn_7">
<property name="minimumSize">
<size>
<width>120</width>
<height>60</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>120</width>
<height>60</height>
</size>
</property>
<property name="font">
<font>
<family>Times New Roman</family>
<pointsize>12</pointsize>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>7</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QPushButton" name="btn_8">
<property name="minimumSize">
<size>
<width>120</width>
<height>60</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>120</width>
<height>60</height>
</size>
</property>
<property name="font">
<font>
<family>Times New Roman</family>
<pointsize>12</pointsize>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>8</string>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="QPushButton" name="btn_9">
<property name="minimumSize">
<size>
<width>120</width>
<height>60</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>120</width>
<height>60</height>
</size>
</property>
<property name="font">
<font>
<family>Times New Roman</family>
<pointsize>12</pointsize>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>9</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QPushButton" name="btn_sub">
<property name="minimumSize">
<size>
<width>120</width>
<height>60</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>120</width>
<height>60</height>
</size>
</property>
<property name="font">
<font>
<family>Times New Roman</family>
<pointsize>12</pointsize>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>-</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QPushButton" name="btn_0">
<property name="minimumSize">
<size>
<width>120</width>
<height>60</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>120</width>
<height>60</height>
</size>
</property>
<property name="font">
<font>
<family>Times New Roman</family>
<pointsize>12</pointsize>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>0</string>
</property>
</widget>
</item>
<item row="3" column="2">
<widget class="QPushButton" name="pushButton_dot">
<property name="minimumSize">
<size>
<width>120</width>
<height>60</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>120</width>
<height>60</height>
</size>
</property>
<property name="font">
<font>
<family>Times New Roman</family>
<pointsize>12</pointsize>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>.</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="0" column="1">
<widget class="QWidget" name="widget_2" native="true">
<layout class="QGridLayout" name="gridLayout_2">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item row="1" column="0">
<widget class="QPushButton" name="btn_back">
<property name="minimumSize">
<size>
<width>120</width>
<height>60</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>120</width>
<height>60</height>
</size>
</property>
<property name="font">
<font>
<family>Times New Roman</family>
<pointsize>12</pointsize>
<bold>true</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>&lt;&lt;</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QPushButton" name="btn_ok">
<property name="minimumSize">
<size>
<width>120</width>
<height>60</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>120</width>
<height>60</height>
</size>
</property>
<property name="font">
<font>
<family>Times New Roman</family>
<pointsize>12</pointsize>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Ok</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QPushButton" name="btn_clear">
<property name="minimumSize">
<size>
<width>120</width>
<height>60</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>120</width>
<height>60</height>
</size>
</property>
<property name="font">
<font>
<family>Times New Roman</family>
<pointsize>12</pointsize>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>C</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QPushButton" name="btn_cancel">
<property name="minimumSize">
<size>
<width>120</width>
<height>60</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>120</width>
<height>60</height>
</size>
</property>
<property name="font">
<font>
<family>Times New Roman</family>
<pointsize>12</pointsize>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Cancel</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</item>
<item row="2" column="3">
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::MinimumExpanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>10</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="3" column="1">
<spacer name="verticalSpacer_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::MinimumExpanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>10</width>
<height>10</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>
Loading…
Cancel
Save