1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Create login screen UI

This commit is contained in:
tux3 2015-06-03 19:04:28 +02:00
parent 86d84162f3
commit 9ebfc9eb77
4 changed files with 1064 additions and 3 deletions

View File

@ -32,7 +32,8 @@ FORMS += \
src/widget/form/setpassworddialog.ui \
src/chatlog/content/filetransferwidget.ui \
src/widget/form/settings/advancedsettings.ui \
src/android.ui
src/android.ui \
src/widget/loginscreen.ui
CONFIG += c++11
@ -467,7 +468,8 @@ SOURCES += \
src/video/cameradevice.cpp \
src/video/camerasource.cpp \
src/video/corevideosource.cpp \
src/core/toxid.cpp
src/core/toxid.cpp \
src/widget/loginscreen.cpp
HEADERS += \
src/audio.h \
@ -500,4 +502,5 @@ HEADERS += \
src/video/camerasource.h \
src/video/corevideosource.h \
src/video/videomode.h \
src/core/toxid.h
src/core/toxid.h \
src/widget/loginscreen.h

View File

@ -0,0 +1,14 @@
#include "loginscreen.h"
#include "ui_loginscreen.h"
LoginScreen::LoginScreen(QWidget *parent) :
QWidget(parent),
ui(new Ui::LoginScreen)
{
ui->setupUi(this);
}
LoginScreen::~LoginScreen()
{
delete ui;
}

22
src/widget/loginscreen.h Normal file
View File

@ -0,0 +1,22 @@
#ifndef LOGINSCREEN_H
#define LOGINSCREEN_H
#include <QWidget>
namespace Ui {
class LoginScreen;
}
class LoginScreen : public QWidget
{
Q_OBJECT
public:
explicit LoginScreen(QWidget *parent = 0);
~LoginScreen();
private:
Ui::LoginScreen *ui;
};
#endif // LOGINSCREEN_H

1022
src/widget/loginscreen.ui Normal file

File diff suppressed because it is too large Load Diff