2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-02 15:45:12 +00:00

Create and edit proxy box.

This commit is contained in:
John Preston
2018-04-28 19:58:22 +04:00
parent a7c77682d7
commit 9935a36c3d
7 changed files with 433 additions and 23 deletions

View File

@@ -906,6 +906,19 @@ protected:
};
class HexInput : public MaskedInputField {
public:
HexInput(QWidget *parent, const style::InputField &st, base::lambda<QString()> placeholderFactory, const QString &val);
protected:
void correctValue(
const QString &was,
int wasCursor,
QString &now,
int &nowCursor) override;
};
class UsernameInput : public MaskedInputField {
public:
UsernameInput(QWidget *parent, const style::InputField &st, base::lambda<QString()> placeholderFactory, const QString &val, bool isLink);