mainwindow.cpp File Reference

Main (hidden) window. Creates tray menu and child windows. More...

#include <QtGui>
#include <QTimer>
#include <vidalia.h>
#include <util/file.h>
#include <util/html.h>
#include <util/string.h>
#include <QSysInfo>
#include "common/vmessagebox.h"
#include "common/animatedpixmap.h"
#include "mainwindow.h"

Go to the source code of this file.

Defines

#define IMG_APP_ICON   ":/images/16x16/tor-logo.png"
#define IMG_BWGRAPH   ":/images/16x16/utilities-system-monitor.png"
#define IMG_CONTROL_PANEL   ":/images/16x16/preferences-desktop.png"
#define IMG_MESSAGELOG   ":/images/16x16/format-justify-fill.png"
#define IMG_CONFIG   ":/images/16x16/preferences-system.png"
#define IMG_IDENTITY   ":/images/16x16/system-users.png"
#define IMG_HELP   ":/images/16x16/help-browser.png"
#define IMG_ABOUT   ":/images/16x16/tor-logo.png"
#define IMG_EXIT   ":/images/16x16/emblem-unreadable.png"
#define IMG_NETWORK   ":/images/16x16/applications-internet.png"
#define IMG_START_TOR_16   ":/images/16x16/start-tor.png"
#define IMG_STOP_TOR_16   ":/images/16x16/stop-tor.png"
#define IMG_START_TOR_48   ":/images/48x48/start-tor.png"
#define IMG_STOP_TOR_48   ":/images/48x48/stop-tor.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 ANIM_PROCESS_WORKING   ":/images/32x32/process-working.png"
#define MIN_NEWIDENTITY_INTERVAL   (10*1000)


Detailed Description

Main (hidden) window. Creates tray menu and child windows.

Version:
Id
Implements the main window. The main window is a hidden window that serves as the parent of the tray icon and popup menu, as well as other application dialogs.

Definition in file mainwindow.cpp.


Define Documentation

#define ANIM_PROCESS_WORKING   ":/images/32x32/process-working.png"

Definition at line 65 of file mainwindow.cpp.

Referenced by MainWindow::updateTorStatus().

#define IMG_ABOUT   ":/images/16x16/tor-logo.png"

Definition at line 52 of file mainwindow.cpp.

Referenced by MainWindow::createActions().

#define IMG_APP_ICON   ":/images/16x16/tor-logo.png"

Definition at line 45 of file mainwindow.cpp.

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

Definition at line 46 of file mainwindow.cpp.

Referenced by MainWindow::createActions().

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

Definition at line 49 of file mainwindow.cpp.

Referenced by MainWindow::createActions().

#define IMG_CONTROL_PANEL   ":/images/16x16/preferences-desktop.png"

Definition at line 47 of file mainwindow.cpp.

Referenced by MainWindow::createActions().

#define IMG_EXIT   ":/images/16x16/emblem-unreadable.png"

Definition at line 53 of file mainwindow.cpp.

Referenced by MainWindow::createActions().

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

Definition at line 51 of file mainwindow.cpp.

Referenced by MainWindow::createActions().

#define IMG_IDENTITY   ":/images/16x16/system-users.png"

Definition at line 50 of file mainwindow.cpp.

Referenced by MainWindow::createActions().

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

Definition at line 48 of file mainwindow.cpp.

Referenced by MainWindow::createActions().

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

Definition at line 54 of file mainwindow.cpp.

Referenced by MainWindow::createActions().

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

Definition at line 56 of file mainwindow.cpp.

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

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

Definition at line 58 of file mainwindow.cpp.

Referenced by MainWindow::updateTorStatus().

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

Definition at line 57 of file mainwindow.cpp.

Referenced by MainWindow::updateTorStatus().

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

Definition at line 59 of file mainwindow.cpp.

Referenced by MainWindow::updateTorStatus().

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

Definition at line 61 of file mainwindow.cpp.

Referenced by MainWindow::updateTorStatus().

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

Definition at line 62 of file mainwindow.cpp.

Referenced by MainWindow::updateTorStatus().

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

Definition at line 60 of file mainwindow.cpp.

Referenced by MainWindow::updateTorStatus().

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

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

Referenced by MainWindow::newIdentity().


Generated on Wed Sep 5 15:49:28 2007 for Vidalia by  doxygen 1.5.3