diff options
author | Ben Boeckel <MathStuf@gmail.com> | 2009-03-01 15:42:49 -0500 |
---|---|---|
committer | Ben Boeckel <MathStuf@gmail.com> | 2009-03-01 15:42:49 -0500 |
commit | 211c50f6ca51696b975c85d52283245e3fbefbe1 (patch) | |
tree | 040d1f043ce6d603cb87edd7a446f1deaded7c12 /sigmodr/widgets/SkinUI_p.h | |
parent | 1055a9b2d0a4e065812a048a3fe3390b550f3262 (diff) | |
download | sigen-211c50f6ca51696b975c85d52283245e3fbefbe1.tar.gz sigen-211c50f6ca51696b975c85d52283245e3fbefbe1.tar.xz sigen-211c50f6ca51696b975c85d52283245e3fbefbe1.zip |
Add private widget headers
Diffstat (limited to 'sigmodr/widgets/SkinUI_p.h')
-rw-r--r-- | sigmodr/widgets/SkinUI_p.h | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/sigmodr/widgets/SkinUI_p.h b/sigmodr/widgets/SkinUI_p.h new file mode 100644 index 00000000..15890e9a --- /dev/null +++ b/sigmodr/widgets/SkinUI_p.h @@ -0,0 +1,66 @@ +/* + * Copyright 2008-2009 Ben Boeckel <MathStuf@gmail.com> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef SIGMODRWIDGETS_SKINUI_P +#define SIGMODRWIDGETS_SKINUI_P + +// Header include +#include "SkinUI.h" + +// Sigmodr widget includes +#include "ObjectUIPrivate.h" + +// Forward declarations +class KLineEdit; +namespace Sigcore +{ +class Script; +} + +namespace Sigmodr +{ +namespace CoreWidgets +{ +class ScriptWidget; +} + +namespace Widgets +{ +class SkinUI::Private : public ObjectUIPrivate +{ + Q_OBJECT + + public: + Private(Sigmod::Skin* skin); + ~Private(); + + QWidget* makeWidgets(ObjectUI* widget); + + Sigmod::Skin* m_skin; + public slots: + void resetGui(); + protected slots: + void nameChanged(const QString& name); + void scriptChanged(const Sigcore::Script& script); + private: + KLineEdit* ui_name; + CoreWidgets::ScriptWidget* ui_script; +}; +} +} + +#endif |