Allow custom-styled left button in BoxContent.
This commit is contained in:
parent
bd7c085bd0
commit
f18fbbc2a1
1 changed files with 9 additions and 0 deletions
|
|
@ -160,6 +160,15 @@ public:
|
|||
std::move(clickCallback),
|
||||
st);
|
||||
}
|
||||
QPointer<RoundButton> addLeftButton(
|
||||
rpl::producer<QString> text,
|
||||
Fn<void()> clickCallback,
|
||||
const style::RoundButton& st) {
|
||||
return getDelegate()->addLeftButton(
|
||||
std::move(text),
|
||||
std::move(clickCallback),
|
||||
st);
|
||||
}
|
||||
void showLoading(bool show) {
|
||||
getDelegate()->showLoading(show);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue