Macros | Functions | Variables
doxywizard.cpp File Reference
#include "doxywizard.h"
#include "version.h"
#include "expert.h"
#include "wizard.h"
#include <QMenu>
#include <QMenuBar>
#include <QPushButton>
#include <QMessageBox>
#include <QVBoxLayout>
#include <QLineEdit>
#include <QLabel>
#include <QTextEdit>
#include <QStatusBar>
#include <QProcess>
#include <QTimer>
#include <QCloseEvent>
#include <QApplication>
#include <QDir>
#include <QFileDialog>
#include <QDesktopServices>
#include <QUrl>
#include <QTextStream>
#include <QDebug>

Go to the source code of this file.

Macros

#define MAX_RECENT_FILES   10
 

Functions

int main (int argc, char **argv)
 

Variables

const int messageTimeout = 5000
 status bar message timeout in milliseconds. More...
 

Macro Definition Documentation

#define MAX_RECENT_FILES   10

Definition at line 30 of file doxywizard.cpp.

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 654 of file doxywizard.cpp.

655 {
656  QApplication a(argc,argv);
657  if (argc == 2)
658  {
659  if (!qstrcmp(argv[1],"--help"))
660  {
661  QMessageBox msgBox;
662  msgBox.setText(QString().sprintf("Usage: %s [config file]",argv[0]));
663  msgBox.exec();
664  exit(0);
665  }
666  }
667  if (argc > 2)
668  {
669  QMessageBox msgBox;
670  msgBox.setText(QString().sprintf("Too many arguments specified\n\nUsage: %s [config file]",argv[0]));
671  msgBox.exec();
672  exit(1);
673  }
674  else
675  {
677  if (argc==2 && argv[1][0]!='-') // name of config file as an argument
678  {
680  }
681  main.show();
682  return a.exec();
683  }
684 }
static QString fromLocal8Bit(const char *, int len=-1)
Definition: qstring.cpp:14605
The QString class provides an abstraction of Unicode text and the classic C null-terminated char arra...
Definition: qstring.h:350
const double a
void loadConfigFromFile(const QString &fileName)
Definition: doxywizard.cpp:246
int main(int argc, char **argv)
Definition: doxywizard.cpp:654
Q_EXPORT int qstrcmp(const char *str1, const char *str2)
Definition: qcstring.h:95
static MainWindow & instance()
Definition: doxywizard.cpp:34

Variable Documentation

const int messageTimeout = 5000

status bar message timeout in milliseconds.

Definition at line 32 of file doxywizard.cpp.