HAL  v4.5.0-83-g30c8f0afc
The Hardware Analyzer - a comprehensive reverse engineering and manipulation framework for gate-level netlists.
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)
Definition: defines.h:45
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)