mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
half of all boxes redesigned
This commit is contained in:
@@ -28,7 +28,6 @@ class UsernameBox : public AbstractBox, public RPCSender {
|
||||
public:
|
||||
|
||||
UsernameBox();
|
||||
void keyPressEvent(QKeyEvent *e);
|
||||
void paintEvent(QPaintEvent *e);
|
||||
void resizeEvent(QResizeEvent *e);
|
||||
|
||||
@@ -39,6 +38,8 @@ public slots:
|
||||
void onCheck();
|
||||
void onChanged();
|
||||
|
||||
void onLinkClick();
|
||||
|
||||
protected:
|
||||
|
||||
void hideAll();
|
||||
@@ -54,13 +55,14 @@ private:
|
||||
bool onCheckFail(const RPCError &error);
|
||||
|
||||
QString getName() const;
|
||||
void initBox();
|
||||
void updateLinkText();
|
||||
|
||||
FlatButton _saveButton, _cancelButton;
|
||||
UsernameInput _usernameInput;
|
||||
BoxButton _save, _cancel;
|
||||
UsernameInput _username;
|
||||
LinkButton _link;
|
||||
|
||||
mtpRequestId _saveRequest, _checkRequest;
|
||||
QString _sentUsername, _checkUsername, _errorText, _goodText;
|
||||
mtpRequestId _saveRequestId, _checkRequestId;
|
||||
QString _sentUsername, _checkUsername, _errorText, _goodText, _copiedTextLink;
|
||||
|
||||
Text _about;
|
||||
QTimer _checkTimer;
|
||||
|
Reference in New Issue
Block a user