提交 816a90fe 编写于 作者: 花狗Fdog's avatar 花狗Fdog

wu

上级 280f4086
......@@ -25,14 +25,17 @@ DEFINES += QT_DEPRECATED_WARNINGS
SOURCES += \
main.cpp \
mainwindow.cpp
mainwindow.cpp \
lenon.cpp
HEADERS += \
mainwindow.h \
jsoninfo.h
jsoninfo.h \
lenon.h
FORMS += \
mainwindow.ui
mainwindow.ui \
lenon.ui
RESOURCES += \
lib.qrc
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject>
<!-- Written by QtCreator 4.5.0, 2020-08-18T20:43:10. -->
<!-- Written by QtCreator 4.5.0, 2020-08-21T18:25:26. -->
<qtcreator>
<data>
<variable>EnvironmentId</variable>
......
此差异已折叠。
此差异已折叠。
文件已添加
无法预览此类型文件
/****************************************************************************
** Meta object code from reading C++ file 'lenon.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.10.0)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include "../lenon.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'lenon.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.10.0. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif
QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_Lenon_t {
QByteArrayData data[1];
char stringdata0[6];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
qptrdiff(offsetof(qt_meta_stringdata_Lenon_t, stringdata0) + ofs \
- idx * sizeof(QByteArrayData)) \
)
static const qt_meta_stringdata_Lenon_t qt_meta_stringdata_Lenon = {
{
QT_MOC_LITERAL(0, 0, 5) // "Lenon"
},
"Lenon"
};
#undef QT_MOC_LITERAL
static const uint qt_meta_data_Lenon[] = {
// content:
7, // revision
0, // classname
0, 0, // classinfo
0, 0, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
0, // signalCount
0 // eod
};
void Lenon::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
Q_UNUSED(_o);
Q_UNUSED(_id);
Q_UNUSED(_c);
Q_UNUSED(_a);
}
const QMetaObject Lenon::staticMetaObject = {
{ &QWidget::staticMetaObject, qt_meta_stringdata_Lenon.data,
qt_meta_data_Lenon, qt_static_metacall, nullptr, nullptr}
};
const QMetaObject *Lenon::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}
void *Lenon::qt_metacast(const char *_clname)
{
if (!_clname) return nullptr;
if (!strcmp(_clname, qt_meta_stringdata_Lenon.stringdata0))
return static_cast<void*>(this);
return QWidget::qt_metacast(_clname);
}
int Lenon::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QWidget::qt_metacall(_c, _id, _a);
return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
文件已添加
此差异已折叠。
无法预览此类型文件
......@@ -8,6 +8,9 @@ public:
QVector<QString> m_Album_name; //专辑
QVector<int> m_Duration; //时间
QVector<QString> m_Hash; //hash
QVector<QString> m_Album_id; //album_id
QVector<QString> m_Album_id; //album_id
};
#endif // JSONINFO_H
#include "lenon.h"
#include "ui_lenon.h"
Lenon::Lenon(QWidget *parent) :
QWidget(parent),
ui(new Ui::Lenon)
{
ui->setupUi(this);
this->setWindowFlags(Qt::FramelessWindowHint);
this->setAttribute(Qt::WA_TranslucentBackground);
}
Lenon::~Lenon()
{
delete ui;
}
#ifndef LENON_H
#define LENON_H
#include <QWidget>
namespace Ui {
class Lenon;
}
class Lenon : public QWidget
{
Q_OBJECT
public:
explicit Lenon(QWidget *parent = 0);
~Lenon();
private:
Ui::Lenon *ui;
};
#endif // LENON_H
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Lenon</class>
<widget class="QWidget" name="Lenon">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>341</width>
<height>100</height>
</rect>
</property>
<property name="windowTitle">
<string>旭听音乐</string>
</property>
<property name="windowIcon">
<iconset resource="lib.qrc">
<normaloff>:/lib/yinyue.png</normaloff>:/lib/yinyue.png</iconset>
</property>
<property name="styleSheet">
<string notr="true">
#Lenon{
background:rgba(0,255,255,0.4);
}</string>
</property>
<widget class="QFrame" name="frame">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>341</width>
<height>101</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">#frame
{
border-radius:10px;
border-width:4px;
border-style:solid ;
border-image: url(:/lib2/870.JPG);
}</string>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<widget class="QLabel" name="label">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>321</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>13</pointsize>
</font>
</property>
<property name="text">
<string>一曲相思-阿悠悠</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
<widget class="QSlider" name="horizontalSlider">
<property name="geometry">
<rect>
<x>10</x>
<y>44</y>
<width>321</width>
<height>11</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">QSlider::groove:horizontal {
border: 1px solid #4A708B;
background: #C0C0C0;
height: 5px;
border-radius: 1px;
padding-left:-1px;
padding-right:-1px;
}
QSlider::sub-page:horizontal {
background: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 #B1B1B1, stop:1 #c4c4c4);
background: qlineargradient(x1: 0, y1: 0.2, x2: 1, y2: 1,
stop: 0 #5DCCFF, stop: 1 #1874CD);
border: 1px solid #4A708B;
height: 10px;
border-radius: 2px;
}
QSlider::add-page:horizontal {
background: #575757;
border: 0px solid #777;
height: 10px;
border-radius: 2px;
}
QSlider::handle:horizontal
{
background: qradialgradient(spread:pad, cx:0.5, cy:0.5, radius:0.5, fx:0.5, fy:0.5,
stop:0.6 #45ADED, stop:0.778409 rgba(255, 255, 255, 255));
width: 11px;
margin-top: -3px;
margin-bottom: -3px;
border-radius: 5px;
}
QSlider::handle:horizontal:hover {
background: qradialgradient(spread:pad, cx:0.5, cy:0.5, radius:0.5, fx:0.5, fy:0.5, stop:0.6 #2A8BDA,
stop:0.778409 rgba(255, 255, 255, 255));
width: 11px;
margin-top: -3px;
margin-bottom: -3px;
border-radius: 5px;
}
QSlider::sub-page:horizontal:disabled {
background: #00009C;
border-color: #999;
}
QSlider::add-page:horizontal:disabled {
background: #eee;
border-color: #999;
}
QSlider::handle:horizontal:disabled {
background: #eee;
border: 1px solid #aaa;
border-radius: 4px;
}</string>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
<widget class="QPushButton" name="pushButton">
<property name="geometry">
<rect>
<x>120</x>
<y>60</y>
<width>30</width>
<height>30</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">border-image: url(:/lib2/shangyiqu.png);</string>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QPushButton" name="pushButton_2">
<property name="geometry">
<rect>
<x>170</x>
<y>60</y>
<width>30</width>
<height>30</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">border-image: url(:/lib2/bofangzanting.png);</string>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QPushButton" name="pushButton_3">
<property name="geometry">
<rect>
<x>220</x>
<y>60</y>
<width>30</width>
<height>30</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">border-image: url(:/lib2/xiayiqu.png);</string>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QPushButton" name="pushButton_4">
<property name="geometry">
<rect>
<x>300</x>
<y>65</y>
<width>20</width>
<height>20</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">border-image: url(:/lib2/jijianmoshi.png);</string>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QPushButton" name="pushButton_5">
<property name="geometry">
<rect>
<x>30</x>
<y>65</y>
<width>20</width>
<height>20</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">border-image: url(:/lib2/suiji.png);</string>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QPushButton" name="pushButton_6">
<property name="geometry">
<rect>
<x>70</x>
<y>65</y>
<width>20</width>
<height>20</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">border-image: url(:/lib2/shengyin.png);</string>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QPushButton" name="pushButton_7">
<property name="geometry">
<rect>
<x>270</x>
<y>65</y>
<width>20</width>
<height>20</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">border-image: url(:/lib2/ci.png);</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</widget>
</widget>
<resources>
<include location="lib.qrc"/>
</resources>
<connections/>
</ui>
......@@ -52,5 +52,20 @@
<file>lib/danquxunhuan.png</file>
<file>lib/danqu.png</file>
<file>lib/suiji.png</file>
<file>lib/jijianmoshi.png</file>
<file>lib2/67.JPG</file>
<file>lib2/63.JPG</file>
<file>lib2/870.JPG</file>
<file>lib2/bofangzanting.png</file>
<file>lib2/shangyiqu.png</file>
<file>lib2/xiayiqu.png</file>
<file>lib2/zhanting.png</file>
<file>lib2/jijianmoshi.png</file>
<file>lib2/danqu.png</file>
<file>lib2/danquxunhuan.png</file>
<file>lib2/jingyin.png</file>
<file>lib2/shengyin.png</file>
<file>lib2/suiji.png</file>
<file>lib2/ci.png</file>
</qresource>
</RCC>
lib/su.png

4.4 KB | W: | H:

lib/su.png

6.6 KB | W: | H:

lib/su.png
lib/su.png
lib/su.png
lib/su.png
  • 2-up
  • Swipe
  • Onion skin
#include "mainwindow.h"
#include "mainwindow.h"
#include <QApplication>
#include"lenon.h"
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
MainWindow w;
Lenon L;
w.show();
return a.exec();
}
此差异已折叠。
......@@ -12,6 +12,7 @@
#include<QPushButton>
#include<QJsonObject>
#include"jsoninfo.h"
#include"lenon.h"
namespace Ui {
class MainWindow;
}
......@@ -59,7 +60,8 @@ private:
bool m_IsVolume = false; //判断音量状态
bool m_IsLyricsShow = false; //判断歌词显示状态
int m_IsMode=0; //判断播放模式0单曲1循环2单曲循环3随机播放
Lenon J; //极简
int IsExecute = 1;
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
......@@ -106,6 +108,7 @@ private slots:
void on_tableWidget_cellDoubleClicked(int row, int column);//双击搜索列表歌曲
private:
Ui::MainWindow *ui;
};
......
......@@ -14,7 +14,7 @@
<string>旭听音乐</string>
</property>
<property name="windowIcon">
<iconset resource="lib.qrc">
<iconset>
<normaloff>:/lib/yinyue.png</normaloff>:/lib/yinyue.png</iconset>
</property>
<property name="styleSheet">
......@@ -378,7 +378,7 @@ QSlider::handle:horizontal:disabled {
}</string>
</property>
<property name="value">
<number>63</number>
<number>50</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
......@@ -466,7 +466,7 @@ QSlider::handle:horizontal:disabled {
</size>
</property>
<property name="styleSheet">
<string notr="true">border-image: url(:/lib/1zantingtingzhi.png);</string>
<string notr="true">border-image: url(:/lib/1bofang.png);</string>
</property>
<property name="text">
<string/>
......@@ -666,7 +666,7 @@ color: rgb(255, 255, 255);</string>
<widget class="QLabel" name="label_7">
<property name="geometry">
<rect>
<x>1037</x>
<x>1020</x>
<y>660</y>
<width>25</width>
<height>25</height>
......@@ -781,9 +781,9 @@ border-image: url(:/lib/love2.png);</string>
<widget class="QSlider" name="verticalSlider">
<property name="geometry">
<rect>
<x>1070</x>
<x>1055</x>
<y>620</y>
<width>21</width>
<width>16</width>
<height>71</height>
</rect>
</property>
......@@ -951,7 +951,7 @@ background-color: rgba(232, 232, 232, 100);
<string>歌单</string>
</property>
<property name="icon">
<iconset resource="lib.qrc">
<iconset>
<normaloff>:/lib/gedan_1.png</normaloff>:/lib/gedan_1.png</iconset>
</property>
</widget>
......@@ -989,7 +989,7 @@ background-color: rgba(232, 232, 232, 100);
<string>排行榜</string>
</property>
<property name="icon">
<iconset resource="lib.qrc">
<iconset>
<normaloff>:/lib/paihangbang.png</normaloff>:/lib/paihangbang.png</iconset>
</property>
</widget>
......@@ -1027,7 +1027,7 @@ background-color: rgba(232, 232, 232, 100);
<string>试听列表</string>
</property>
<property name="icon">
<iconset resource="lib.qrc">
<iconset>
<normaloff>:/lib/gedan.png</normaloff>:/lib/gedan.png</iconset>
</property>
</widget>
......@@ -1065,7 +1065,7 @@ background-color: rgba(232, 232, 232, 100);
<string>我的收藏</string>
</property>
<property name="icon">
<iconset resource="lib.qrc">
<iconset>
<normaloff>:/lib/love.png</normaloff>:/lib/love.png</iconset>
</property>
</widget>
......@@ -1103,7 +1103,7 @@ background-color: rgba(232, 232, 232, 100);
<string>本地音乐</string>
</property>
<property name="icon">
<iconset resource="lib.qrc">
<iconset>
<normaloff>:/lib/bendi.png</normaloff>:/lib/bendi.png</iconset>
</property>
<property name="iconSize">
......@@ -1147,7 +1147,7 @@ background-color: rgba(232, 232, 232, 100);
<string>下载管理</string>
</property>
<property name="icon">
<iconset resource="lib.qrc">
<iconset>
<normaloff>:/lib/xiazai.png</normaloff>:/lib/xiazai.png</iconset>
</property>
</widget>
......@@ -1185,7 +1185,7 @@ background-color: rgba(232, 232, 232, 100);
<string>设置</string>
</property>
<property name="icon">
<iconset resource="lib.qrc">
<iconset>
<normaloff>:/lib/shezhi.png</normaloff>:/lib/shezhi.png</iconset>
</property>
</widget>
......@@ -1223,7 +1223,7 @@ background-color: rgba(232, 232, 232, 100);
<string>添加音频</string>
</property>
<property name="icon">
<iconset resource="lib.qrc">
<iconset>
<normaloff>:/lib/add.png</normaloff>:/lib/add.png</iconset>
</property>
</widget>
......@@ -1261,7 +1261,7 @@ background-color: rgba(232, 232, 232, 100);
<string>历史播放</string>
</property>
<property name="icon">
<iconset resource="lib.qrc">
<iconset>
<normaloff>:/lib/lishijilu.png</normaloff>:/lib/lishijilu.png</iconset>
</property>
<property name="iconSize">
......@@ -1755,9 +1755,12 @@ border-left-width:0;
<x>70</x>
<y>50</y>
<width>781</width>
<height>171</height>
<height>61</height>
</rect>
</property>
<property name="text">
<string>排行榜</string>
</property>
</widget>
<widget class="QListWidget" name="listWidget">
<property name="geometry">
......@@ -1842,10 +1845,10 @@ border: 1px solid #999999;</string>
<widget class="QPlainTextEdit" name="plainTextEdit">
<property name="geometry">
<rect>
<x>480</x>
<y>240</y>
<width>151</width>
<height>20</height>
<x>60</x>
<y>129</y>
<width>571</width>
<height>131</height>
</rect>
</property>
<property name="styleSheet">
......@@ -1857,7 +1860,37 @@ border: 1px solid #999999;</string>
</widget>
</widget>
<widget class="QWidget" name="page_5"/>
<widget class="QWidget" name="page_6"/>
<widget class="QWidget" name="page_6">
<widget class="QTableWidget" name="tableWidget_2">
<property name="geometry">
<rect>
<x>0</x>
<y>20</y>
<width>921</width>
<height>551</height>
</rect>
</property>
<attribute name="horizontalHeaderStretchLastSection">
<bool>true</bool>
</attribute>
</widget>
<widget class="QLabel" name="label_30">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>922</width>
<height>25</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(85, 170, 255);</string>
</property>
<property name="text">
<string> 歌曲 歌手 专辑 操作 时长 播放次数</string>
</property>
</widget>
</widget>
<widget class="QWidget" name="page_7"/>
<widget class="QWidget" name="page_8"/>
<widget class="QWidget" name="page_9"/>
......@@ -1905,6 +1938,22 @@ background-color: rgba(225, 225, 225, 10);
<string/>
</property>
</widget>
<widget class="QPushButton" name="pushButton_8">
<property name="geometry">
<rect>
<x>960</x>
<y>660</y>
<width>25</width>
<height>25</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">border-image: url(:/lib/jijianmoshi.png);</string>
</property>
<property name="text">
<string/>
</property>
</widget>
<zorder>label_3</zorder>
<zorder>label_16</zorder>
<zorder>frame_4</zorder>
......@@ -1937,12 +1986,11 @@ background-color: rgba(225, 225, 225, 10);
<zorder>label_15</zorder>
<zorder>stackedWidget</zorder>
<zorder>pushButton_17</zorder>
<zorder>pushButton_8</zorder>
</widget>
</widget>
<layoutdefault spacing="6" margin="11"/>
<resources>
<include location="lib.qrc"/>
</resources>
<resources/>
<connections>
<connection>
<sender>toolButton_4</sender>
......
/********************************************************************************
** Form generated from reading UI file 'lenon.ui'
**
** Created by: Qt User Interface Compiler version 5.10.0
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/
#ifndef UI_LENON_H
#define UI_LENON_H
#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QFrame>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSlider>
#include <QtWidgets/QWidget>
QT_BEGIN_NAMESPACE
class Ui_Lenon
{
public:
QFrame *frame;
QLabel *label;
QSlider *horizontalSlider;
QPushButton *pushButton;
QPushButton *pushButton_2;
QPushButton *pushButton_3;
QPushButton *pushButton_4;
QPushButton *pushButton_5;
QPushButton *pushButton_6;
QPushButton *pushButton_7;
void setupUi(QWidget *Lenon)
{
if (Lenon->objectName().isEmpty())
Lenon->setObjectName(QStringLiteral("Lenon"));
Lenon->resize(341, 100);
QIcon icon;
icon.addFile(QStringLiteral(":/lib/yinyue.png"), QSize(), QIcon::Normal, QIcon::Off);
Lenon->setWindowIcon(icon);
Lenon->setStyleSheet(QLatin1String("\n"
"#Lenon{\n"
"background:rgba(0,255,255,0.4);\n"
"}"));
frame = new QFrame(Lenon);
frame->setObjectName(QStringLiteral("frame"));
frame->setGeometry(QRect(0, 0, 341, 101));
frame->setStyleSheet(QLatin1String("#frame\n"
"{\n"
"border-radius:10px;\n"
"border-width:4px;\n"
"border-style:solid ;\n"
"border-image: url(:/lib2/870.JPG);\n"
"}"));
frame->setFrameShape(QFrame::StyledPanel);
frame->setFrameShadow(QFrame::Raised);
label = new QLabel(frame);
label->setObjectName(QStringLiteral("label"));
label->setGeometry(QRect(10, 10, 321, 31));
QFont font;
font.setPointSize(13);
label->setFont(font);
label->setAlignment(Qt::AlignCenter);
horizontalSlider = new QSlider(frame);
horizontalSlider->setObjectName(QStringLiteral("horizontalSlider"));
horizontalSlider->setGeometry(QRect(10, 44, 321, 11));
horizontalSlider->setStyleSheet(QLatin1String("QSlider::groove:horizontal {\n"
" border: 1px solid #4A708B;\n"
" background: #C0C0C0;\n"
" height: 5px;\n"
" border-radius: 1px;\n"
" padding-left:-1px;\n"
" padding-right:-1px;\n"
"}\n"
"\n"
"QSlider::sub-page:horizontal {\n"
" background: qlineargradient(x1:0, y1:0, x2:0, y2:1,\n"
" stop:0 #B1B1B1, stop:1 #c4c4c4);\n"
" background: qlineargradient(x1: 0, y1: 0.2, x2: 1, y2: 1,\n"
" stop: 0 #5DCCFF, stop: 1 #1874CD);\n"
" border: 1px solid #4A708B;\n"
" height: 10px;\n"
" border-radius: 2px;\n"
"}\n"
"\n"
"QSlider::add-page:horizontal {\n"
" background: #575757;\n"
" border: 0px solid #777;\n"
" height: 10px;\n"
" border-radius: 2px;\n"
"}\n"
"\n"
"QSlider::handle:horizontal\n"
"{\n"
" background: qradialgradient(spread:pad, cx:0.5, cy:0.5, radius:0.5, fx:0.5, fy:0.5,\n"
" stop:0.6 #45ADED, stop:0.778409 rgba(255, 255, 255, 255));\n"
"\n"
" width: 11px;\n"
" margin-top: -3px;\n"
" margin-bottom: -3px;\n"
" border-radius: 5px;\n"
""
"}\n"
"\n"
"QSlider::handle:horizontal:hover {\n"
" background: qradialgradient(spread:pad, cx:0.5, cy:0.5, radius:0.5, fx:0.5, fy:0.5, stop:0.6 #2A8BDA,\n"
" stop:0.778409 rgba(255, 255, 255, 255));\n"
"\n"
" width: 11px;\n"
" margin-top: -3px;\n"
" margin-bottom: -3px;\n"
" border-radius: 5px;\n"
"}\n"
"\n"
"QSlider::sub-page:horizontal:disabled {\n"
" background: #00009C;\n"
" border-color: #999;\n"
"}\n"
"\n"
"QSlider::add-page:horizontal:disabled {\n"
" background: #eee;\n"
" border-color: #999;\n"
"}\n"
"\n"
"QSlider::handle:horizontal:disabled {\n"
" background: #eee;\n"
" border: 1px solid #aaa;\n"
" border-radius: 4px;\n"
"}"));
horizontalSlider->setOrientation(Qt::Horizontal);
pushButton = new QPushButton(frame);
pushButton->setObjectName(QStringLiteral("pushButton"));
pushButton->setGeometry(QRect(120, 60, 30, 30));
pushButton->setStyleSheet(QStringLiteral("border-image: url(:/lib2/shangyiqu.png);"));
pushButton_2 = new QPushButton(frame);
pushButton_2->setObjectName(QStringLiteral("pushButton_2"));
pushButton_2->setGeometry(QRect(170, 60, 30, 30));
pushButton_2->setStyleSheet(QStringLiteral("border-image: url(:/lib2/bofangzanting.png);"));
pushButton_3 = new QPushButton(frame);
pushButton_3->setObjectName(QStringLiteral("pushButton_3"));
pushButton_3->setGeometry(QRect(220, 60, 30, 30));
pushButton_3->setStyleSheet(QStringLiteral("border-image: url(:/lib2/xiayiqu.png);"));
pushButton_4 = new QPushButton(frame);
pushButton_4->setObjectName(QStringLiteral("pushButton_4"));
pushButton_4->setGeometry(QRect(300, 65, 20, 20));
pushButton_4->setStyleSheet(QStringLiteral("border-image: url(:/lib2/jijianmoshi.png);"));
pushButton_5 = new QPushButton(frame);
pushButton_5->setObjectName(QStringLiteral("pushButton_5"));
pushButton_5->setGeometry(QRect(30, 65, 20, 20));
pushButton_5->setStyleSheet(QStringLiteral("border-image: url(:/lib2/suiji.png);"));
pushButton_6 = new QPushButton(frame);
pushButton_6->setObjectName(QStringLiteral("pushButton_6"));
pushButton_6->setGeometry(QRect(70, 65, 20, 20));
pushButton_6->setStyleSheet(QStringLiteral("border-image: url(:/lib2/shengyin.png);"));
pushButton_7 = new QPushButton(frame);
pushButton_7->setObjectName(QStringLiteral("pushButton_7"));
pushButton_7->setGeometry(QRect(270, 65, 20, 20));
pushButton_7->setStyleSheet(QStringLiteral("border-image: url(:/lib2/ci.png);"));
retranslateUi(Lenon);
QMetaObject::connectSlotsByName(Lenon);
} // setupUi
void retranslateUi(QWidget *Lenon)
{
Lenon->setWindowTitle(QApplication::translate("Lenon", "\346\227\255\345\220\254\351\237\263\344\271\220", nullptr));
label->setText(QApplication::translate("Lenon", "\344\270\200\346\233\262\347\233\270\346\200\235-\351\230\277\346\202\240\346\202\240", nullptr));
pushButton->setText(QString());
pushButton_2->setText(QString());
pushButton_3->setText(QString());
pushButton_4->setText(QString());
pushButton_5->setText(QString());
pushButton_6->setText(QString());
pushButton_7->setText(QString());
} // retranslateUi
};
namespace Ui {
class Lenon: public Ui_Lenon {};
} // namespace Ui
QT_END_NAMESPACE
#endif // UI_LENON_H
......@@ -109,12 +109,15 @@ public:
QPlainTextEdit *plainTextEdit;
QWidget *page_5;
QWidget *page_6;
QTableWidget *tableWidget_2;
QLabel *label_30;
QWidget *page_7;
QWidget *page_8;
QWidget *page_9;
QWidget *page_10;
QLabel *label_16;
QPushButton *pushButton_17;
QPushButton *pushButton_8;
void setupUi(QMainWindow *MainWindow)
{
......@@ -319,7 +322,7 @@ public:
" border: 1px solid #aaa;\n"
" border-radius: 4px;\n"
"}"));
horizontalSlider_2->setValue(63);
horizontalSlider_2->setValue(50);
horizontalSlider_2->setOrientation(Qt::Horizontal);
pushButton_5 = new QPushButton(frame_2);
pushButton_5->setObjectName(QStringLiteral("pushButton_5"));
......@@ -340,7 +343,7 @@ public:
pushButton_2->setObjectName(QStringLiteral("pushButton_2"));
pushButton_2->setGeometry(QRect(210, 6, 50, 50));
pushButton_2->setMinimumSize(QSize(50, 50));
pushButton_2->setStyleSheet(QStringLiteral("border-image: url(:/lib/1zantingtingzhi.png);"));
pushButton_2->setStyleSheet(QStringLiteral("border-image: url(:/lib/1bofang.png);"));
horizontalSlider = new QSlider(centralWidget);
horizontalSlider->setObjectName(QStringLiteral("horizontalSlider"));
horizontalSlider->setEnabled(true);
......@@ -442,7 +445,7 @@ public:
label_5->setStyleSheet(QStringLiteral("border-image: url(:/lib/ci.png);"));
label_7 = new QLabel(centralWidget);
label_7->setObjectName(QStringLiteral("label_7"));
label_7->setGeometry(QRect(1037, 660, 25, 25));
label_7->setGeometry(QRect(1020, 660, 25, 25));
label_7->setStyleSheet(QLatin1String("font: 75 12pt \"Adobe Gothic Std B\";\n"
"border-image: url(:/lib/su.png);\n"
"\n"
......@@ -477,7 +480,7 @@ public:
"border-image: url(:/lib/love2.png);"));
verticalSlider = new QSlider(centralWidget);
verticalSlider->setObjectName(QStringLiteral("verticalSlider"));
verticalSlider->setGeometry(QRect(1070, 620, 21, 71));
verticalSlider->setGeometry(QRect(1055, 620, 16, 71));
verticalSlider->setStyleSheet(QLatin1String("QSlider::groove:vertical {\n"
" border: 1px solid #4A708B;\n"
" background: #C0C0C0;\n"
......@@ -937,7 +940,7 @@ public:
page_4->setObjectName(QStringLiteral("page_4"));
lineEdit_4 = new QLineEdit(page_4);
lineEdit_4->setObjectName(QStringLiteral("lineEdit_4"));
lineEdit_4->setGeometry(QRect(70, 50, 781, 171));
lineEdit_4->setGeometry(QRect(70, 50, 781, 61));
listWidget = new QListWidget(page_4);
listWidget->setObjectName(QStringLiteral("listWidget"));
listWidget->setGeometry(QRect(40, 280, 581, 241));
......@@ -971,7 +974,7 @@ public:
lineEdit->setAlignment(Qt::AlignCenter);
plainTextEdit = new QPlainTextEdit(page_4);
plainTextEdit->setObjectName(QStringLiteral("plainTextEdit"));
plainTextEdit->setGeometry(QRect(480, 240, 151, 20));
plainTextEdit->setGeometry(QRect(60, 129, 571, 131));
plainTextEdit->setStyleSheet(QStringLiteral("background-color: rgba(255, 255, 255, 0);"));
stackedWidget->addWidget(page_4);
page_5 = new QWidget();
......@@ -979,6 +982,14 @@ public:
stackedWidget->addWidget(page_5);
page_6 = new QWidget();
page_6->setObjectName(QStringLiteral("page_6"));
tableWidget_2 = new QTableWidget(page_6);
tableWidget_2->setObjectName(QStringLiteral("tableWidget_2"));
tableWidget_2->setGeometry(QRect(0, 20, 921, 551));
tableWidget_2->horizontalHeader()->setStretchLastSection(true);
label_30 = new QLabel(page_6);
label_30->setObjectName(QStringLiteral("label_30"));
label_30->setGeometry(QRect(0, 0, 922, 25));
label_30->setStyleSheet(QStringLiteral("background-color: rgb(85, 170, 255);"));
stackedWidget->addWidget(page_6);
page_7 = new QWidget();
page_7->setObjectName(QStringLiteral("page_7"));
......@@ -1010,6 +1021,10 @@ public:
"border-image: url(:/lib/zedian.png);\n"
"background-color: rgba(225, 225, 225, 10);\n"
"}"));
pushButton_8 = new QPushButton(centralWidget);
pushButton_8->setObjectName(QStringLiteral("pushButton_8"));
pushButton_8->setGeometry(QRect(960, 660, 25, 25));
pushButton_8->setStyleSheet(QStringLiteral("border-image: url(:/lib/jijianmoshi.png);"));
MainWindow->setCentralWidget(centralWidget);
label_3->raise();
label_16->raise();
......@@ -1043,6 +1058,7 @@ public:
label_15->raise();
stackedWidget->raise();
pushButton_17->raise();
pushButton_8->raise();
retranslateUi(MainWindow);
QObject::connect(toolButton_4, SIGNAL(clicked()), MainWindow, SLOT(close()));
......@@ -1120,10 +1136,13 @@ public:
label_17->setText(QString());
lineEdit_5->setText(QApplication::translate("MainWindow", "\346\255\214\345\215\225", nullptr));
pushButton_6->setText(QApplication::translate("MainWindow", "PushButton", nullptr));
lineEdit_4->setText(QApplication::translate("MainWindow", "\346\216\222\350\241\214\346\246\234", nullptr));
lineEdit->setText(QApplication::translate("MainWindow", "2506897252", nullptr));
plainTextEdit->setPlainText(QString());
label_30->setText(QApplication::translate("MainWindow", " \346\255\214\346\233\262 \346\255\214\346\211\213 \344\270\223\350\276\221 \346\223\215\344\275\234 \346\227\266\351\225\277 \346\222\255\346\224\276\346\254\241\346\225\260", nullptr));
label_16->setText(QString());
pushButton_17->setText(QString());
pushButton_8->setText(QString());
} // retranslateUi
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册