2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-10-19 14:46:58 +00:00

Removed blue window title, new small title used only in Windows.

This commit is contained in:
John Preston
2016-11-04 11:23:50 +03:00
parent 1ecd6866c7
commit 0cbb0014db
72 changed files with 726 additions and 1583 deletions

View File

@@ -24,13 +24,8 @@ class PasscodeWidget : public TWidget {
Q_OBJECT
public:
PasscodeWidget(QWidget *parent);
void paintEvent(QPaintEvent *e);
void resizeEvent(QResizeEvent *e);
void mousePressEvent(QMouseEvent *e);
void keyPressEvent(QKeyEvent *e);
void setInnerFocus();
void animShow(const QPixmap &bgAnimCache, bool back = false);
@@ -39,15 +34,18 @@ public:
~PasscodeWidget();
public slots:
protected:
void paintEvent(QPaintEvent *e) override;
void resizeEvent(QResizeEvent *e) override;
void mousePressEvent(QMouseEvent *e) override;
void keyPressEvent(QKeyEvent *e) override;
void onParentResize(const QSize &newSize);
public slots:
void onError();
void onChanged();
void onSubmit();
private:
void showAll();
void hideAll();