4 #include <QResizeEvent> 14 setWidgetResizable(
true);
15 setBackgroundRole(QPalette::Base);
28 if(event->size().height() >
event->size().width()) {
29 m_layout->setDirection(QBoxLayout::TopToBottom);
30 m_layout->setAlignment(Qt::AlignTop);
32 m_layout->setDirection(QBoxLayout::LeftToRight);
33 m_layout->setAlignment(Qt::AlignLeft);
35 QScrollArea::resizeEvent(event);
void addRollupWidget(QWidget *rollupWidget)
ChannelWindow(QWidget *parent=NULL)
void resizeEvent(QResizeEvent *event)