MCPcopy Create free account
hub / github.com/abreheret/PixelAnnotationTool / previousFile

Method previousFile

src/main_window.cpp:437–444  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

435}
436
437void MainWindow::previousFile() {
438 QTreeWidgetItem *currentItem = tree_widget_img->currentItem();
439 if (!currentItem) return;
440 QTreeWidgetItem *previousItem = tree_widget_img->itemAbove(currentItem);
441 if (!previousItem) return;
442 tree_widget_img->setCurrentItem(previousItem);
443 treeWidgetClicked();
444}
445
446void MainWindow::saveConfigFile() {
447 QString file = QFileDialog::getSaveFileName(this, tr("Save Config File"), QString(), tr("JSon file (*.json)"));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected