| 224 | } |
| 225 | |
| 226 | QWidget *create(QWidget *parent = nullptr) override |
| 227 | { |
| 228 | auto widget = new KeepAliveWidget(this, parent); |
| 229 | widget->setWindowTitle(m_text); |
| 230 | widget->setWindowIcon(m_icon); |
| 231 | widget->setLayout(new QVBoxLayout); |
| 232 | widget->layout()->addWidget(m_container); |
| 233 | widget->addActions(m_container->actions()); |
| 234 | return widget; |
| 235 | } |
| 236 | |
| 237 | Qt::DockWidgetArea defaultPosition() const override |
| 238 | { |
no test coverage detected