libyui
 
Loading...
Searching...
No Matches
YFrame.h
1/*
2 Copyright (C) 2000-2012 Novell, Inc
3 This library is free software; you can redistribute it and/or modify
4 it under the terms of the GNU Lesser General Public License as
5 published by the Free Software Foundation; either version 2.1 of the
6 License, or (at your option) version 3.0 of the License. This library
7 is distributed in the hope that it will be useful, but WITHOUT ANY
8 WARRANTY; without even the implied warranty of MERCHANTABILITY or
9 FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
10 License for more details. You should have received a copy of the GNU
11 Lesser General Public License along with this library; if not, write
12 to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
13 Floor, Boston, MA 02110-1301 USA
14*/
15
16
17/*-/
18
19 File: YFrame.h
20
21 Author: Stefan Hundhammer <shundhammer@suse.de>
22
23/-*/
24
25#ifndef YFrame_h
26#define YFrame_h
27
28#include <string>
29#include "YSingleChildContainerWidget.h"
30#include "ImplPtr.h"
31
32class YFramePrivate;
33
34
39{
40protected:
44 YFrame( YWidget * parent, const std::string & label );
45
46public:
50 virtual ~YFrame();
51
56 virtual const char * widgetClass() const { return "YFrame"; }
57
64 virtual void setLabel( const std::string & newLabel );
65
69 std::string label() const;
70
84 virtual bool setProperty( const std::string & propertyName,
85 const YPropertyValue & val );
86
94 virtual YPropertyValue getProperty( const std::string & propertyName );
95
102 virtual const YPropertySet & propertySet();
103
104
105private:
106
108};
109
110
111#endif // YFrame_h
Definition ImplPtr.h:43
virtual void setLabel(const std::string &newLabel)
Definition YFrame.cc:62
virtual ~YFrame()
Definition YFrame.cc:56
YFrame(YWidget *parent, const std::string &label)
Definition YFrame.cc:48
virtual bool setProperty(const std::string &propertyName, const YPropertyValue &val)
Definition YFrame.cc:94
virtual const YPropertySet & propertySet()
Definition YFrame.cc:75
virtual YPropertyValue getProperty(const std::string &propertyName)
Definition YFrame.cc:109
virtual const char * widgetClass() const
Definition YFrame.h:56
std::string label() const
Definition YFrame.cc:68
Definition YProperty.h:198
Definition YProperty.h:105
YSingleChildContainerWidget(YWidget *parent)
Definition YSingleChildContainerWidget.cc:29
YWidget(YWidget *parent)
Definition YWidget.cc:106
YWidget * parent() const
Definition YWidget.cc:277
Definition YFrame.cc:37