the toolbar has to be populated
| 130 | |
| 131 | // the toolbar has to be populated |
| 132 | void ClassicComicsView::setToolBar(QToolBar *toolBar) |
| 133 | { |
| 134 | static_cast<QVBoxLayout *>(comics->layout())->insertWidget(0, toolBar); |
| 135 | this->toolbar = toolBar; |
| 136 | |
| 137 | startSeparatorAction = toolBar->addSeparator(); |
| 138 | toolBar->addAction(hideFlowViewAction); |
| 139 | } |
| 140 | |
| 141 | void ClassicComicsView::setModel(ComicModel *model) |
| 142 | { |