2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Added search to files and links shared media.

This commit is contained in:
John Preston
2017-10-30 23:24:20 +04:00
parent a27edcad1c
commit eb2719fad1
25 changed files with 1110 additions and 220 deletions

View File

@@ -237,7 +237,11 @@ class FlatInput : public TWidgetHelper<QLineEdit>, private base::Subscriber {
Q_OBJECT
public:
FlatInput(QWidget *parent, const style::FlatInput &st, base::lambda<QString()> placeholderFactory = base::lambda<QString()>(), const QString &val = QString());
FlatInput(
QWidget *parent,
const style::FlatInput &st,
base::lambda<QString()> placeholderFactory = nullptr,
const QString &val = QString());
void updatePlaceholder();
void setPlaceholder(base::lambda<QString()> placeholderFactory);

View File

@@ -1122,3 +1122,12 @@ InfoTopBar {
mediaForward: IconButton;
mediaDelete: IconButton;
}
SearchFieldRow {
height: pixels;
padding: margins;
field: InputField;
fieldIcon: icon;
fieldIconSkip: pixels;
fieldCancel: CrossButton;
fieldCancelSkip: pixels;
}