mainwindow.cpp File Reference

#include <QtGui>
#include <QTimer>
#include <vidalia.h>
#include <file.h>
#include <html.h>
#include <stringutil.h>
#include <net.h>
#include <clientstatusevent.h>
#include <dangerousversionevent.h>
#include <vmessagebox.h>
#include <procutil.h>
#include "mainwindow.h"
#include "controlpasswordinputdialog.h"

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 44 of file mainwindow.cpp.

Referenced by MainWindow::createActions().

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

Definition at line 38 of file mainwindow.cpp.

Referenced by MainWindow::createActions().

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

Definition at line 41 of file mainwindow.cpp.

Referenced by MainWindow::createActions().

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

Definition at line 39 of file mainwindow.cpp.

Referenced by MainWindow::createActions().

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

Definition at line 45 of file mainwindow.cpp.

Referenced by MainWindow::createActions().

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

Definition at line 43 of file mainwindow.cpp.

Referenced by MainWindow::createActions().

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

Definition at line 42 of file mainwindow.cpp.

Referenced by MainWindow::createActions().

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

Definition at line 40 of file mainwindow.cpp.

Referenced by MainWindow::createActions().

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

Definition at line 46 of file mainwindow.cpp.

Referenced by MainWindow::createActions().

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

Definition at line 48 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 50 of file mainwindow.cpp.

Referenced by MainWindow::updateTorStatus().

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

Definition at line 49 of file mainwindow.cpp.

Referenced by MainWindow::updateTorStatus().

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

Definition at line 51 of file mainwindow.cpp.

Referenced by MainWindow::updateTorStatus().

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

Definition at line 74 of file mainwindow.cpp.

Referenced by MainWindow::updateTorStatus().

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

Definition at line 53 of file mainwindow.cpp.

Referenced by MainWindow::updateTorStatus().

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

Definition at line 75 of file mainwindow.cpp.

Referenced by MainWindow::updateTorStatus().

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

Definition at line 54 of file mainwindow.cpp.

Referenced by MainWindow::updateTorStatus().

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

Definition at line 73 of file mainwindow.cpp.

Referenced by MainWindow::updateTorStatus().

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

Definition at line 52 of file mainwindow.cpp.

Referenced by MainWindow::updateTorStatus().

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

Definition at line 76 of file mainwindow.cpp.

Referenced by MainWindow::updateTorStatus().

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

Definition at line 55 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 80 of file mainwindow.cpp.

Referenced by MainWindow::newIdentity().

#define STARTUP_PROGRESS_AUTHENTICATING   20

Definition at line 85 of file mainwindow.cpp.

Referenced by MainWindow::authenticate().

#define STARTUP_PROGRESS_BOOTSTRAPPING   30

Definition at line 86 of file mainwindow.cpp.

Referenced by MainWindow::bootstrapStatusChanged().

#define STARTUP_PROGRESS_CIRCUITBUILD   75

Definition at line 87 of file mainwindow.cpp.

Referenced by MainWindow::authenticated().

#define STARTUP_PROGRESS_CONNECTING   10

Definition at line 84 of file mainwindow.cpp.

Referenced by MainWindow::started().

#define STARTUP_PROGRESS_MAXIMUM   (STARTUP_PROGRESS_BOOTSTRAPPING+100)

Definition at line 88 of file mainwindow.cpp.

#define STARTUP_PROGRESS_STARTING   0

Definition at line 83 of file mainwindow.cpp.

Referenced by MainWindow::updateTorStatus().


Generated on 2 Sep 2009 for Vidalia by  doxygen 1.6.1