代码拉取完成,页面将自动刷新
/********************************************************************************
** Form generated from reading UI file 'cdragablewidget.ui'
**
** Created by: Qt User Interface Compiler version 5.15.2
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/
#ifndef UI_CDRAGABLEWIDGET_H
#define UI_CDRAGABLEWIDGET_H
#include <Modules/LabelEx/qlabelex.h>
#include <QtCore/QVariant>
#include <QtGui/QIcon>
#include <QtWidgets/QApplication>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
QT_BEGIN_NAMESPACE
class Ui_CDragableWidget
{
public:
QVBoxLayout *verticalLayout;
QWidget *widgetHead;
QHBoxLayout *horizontalLayout_2;
QWidget *widgetDrag;
QHBoxLayout *horizontalLayout_3;
QPushButton *pushButton;
QLabel *label;
QLabelEx *labCurSong;
QWidget *widget_2;
QHBoxLayout *horizontalLayout;
QPushButton *btnMin;
QPushButton *btnMax;
QPushButton *btnClose;
QWidget *widgetContainer;
void setupUi(QWidget *CDragableWidget)
{
if (CDragableWidget->objectName().isEmpty())
CDragableWidget->setObjectName(QString::fromUtf8("CDragableWidget"));
CDragableWidget->resize(820, 606);
CDragableWidget->setStyleSheet(QString::fromUtf8("QWidget{\n"
" background-color: rgb(85, 170, 255);\n"
" border:1px;\n"
"}\n"
"\n"
"QPushButton:hover {\n"
" \n"
" background-color: rgb(170, 170, 255);\n"
"}\n"
"\n"
"QPushButton#btnClose:hover{\n"
" \n"
" background-color: rgb(255, 85, 127);\n"
"}\n"
""));
verticalLayout = new QVBoxLayout(CDragableWidget);
verticalLayout->setSpacing(0);
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
verticalLayout->setContentsMargins(0, 0, 0, 0);
widgetHead = new QWidget(CDragableWidget);
widgetHead->setObjectName(QString::fromUtf8("widgetHead"));
QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed);
sizePolicy.setHorizontalStretch(0);
sizePolicy.setVerticalStretch(0);
sizePolicy.setHeightForWidth(widgetHead->sizePolicy().hasHeightForWidth());
widgetHead->setSizePolicy(sizePolicy);
widgetHead->setMinimumSize(QSize(0, 26));
widgetHead->setMaximumSize(QSize(16777215, 26));
widgetHead->setStyleSheet(QString::fromUtf8(""));
horizontalLayout_2 = new QHBoxLayout(widgetHead);
horizontalLayout_2->setSpacing(0);
horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
horizontalLayout_2->setContentsMargins(0, 0, 0, 0);
widgetDrag = new QWidget(widgetHead);
widgetDrag->setObjectName(QString::fromUtf8("widgetDrag"));
widgetDrag->setStyleSheet(QString::fromUtf8(""));
horizontalLayout_3 = new QHBoxLayout(widgetDrag);
horizontalLayout_3->setSpacing(0);
horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3"));
horizontalLayout_3->setContentsMargins(0, 0, 0, 0);
pushButton = new QPushButton(widgetDrag);
pushButton->setObjectName(QString::fromUtf8("pushButton"));
pushButton->setMinimumSize(QSize(28, 24));
pushButton->setMaximumSize(QSize(28, 24));
pushButton->setAutoFillBackground(false);
pushButton->setStyleSheet(QString::fromUtf8("background-image: url(:/resources/images/main.ico);\n"
"background-repeat: false;\n"
"background-position: center;"));
pushButton->setIconSize(QSize(28, 28));
pushButton->setAutoRepeat(false);
pushButton->setFlat(true);
horizontalLayout_3->addWidget(pushButton);
label = new QLabel(widgetDrag);
label->setObjectName(QString::fromUtf8("label"));
label->setMinimumSize(QSize(80, 0));
label->setMaximumSize(QSize(180, 16777215));
label->setStyleSheet(QString::fromUtf8("font: 87 9pt \"Arial Black\";"));
label->setMargin(5);
horizontalLayout_3->addWidget(label);
labCurSong = new QLabelEx(widgetDrag);
labCurSong->setObjectName(QString::fromUtf8("labCurSong"));
QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Preferred);
sizePolicy1.setHorizontalStretch(0);
sizePolicy1.setVerticalStretch(0);
sizePolicy1.setHeightForWidth(labCurSong->sizePolicy().hasHeightForWidth());
labCurSong->setSizePolicy(sizePolicy1);
labCurSong->setMinimumSize(QSize(520, 0));
QFont font;
font.setFamily(QString::fromUtf8("\345\276\256\350\275\257\351\233\205\351\273\221"));
font.setPointSize(10);
font.setBold(true);
font.setItalic(true);
font.setWeight(75);
labCurSong->setFont(font);
labCurSong->setAlignment(Qt::AlignCenter);
horizontalLayout_3->addWidget(labCurSong);
horizontalLayout_2->addWidget(widgetDrag);
widget_2 = new QWidget(widgetHead);
widget_2->setObjectName(QString::fromUtf8("widget_2"));
QSizePolicy sizePolicy2(QSizePolicy::Fixed, QSizePolicy::Fixed);
sizePolicy2.setHorizontalStretch(0);
sizePolicy2.setVerticalStretch(0);
sizePolicy2.setHeightForWidth(widget_2->sizePolicy().hasHeightForWidth());
widget_2->setSizePolicy(sizePolicy2);
widget_2->setMinimumSize(QSize(0, 26));
widget_2->setMaximumSize(QSize(16777215, 26));
horizontalLayout = new QHBoxLayout(widget_2);
horizontalLayout->setSpacing(0);
horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
horizontalLayout->setContentsMargins(0, 0, 0, 0);
btnMin = new QPushButton(widget_2);
btnMin->setObjectName(QString::fromUtf8("btnMin"));
sizePolicy2.setHeightForWidth(btnMin->sizePolicy().hasHeightForWidth());
btnMin->setSizePolicy(sizePolicy2);
btnMin->setMinimumSize(QSize(26, 26));
btnMin->setMaximumSize(QSize(26, 26));
QIcon icon;
icon.addFile(QString::fromUtf8(":/resources/images/showminisizebtn.png"), QSize(), QIcon::Normal, QIcon::Off);
btnMin->setIcon(icon);
btnMin->setIconSize(QSize(26, 26));
btnMin->setFlat(true);
horizontalLayout->addWidget(btnMin);
btnMax = new QPushButton(widget_2);
btnMax->setObjectName(QString::fromUtf8("btnMax"));
sizePolicy2.setHeightForWidth(btnMax->sizePolicy().hasHeightForWidth());
btnMax->setSizePolicy(sizePolicy2);
QIcon icon1;
icon1.addFile(QString::fromUtf8(":/resources/images/showmaxsizebtn.png"), QSize(), QIcon::Normal, QIcon::Off);
btnMax->setIcon(icon1);
btnMax->setIconSize(QSize(26, 26));
btnMax->setFlat(true);
horizontalLayout->addWidget(btnMax);
btnClose = new QPushButton(widget_2);
btnClose->setObjectName(QString::fromUtf8("btnClose"));
sizePolicy2.setHeightForWidth(btnClose->sizePolicy().hasHeightForWidth());
btnClose->setSizePolicy(sizePolicy2);
QIcon icon2;
icon2.addFile(QString::fromUtf8(":/resources/images/close_normal.png"), QSize(), QIcon::Normal, QIcon::Off);
btnClose->setIcon(icon2);
btnClose->setIconSize(QSize(26, 26));
btnClose->setFlat(true);
horizontalLayout->addWidget(btnClose);
horizontalLayout_2->addWidget(widget_2);
verticalLayout->addWidget(widgetHead);
widgetContainer = new QWidget(CDragableWidget);
widgetContainer->setObjectName(QString::fromUtf8("widgetContainer"));
widgetContainer->setStyleSheet(QString::fromUtf8(""));
verticalLayout->addWidget(widgetContainer);
retranslateUi(CDragableWidget);
QMetaObject::connectSlotsByName(CDragableWidget);
} // setupUi
void retranslateUi(QWidget *CDragableWidget)
{
CDragableWidget->setWindowTitle(QCoreApplication::translate("CDragableWidget", "Form", nullptr));
pushButton->setText(QString());
label->setText(QCoreApplication::translate("CDragableWidget", "MMPlyaer", nullptr));
labCurSong->setText(QString());
btnMin->setText(QString());
btnMax->setText(QString());
btnClose->setText(QString());
} // retranslateUi
};
namespace Ui {
class CDragableWidget: public Ui_CDragableWidget {};
} // namespace Ui
QT_END_NAMESPACE
#endif // UI_CDRAGABLEWIDGET_H
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。