HAL
preview_widget.cpp
Go to the documentation of this file.
2 
3 #include <QVBoxLayout>
4 
5 namespace hal
6 {
7  PreviewWidget::PreviewWidget(QWidget* parent) : QFrame(parent), mLayout(new QVBoxLayout())
8  {
11  mLayout->setContentsMargins(0, 0, 0, 0);
12  mLayout->setSpacing(0);
14  }
15 }
PreviewWidget(QWidget *parent=nullptr)
void setFrameStyle(int style)
bool setAlignment(QWidget *w, Qt::Alignment alignment)
void setContentsMargins(int left, int top, int right, int bottom)
void setSpacing(int)
AlignTop
void setLayout(QLayout *layout)