Initial commit

This commit is contained in:
torsten committed 2026-08-13 18:33:10 +02:00
commit b7d90b9afe
16245 files changed
+3396666

No files matched your search

+36
View File
@@ -0,0 +1,36 @@
/**
* @RDE_HEADER@
* ToolBar wiht autohide on leave
* $Id$
* $HeadURL$
* $Author$
*/
#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);
}