pull/36/head
commit
a4e554efd7
@ -0,0 +1,32 @@
|
|||||||
|
#ifndef LOGIN_H
|
||||||
|
#define LOGIN_H
|
||||||
|
|
||||||
|
#include <QMainWindow>
|
||||||
|
#include "ui_login.h"
|
||||||
|
|
||||||
|
namespace Ui {
|
||||||
|
class Login;
|
||||||
|
}
|
||||||
|
|
||||||
|
class Login : public QMainWindow
|
||||||
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
|
public:
|
||||||
|
explicit Login(QWidget *parent = nullptr);
|
||||||
|
~Login();
|
||||||
|
|
||||||
|
private:
|
||||||
|
Ui::Login *ui;
|
||||||
|
bool isPressedWidget;
|
||||||
|
QPoint m_lastPos;
|
||||||
|
|
||||||
|
void initWindow();
|
||||||
|
void mousePressEvent(QMouseEvent *event);
|
||||||
|
void mouseMoveEvent(QMouseEvent *event);
|
||||||
|
void mouseReleaseEvent(QMouseEvent *event);
|
||||||
|
void setWindowState();
|
||||||
|
void setBtnAndLabelState();
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif // LOGIN_H
|
After Width: | Height: | Size: 1.6 MiB |
After Width: | Height: | Size: 321 B |
After Width: | Height: | Size: 234 B |
After Width: | Height: | Size: 553 B |
After Width: | Height: | Size: 272 B |
File diff suppressed because it is too large
Load Diff
Loading…
Reference in new issue