This commit only contains Qt UI components that are self-contained, i.e. the translation units only contain code for a single class or interface and don't mix implementations.
14 lines
246 B
C++
14 lines
246 B
C++
#include "HScrollArea.hpp"
|
|
|
|
#include <QResizeEvent>
|
|
|
|
#include "moc_HScrollArea.cpp"
|
|
|
|
void HScrollArea::resizeEvent(QResizeEvent *event)
|
|
{
|
|
if (!!widget())
|
|
widget()->setMaximumHeight(event->size().height());
|
|
|
|
QScrollArea::resizeEvent(event);
|
|
}
|