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

Method setToolBar

YACReaderLibrary/grid_comics_view.cpp:140–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138}
139
140void GridComicsView::setToolBar(QToolBar *toolBar)
141{
142 static_cast<QVBoxLayout *>(this->layout())->insertWidget(1, toolBar);
143 this->toolbar = toolBar;
144
145 createCoverSizeSliderWidget();
146
147 startSeparatorAction = toolBar->addSeparator();
148 toolBar->addAction(showInfoAction);
149 showInfoSeparatorAction = toolBar->addSeparator();
150 coverSizeSliderAction = toolBar->addWidget(coverSizeSliderWidget);
151}
152
153void GridComicsView::setModel(ComicModel *model)
154{

Callers

nothing calls this directly

Calls 1

addActionMethod · 0.80

Tested by

no test coverage detected