• 大小: 5.78M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-01-29
  • 语言: C/C++
  • 标签: Qt  

资源简介

利用Qt 实现了QQ的登录界面,基本上实现了QQ的登陆界面全部效果,外加了QQ登录界面的旋转效果。

资源截图

代码片段和文件信息

#include “accountitem.h“
#include 
#include 

AccountItem::AccountItem(QWidget *parent)
:QWidget(parent)
{
m_mousePress = false;
m_Icon = new QLabel();
m_accountNumber = new QLabel();
m_deleteButton = new QToolButton();
m_deleteButton->setIcon(QIcon(“:/Resources/LoginWindow/deleteAccount.png“));
m_deleteButton->setstyleSheet(“background-color:transparent;“);

connect(m_deleteButton SIGNAL(clicked(bool)) this SLOT(onRemoveAccount()));

// 布局;
QHBoxLayout *mainLayout = new QHBoxLayout(this);
mainLayout->addWidget(m_Icon);
mainLayout->addWidget(m_accountNumber);
mainLayout->addStretch();
mainLayout->addWidget(m_deleteButton);
mainLayout->setContentsMargins(5 5 5 5);
mainLayout->setSpacing(5);
}

// 设置登录用户信息;
void AccountItem

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-07-20 11:33  WindowRotation\
     目录           0  2017-07-20 09:58  WindowRotation\.vs\
     目录           0  2017-07-20 09:58  WindowRotation\.vs\WindowRotation\
     目录           0  2017-07-20 09:58  WindowRotation\.vs\WindowRotation\v14\
     文件      744448  2017-07-20 11:33  WindowRotation\.vs\WindowRotation\v14\.suo
     目录           0  2017-07-20 11:33  WindowRotation\WindowRotation\
     文件         962  2017-07-20 09:58  WindowRotation\WindowRotation.sln
     文件        1636  2017-07-20 11:25  WindowRotation\WindowRotation\accountitem.cpp
     文件         956  2017-07-20 11:25  WindowRotation\WindowRotation\accountitem.h
     文件        3761  2017-02-15 21:45  WindowRotation\WindowRotation\basewindow.cpp
     文件         590  2017-01-22 14:32  WindowRotation\WindowRotation\basewindow.h
     目录           0  2017-07-20 11:34  WindowRotation\WindowRotation\GeneratedFiles\
     文件        2996  2017-07-20 11:30  WindowRotation\WindowRotation\loginnetsetwindow.cpp
     文件         747  2017-07-20 11:30  WindowRotation\WindowRotation\loginnetsetwindow.h
     文件       16300  2017-02-15 22:09  WindowRotation\WindowRotation\loginnetsetwindow.ui
     文件        6966  2017-07-20 11:32  WindowRotation\WindowRotation\loginwindow.cpp
     文件        1759  2017-07-20 11:32  WindowRotation\WindowRotation\loginwindow.h
     文件        8157  2016-12-22 17:13  WindowRotation\WindowRotation\loginwindow.ui
     文件         212  2017-07-20 10:01  WindowRotation\WindowRotation\main.cpp
     文件        8370  2017-07-20 10:28  WindowRotation\WindowRotation\mytitlebar.cpp
     文件        2710  2017-07-20 10:27  WindowRotation\WindowRotation\mytitlebar.h
     目录           0  2017-07-20 10:01  WindowRotation\WindowRotation\Resources\
     目录           0  2017-07-20 10:51  WindowRotation\WindowRotation\Resources\LoginWindow\
     文件        3429  2016-12-22 09:47  WindowRotation\WindowRotation\Resources\LoginWindow\arrowback.png
     文件     1216750  2016-12-21 21:58  WindowRotation\WindowRotation\Resources\LoginWindow\back.gif
     文件         317  2016-01-21 13:58  WindowRotation\WindowRotation\Resources\LoginWindow\checkbox.png
     文件        3352  2013-02-22 21:41  WindowRotation\WindowRotation\Resources\LoginWindow\deleteAccount.png
     文件         296  2016-01-21 15:23  WindowRotation\WindowRotation\Resources\LoginWindow\drop_down_Button.png
     文件         516  2016-01-21 14:02  WindowRotation\WindowRotation\Resources\LoginWindow\flicker.png
     目录           0  2017-07-20 10:21  WindowRotation\WindowRotation\Resources\LoginWindow\headImage\
     文件        8840  2016-12-22 10:10  WindowRotation\WindowRotation\Resources\LoginWindow\HeadImage - 副本 (2).png
............此处省略73个文件信息

评论

共有 条评论