Vidalia
0.3.1
Main Page
Namespaces
Classes
Files
File List
File Members
src
vidalia
config
AppearancePage.h
Go to the documentation of this file.
1
/*
2
** This file is part of Vidalia, and is subject to the license terms in the
3
** LICENSE file, found in the top level directory of this distribution. If you
4
** did not receive the LICENSE file with this file, you may obtain it from the
5
** Vidalia source package distributed by the Vidalia Project at
6
** http://www.torproject.org/projects/vidalia.html. No part of Vidalia,
7
** including this file, may be copied, modified, propagated, or distributed
8
** except according to the terms described in the LICENSE file.
9
*/
10
11
/*
12
** \file AppearancePage.h
13
** \brief Displays Vidalia language and style settings
14
*/
15
16
#ifndef _APPEARANCEPAGE_H
17
#define _APPEARANCEPAGE_H
18
19
#include "ui_AppearancePage.h"
20
#include "
VidaliaSettings.h
"
21
#include "
LanguageSupport.h
"
22
#include "
ConfigPage.h
"
23
24
#include <QStyleFactory>
25
#include <QLineEdit>
26
27
28
class
AppearancePage
:
public
ConfigPage
29
{
30
Q_OBJECT
31
32
public
:
33
/** Default Constructor */
34
AppearancePage
(QWidget *parent = 0);
35
/** Default Destructor */
36
~AppearancePage
();
37
/** Saves the changes on this page */
38
bool
save
(QString &errmsg);
39
/** Loads the settings for this page */
40
void
load
();
41
/** Called when the user changes the UI translation. */
42
virtual
void
retranslateUi
();
43
44
private
:
45
/** A VidaliaSettings object used for saving/loading settings */
46
VidaliaSettings
*
_settings
;
47
48
/** Qt Designer generated object */
49
Ui::AppearancePage
ui
;
50
};
51
52
#endif
AppearancePage::ui
Ui::AppearancePage ui
Definition:
AppearancePage.h:49
AppearancePage::retranslateUi
virtual void retranslateUi()
Definition:
AppearancePage.cpp:49
AppearancePage::save
bool save(QString &errmsg)
Definition:
AppearancePage.cpp:56
ConfigPage
Definition:
ConfigPage.h:22
AppearancePage::_settings
VidaliaSettings * _settings
Definition:
AppearancePage.h:46
VidaliaSettings
Definition:
VidaliaSettings.h:33
AppearancePage::~AppearancePage
~AppearancePage()
Definition:
AppearancePage.cpp:42
LanguageSupport.h
AppearancePage::load
void load()
Definition:
AppearancePage.cpp:95
ConfigPage.h
VidaliaSettings.h
AppearancePage::AppearancePage
AppearancePage(QWidget *parent=0)
Definition:
AppearancePage.cpp:22
AppearancePage
Definition:
AppearancePage.h:28
Generated on Mon Oct 27 2014 19:40:11 for Vidalia by
1.8.8