MCPcopy Create free account
hub / github.com/YACReader/yacreader / setToolBar

Method setToolBar

YACReaderLibrary/classic_comics_view.cpp:132–139  ·  view source on GitHub ↗

the toolbar has to be populated

Source from the content-addressed store, hash-verified

130
131// the toolbar has to be populated
132void 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
141void ClassicComicsView::setModel(ComicModel *model)
142{

Callers

nothing calls this directly

Calls 1

addActionMethod · 0.80

Tested by

no test coverage detected