chore: 格式化ElaWidgetTools代码
This commit is contained in:
@@ -8,21 +8,21 @@ class ElaScrollArea;
|
||||
class ElaText;
|
||||
class QHBoxLayout;
|
||||
class ElaScrollPagePrivate;
|
||||
class ELA_EXPORT ElaScrollPage : public QWidget
|
||||
{
|
||||
class ELA_EXPORT ElaScrollPage : public QWidget {
|
||||
Q_OBJECT
|
||||
Q_Q_CREATE(ElaScrollPage)
|
||||
Q_PROPERTY_CREATE_Q_H(QWidget*, CustomWidget)
|
||||
Q_PROPERTY_CREATE_Q_H(QWidget *, CustomWidget)
|
||||
public:
|
||||
explicit ElaScrollPage(QWidget* parent = nullptr);
|
||||
explicit ElaScrollPage(QWidget *parent = nullptr);
|
||||
~ElaScrollPage();
|
||||
|
||||
void addCentralWidget(QWidget* centralWidget, bool isWidgetResizeable = true, bool isVerticalGrabGesture = true, qreal mousePressEventDelay = 0.5);
|
||||
void addCentralWidget(QWidget *centralWidget, bool isWidgetResizeable = true, bool isVerticalGrabGesture = true,
|
||||
qreal mousePressEventDelay = 0.5);
|
||||
|
||||
void navigation(int widgetIndex, bool isLogRoute = true);
|
||||
|
||||
void setPageTitleSpacing(int spacing);
|
||||
int getPageTitleSpacing() const;
|
||||
int getPageTitleSpacing() const;
|
||||
void setTitleVisible(bool isVisible);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user