NCL Composer  0.1.5
 All Classes Functions Variables Pages
GeneralPreferences.h
1 /* Copyright (c) 2011-2012 Telemidia/PUC-Rio.
2  * All rights reserved. This program and the accompanying materials
3  * are made available under the terms of the Eclipse Public License v1.0
4  * which accompanies this distribution, and is available at
5  * http://www.eclipse.org/legal/epl-v10.html
6  *
7  * Contributors:
8  * Telemidia/PUC-Rio - initial API and implementation
9  */
10 
11 #ifndef GENERALPREFERENCES_H
12 #define GENERALPREFERENCES_H
13 
14 #include "IPreferencesPage.h"
15 #include "FileChooser.h"
16 
17 namespace Ui {
18  class GeneralPreferences;
19 }
20 
21 namespace composer {
22  namespace gui {
23 
25 {
26 private:
27  Ui::GeneralPreferences *ui;
28  FileChooser *fileChooser;
29 
30 public:
34  explicit GeneralPreferences(QWidget *parent = 0);
38  virtual ~GeneralPreferences();
39 
40  const QString getName() {return tr("General");}
41  const QIcon getIcon() {return QIcon(":/mainwindow/config");}
42 
43 public slots:
47  void applyValues();
51  void setDefaultValues();
52 };
53 
54 }} //end namespace
55 #endif // GENERALPREFERENCES_H