mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 17:33:05 +00:00
15 lines
274 B
C++
15 lines
274 B
C++
#include "stretchitem.h"
|
|
|
|
#include <QPaintEvent>
|
|
|
|
StretchItem::StretchItem(QWidget *parent)
|
|
: DockItem(parent)
|
|
{
|
|
setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
|
|
}
|
|
|
|
void StretchItem::mousePressEvent(QMouseEvent *e)
|
|
{
|
|
QWidget::mousePressEvent(e);
|
|
}
|