MCPcopy Create free account
hub / github.com/LuminanceHDR/LuminanceHDR / openFiles

Method openFiles

src/MainWindow/MainWindow.cpp:1288–1299  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1286}
1287
1288void MainWindow::openFiles(const QStringList &files) {
1289 if (files.size() > 0) {
1290 switch (DnDOptionDialog::showDndDialog(this, files)) {
1291 case DnDOptionDialog::ACTION_NEW_HDR: {
1292 createNewHdr(files);
1293 } break;
1294 case DnDOptionDialog::ACTION_OPEN_HDR: {
1295 foreach (const QString &filename, files) { openFile(filename); }
1296 } break;
1297 }
1298 }
1299}
1300
1301void MainWindow::Text_Under_Icons() {
1302 m_Ui->toolBar->setToolButtonStyle(Qt::ToolButtonTextUnderIcon);

Callers 1

mainFunction · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected