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:
parent
86d84162f3
commit
9ebfc9eb77
9
qtox.pro
9
qtox.pro
|
@ -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
|
||||
|
|
14
src/widget/loginscreen.cpp
Normal file
14
src/widget/loginscreen.cpp
Normal 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
22
src/widget/loginscreen.h
Normal 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
1022
src/widget/loginscreen.ui
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user