DolphinQt: Make WrapInScrollArea and GetWrappedWidget less hacky.
This commit is contained in:
@@ -6,8 +6,8 @@
|
||||
class QLayout;
|
||||
class QWidget;
|
||||
|
||||
QWidget* GetWrappedWidget(QWidget* wrapped_widget, QWidget* to_resize = nullptr,
|
||||
int margin_width = 50, int margin_height = 50);
|
||||
// Puts the given widget in a QScrollArea and returns that.
|
||||
QWidget* GetWrappedWidget(QWidget* wrapped_widget);
|
||||
|
||||
// Wrap wrapped_layout in a QScrollArea and fill the parent widget with it
|
||||
void WrapInScrollArea(QWidget* parent, QLayout* wrapped_layout, QWidget* to_resize = nullptr);
|
||||
// Wrap wrapped_layout in a QScrollArea and fill the parent widget with it.
|
||||
void WrapInScrollArea(QWidget* parent, QLayout* wrapped_layout);
|
||||
|
||||
Reference in New Issue
Block a user