diff options
-rwxr-xr-x | addon/doxywizard/doxywizard.cpp | 9 | ||||
-rwxr-xr-x | addon/doxywizard/doxywizard.h | 1 |
2 files changed, 10 insertions, 0 deletions
diff --git a/addon/doxywizard/doxywizard.cpp b/addon/doxywizard/doxywizard.cpp index c93c898..db4e6fb 100755 --- a/addon/doxywizard/doxywizard.cpp +++ b/addon/doxywizard/doxywizard.cpp @@ -108,6 +108,12 @@ MainWindow::MainWindow() m_saveLog->setEnabled(false); QPushButton *showSettings = new QPushButton(tr("Show configuration")); QPushButton *showCondensedSettings = new QPushButton(tr("Show condensed configuration")); + // select extra run options + m_runOptions = new QLineEdit; + + runTabLayout->addWidget(new QLabel(tr("Step 3: Specify (optional) options for running doxygen"))); + runTabLayout->addWidget(m_runOptions); + runLayout->addWidget(m_run); runLayout->addWidget(m_runStatus); runLayout->addStretch(1); @@ -501,6 +507,9 @@ void MainWindow::runDoxygen() m_runProcess->setEnvironment(env); QStringList args; + QStringList runOptions = m_runOptions->text().split(QLatin1Char(' '),QString::SkipEmptyParts); + + args << runOptions; args << QString::fromLatin1("-b"); // make stdout unbuffered args << QString::fromLatin1("-"); // read config from stdin diff --git a/addon/doxywizard/doxywizard.h b/addon/doxywizard/doxywizard.h index b009cc5..f976a98 100755 --- a/addon/doxywizard/doxywizard.h +++ b/addon/doxywizard/doxywizard.h @@ -79,6 +79,7 @@ class MainWindow : public QMainWindow bool discardUnsavedChanges(bool saveOption=true); QLineEdit *m_workingDir; + QLineEdit *m_runOptions; QPushButton *m_selWorkingDir; QPushButton *m_run; QPushButton *m_saveLog; |