feat: 添加ElaWidgetTool库
This commit is contained in:
18
ElaWidgetTools/private/ElaDrawerAreaPrivate.cpp
Normal file
18
ElaWidgetTools/private/ElaDrawerAreaPrivate.cpp
Normal file
@@ -0,0 +1,18 @@
|
||||
#include "ElaDrawerAreaPrivate.h"
|
||||
#include "ElaDrawerArea.h"
|
||||
|
||||
ElaDrawerAreaPrivate::ElaDrawerAreaPrivate(QObject* parent)
|
||||
: QObject(parent)
|
||||
{
|
||||
}
|
||||
|
||||
ElaDrawerAreaPrivate::~ElaDrawerAreaPrivate()
|
||||
{
|
||||
}
|
||||
|
||||
void ElaDrawerAreaPrivate::onDrawerHeaderClicked(bool isExpand)
|
||||
{
|
||||
Q_Q(ElaDrawerArea);
|
||||
_drawerContainer->doDrawerAnimation(isExpand);
|
||||
Q_EMIT q->expandStateChanged(isExpand);
|
||||
}
|
||||
Reference in New Issue
Block a user