MCPcopy Create free account
hub / github.com/baumgarr/nixnote2 / WidgetPanel

Method WidgetPanel

gui/widgetpanel.cpp:32–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30
31
32WidgetPanel::WidgetPanel(QWidget *parent) :
33 QWidget(parent)
34{
35 vboxLayout = new QVBoxLayout();
36 this->setLayout(vboxLayout);
37 vboxLayout->setSpacing(10);
38 vboxLayout->setSizeConstraint(QLayout::SetNoConstraint);
39 this->setSizePolicy(QSizePolicy::Minimum, QSizePolicy::Preferred);
40 this->setStyleSheet("QTreeView {background:transparent; border:none; margin:0px; padding: 0px;} ");
41 this->setSizePolicy(QSizePolicy::Minimum, QSizePolicy::Preferred);
42 connect(&timer, SIGNAL(timeout()), this, SLOT(scrollTimer()));
43}
44
45
46WidgetPanel::~WidgetPanel() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected