NCL Composer  0.1.5
 All Classes Functions Variables Pages
RunGingaConfig.h
1 /* Copyright (c) 2011 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 #ifndef RUNGINGACONFIG_H
11 #define RUNGINGACONFIG_H
12 
13 #include "IPreferencesPage.h"
14 
15 namespace Ui {
16  class RunGingaConfig;
17 }
18 
19 namespace composer {
20 namespace gui {
21 
26 {
27  Q_OBJECT
28 
29 private:
30  Ui::RunGingaConfig *ui;
31 
32 public:
33  explicit RunGingaConfig(QWidget *parent = 0);
34  ~RunGingaConfig();
35 
36  const QString getName() {return tr("Run Configuration");}
37  const QIcon getIcon() {return QIcon(":/mainwindow/images/play_button.png");}
38 
39 private:
40  void initializeDefaultValues();
41  void loadValuesFromSettings();
42 
43 public slots:
44  void applyValues();
45  void setDefaultValues();
46 
47  void changeToLocal(bool);
48  void changeToRemote(bool);
49  void browseButtonPressed();
50 };
51 
52 } } //end namespace
53 #endif // RUNGINGACONFIG_H