Continues migration with DDS, Common
This commit is contained in:
1 parent
9b15cee841
commit
fa48db111e
668 files changed
+111841
-2
No files matched your search
Executable
+31
@@ -0,0 +1,31 @@
|
||||
|
||||
|
||||
|
||||
#include "lts_tool_bar.h"
|
||||
|
||||
using namespace LtsWidgets;
|
||||
|
||||
LtsToolBar::LtsToolBar(QWidget *parent)
|
||||
: QToolBar(parent)
|
||||
{
|
||||
setMaximumHeight(1);
|
||||
setMinimumHeight(1);
|
||||
}
|
||||
|
||||
LtsToolBar::~LtsToolBar()
|
||||
{
|
||||
}
|
||||
|
||||
void LtsToolBar::enterEvent(QEvent *e)
|
||||
{
|
||||
setMaximumHeight(50);
|
||||
setMinimumHeight(50);
|
||||
QToolBar::enterEvent(e);
|
||||
}
|
||||
|
||||
void LtsToolBar::leaveEvent(QEvent *e)
|
||||
{
|
||||
setMaximumHeight(1);
|
||||
setMinimumHeight(1);
|
||||
QToolBar::leaveEvent(e);
|
||||
}
|
||||
Reference in new issue
Block a user