| 30 | |
| 31 | |
| 32 | WidgetPanel::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 | |
| 46 | WidgetPanel::~WidgetPanel() { |
nothing calls this directly
no outgoing calls
no test coverage detected