• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

rocs/App

  • sources
  • kde-4.14
  • kdeedu
  • rocs
  • App
  • Ui
ConfigureDefaultProperties.h
Go to the documentation of this file.
1 /*
2  This file is part of Rocs.
3  Copyright (C) 2011-2012 Andreas Cord-Landwehr <cola@uni-paderborn.de>
4 
5  This program is free software; you can redistribute it and/or
6  modify it under the terms of the GNU General Public License as
7  published by the Free Software Foundation; either version 2 of
8  the License, or (at your option) any later version.
9 
10  This program is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU General Public License for more details.
14 
15  You should have received a copy of the GNU General Public License
16  along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18 
19 #ifndef CONFIGUREDEFAULTPROPERTIES_H
20 #define CONFIGUREDEFAULTPROPERTIES_H
21 
22 #include <QWidget>
23 
24 namespace Ui
25 {
26 class ConfigureDefaultProperties;
27 }
28 
29 class ConfigureDefaultProperties : public QWidget
30 {
31  Q_OBJECT
32 
33 public:
34  explicit ConfigureDefaultProperties(QWidget* parent = 0);
35  ~ConfigureDefaultProperties();
36 
37  enum {
38  CENTER,
39  BELOW,
40  ABOVE
41  } DISPLAY_POSITION;
42 
43 
44 public slots:
45  void readConfig();
46  void saveConfig();
47  void setDisplayPositionNode(int position);
48  void setDisplayPositionEdge(int position);
49  void setExecutionModeDebugVisible(bool visible);
50  void setExecutionModeOneStepVisible(bool visible);
51 
52 private:
53  Ui::ConfigureDefaultProperties *ui;
54  int _displayPositionNode;
55  int _displayPositionEdge;
56  bool _executionModeDebugVisible;
57  bool _executionModeOneStepVisible;
58 
59 signals:
64  void changed(bool);
65 
69  void showExecuteModeDebugChanged(bool visible);
70 
74  void showExecuteModeOneStepChanged(bool visible);
75 };
76 
77 #endif // CONFIGUREDEFAULTPROPERTIES_H
QWidget
ConfigureDefaultProperties::CENTER
Definition: ConfigureDefaultProperties.h:38
ConfigureDefaultProperties::DISPLAY_POSITION
enum ConfigureDefaultProperties::@0 DISPLAY_POSITION
ConfigureDefaultProperties::saveConfig
void saveConfig()
Definition: ConfigureDefaultProperties.cpp:55
QWidget::visible
visible
ConfigureDefaultProperties::setExecutionModeDebugVisible
void setExecutionModeDebugVisible(bool visible)
Definition: ConfigureDefaultProperties.cpp:90
ConfigureDefaultProperties::changed
void changed(bool)
Signal is emitted if values are changed, but before changed values are saved.
ConfigureDefaultProperties
Definition: ConfigureDefaultProperties.h:29
ConfigureDefaultProperties::showExecuteModeOneStepChanged
void showExecuteModeOneStepChanged(bool visible)
Signal is emitted when value is saved.
ConfigureDefaultProperties::BELOW
Definition: ConfigureDefaultProperties.h:39
ConfigureDefaultProperties::setDisplayPositionEdge
void setDisplayPositionEdge(int position)
Definition: ConfigureDefaultProperties.cpp:80
ConfigureDefaultProperties::ConfigureDefaultProperties
ConfigureDefaultProperties(QWidget *parent=0)
Definition: ConfigureDefaultProperties.cpp:26
ConfigureDefaultProperties::~ConfigureDefaultProperties
~ConfigureDefaultProperties()
Definition: ConfigureDefaultProperties.cpp:40
ConfigureDefaultProperties::readConfig
void readConfig()
Definition: ConfigureDefaultProperties.cpp:46
ConfigureDefaultProperties::setExecutionModeOneStepVisible
void setExecutionModeOneStepVisible(bool visible)
Definition: ConfigureDefaultProperties.cpp:97
ConfigureDefaultProperties::setDisplayPositionNode
void setDisplayPositionNode(int position)
Definition: ConfigureDefaultProperties.cpp:70
QObject::parent
QObject * parent() const
ConfigureDefaultProperties::showExecuteModeDebugChanged
void showExecuteModeDebugChanged(bool visible)
Signal is emitted when value is saved.
ConfigureDefaultProperties::ABOVE
Definition: ConfigureDefaultProperties.h:40
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:16:13 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

rocs/App

Skip menu "rocs/App"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal