Vidalia 0.3.1
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
29{
30 Q_OBJECT
31
32public:
33 /** Default Constructor */
34 AppearancePage(QWidget *parent = 0);
35 /** Default Destructor */
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
44private:
45 /** A VidaliaSettings object used for saving/loading settings */
47
48 /** Qt Designer generated object */
49 Ui::AppearancePage ui;
50};
51
52#endif
Ui::AppearancePage ui
VidaliaSettings * _settings
virtual void retranslateUi()
bool save(QString &errmsg)
AppearancePage(QWidget *parent=0)