MainWindow.cpp File Reference

#include "MainWindow.h"
#include "Vidalia.h"
#include "VMessageBox.h"
#include "ControlPasswordInputDialog.h"
#include "TorSettings.h"
#include "ServerSettings.h"
#include "ProtocolInfo.h"
#include "net.h"
#include "file.h"
#include "html.h"
#include "stringutil.h"
#include "procutil.h"
#include <QMenuBar>
#include <QTimer>
#include <QTextStream>

Go to the source code of this file.

Defines

#define IMG_BWGRAPH   ":/images/16x16/utilities-system-monitor.png"
#define IMG_CONTROL_PANEL   ":/images/16x16/system-run.png"
#define IMG_MESSAGELOG   ":/images/16x16/format-justify-fill.png"
#define IMG_CONFIG   ":/images/16x16/preferences-system.png"
#define IMG_IDENTITY   ":/images/16x16/view-media-artist.png"
#define IMG_HELP   ":/images/16x16/system-help.png"
#define IMG_ABOUT   ":/images/16x16/help-about.png"
#define IMG_EXIT   ":/images/16x16/application-exit.png"
#define IMG_NETWORK   ":/images/16x16/applications-internet.png"
#define IMG_START_TOR_16   ":/images/16x16/media-playback-start.png"
#define IMG_STOP_TOR_16   ":/images/16x16/media-playback-stop.png"
#define IMG_START_TOR_48   ":/images/48x48/media-playback-start.png"
#define IMG_STOP_TOR_48   ":/images/48x48/media-playback-stop.png"
#define IMG_TOR_STOPPED_48   ":/images/48x48/tor-off.png"
#define IMG_TOR_RUNNING_48   ":/images/48x48/tor-on.png"
#define IMG_TOR_STARTING_48   ":/images/48x48/tor-starting.png"
#define IMG_TOR_STOPPING_48   ":/images/48x48/tor-stopping.png"
#define IMG_TOR_STOPPED   ":/images/22x22/tor-off.png"
#define IMG_TOR_RUNNING   ":/images/22x22/tor-on.png"
#define IMG_TOR_STARTING   ":/images/22x22/tor-starting.png"
#define IMG_TOR_STOPPING   ":/images/22x22/tor-stopping.png"
#define MIN_NEWIDENTITY_INTERVAL   (10*1000)
#define STARTUP_PROGRESS_STARTING   0
#define STARTUP_PROGRESS_CONNECTING   10
#define STARTUP_PROGRESS_AUTHENTICATING   20
#define STARTUP_PROGRESS_BOOTSTRAPPING   30
#define STARTUP_PROGRESS_CIRCUITBUILD   75
#define STARTUP_PROGRESS_MAXIMUM   (STARTUP_PROGRESS_BOOTSTRAPPING+100)


Define Documentation

#define IMG_ABOUT   ":/images/16x16/help-about.png"

Definition at line 49 of file MainWindow.cpp.

Referenced by MainWindow::createActions().

#define IMG_BWGRAPH   ":/images/16x16/utilities-system-monitor.png"

Definition at line 43 of file MainWindow.cpp.

Referenced by MainWindow::createActions().

#define IMG_CONFIG   ":/images/16x16/preferences-system.png"

Definition at line 46 of file MainWindow.cpp.

Referenced by MainWindow::createActions().

#define IMG_CONTROL_PANEL   ":/images/16x16/system-run.png"

Definition at line 44 of file MainWindow.cpp.

Referenced by MainWindow::createActions().

#define IMG_EXIT   ":/images/16x16/application-exit.png"

Definition at line 50 of file MainWindow.cpp.

Referenced by MainWindow::createActions().

#define IMG_HELP   ":/images/16x16/system-help.png"

Definition at line 48 of file MainWindow.cpp.

Referenced by MainWindow::createActions().

#define IMG_IDENTITY   ":/images/16x16/view-media-artist.png"

Definition at line 47 of file MainWindow.cpp.

Referenced by MainWindow::createActions().

#define IMG_MESSAGELOG   ":/images/16x16/format-justify-fill.png"

Definition at line 45 of file MainWindow.cpp.

Referenced by MainWindow::createActions().

#define IMG_NETWORK   ":/images/16x16/applications-internet.png"

Definition at line 51 of file MainWindow.cpp.

Referenced by MainWindow::createActions().

#define IMG_START_TOR_16   ":/images/16x16/media-playback-start.png"

Definition at line 53 of file MainWindow.cpp.

Referenced by MainWindow::createActions(), and MainWindow::updateTorStatus().

#define IMG_START_TOR_48   ":/images/48x48/media-playback-start.png"

Definition at line 55 of file MainWindow.cpp.

Referenced by MainWindow::updateTorStatus().

#define IMG_STOP_TOR_16   ":/images/16x16/media-playback-stop.png"

Definition at line 54 of file MainWindow.cpp.

Referenced by MainWindow::updateTorStatus().

#define IMG_STOP_TOR_48   ":/images/48x48/media-playback-stop.png"

Definition at line 56 of file MainWindow.cpp.

Referenced by MainWindow::updateTorStatus().

#define IMG_TOR_RUNNING   ":/images/22x22/tor-on.png"

Definition at line 80 of file MainWindow.cpp.

Referenced by MainWindow::updateTorStatus().

#define IMG_TOR_RUNNING_48   ":/images/48x48/tor-on.png"

Definition at line 58 of file MainWindow.cpp.

Referenced by MainWindow::updateTorStatus().

#define IMG_TOR_STARTING   ":/images/22x22/tor-starting.png"

Definition at line 81 of file MainWindow.cpp.

Referenced by MainWindow::updateTorStatus().

#define IMG_TOR_STARTING_48   ":/images/48x48/tor-starting.png"

Definition at line 59 of file MainWindow.cpp.

Referenced by MainWindow::updateTorStatus().

#define IMG_TOR_STOPPED   ":/images/22x22/tor-off.png"

Definition at line 79 of file MainWindow.cpp.

Referenced by MainWindow::updateTorStatus().

#define IMG_TOR_STOPPED_48   ":/images/48x48/tor-off.png"

Definition at line 57 of file MainWindow.cpp.

Referenced by MainWindow::updateTorStatus().

#define IMG_TOR_STOPPING   ":/images/22x22/tor-stopping.png"

Definition at line 82 of file MainWindow.cpp.

Referenced by MainWindow::updateTorStatus().

#define IMG_TOR_STOPPING_48   ":/images/48x48/tor-stopping.png"

Definition at line 60 of file MainWindow.cpp.

Referenced by MainWindow::updateTorStatus().

#define MIN_NEWIDENTITY_INTERVAL   (10*1000)

Only allow 'New Identity' to be clicked once every 10 seconds.

Definition at line 86 of file MainWindow.cpp.

Referenced by MainWindow::newIdentity().

#define STARTUP_PROGRESS_AUTHENTICATING   20

Definition at line 91 of file MainWindow.cpp.

Referenced by MainWindow::authenticate().

#define STARTUP_PROGRESS_BOOTSTRAPPING   30

Definition at line 92 of file MainWindow.cpp.

Referenced by MainWindow::bootstrapStatusChanged().

#define STARTUP_PROGRESS_CIRCUITBUILD   75

Definition at line 93 of file MainWindow.cpp.

Referenced by MainWindow::authenticated().

#define STARTUP_PROGRESS_CONNECTING   10

Definition at line 90 of file MainWindow.cpp.

Referenced by MainWindow::started().

#define STARTUP_PROGRESS_MAXIMUM   (STARTUP_PROGRESS_BOOTSTRAPPING+100)

Definition at line 94 of file MainWindow.cpp.

#define STARTUP_PROGRESS_STARTING   0

Definition at line 89 of file MainWindow.cpp.

Referenced by MainWindow::updateTorStatus().


Generated on Mon Aug 30 19:14:03 2010 for Vidalia by  doxygen 1.5.9