libyui
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 
32 class YFramePrivate;
33 
34 
39 {
40 protected:
44  YFrame( YWidget * parent, const std::string & label );
45 
46 public:
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 
105 private:
106 
108 };
109 
110 
111 #endif // YFrame_h
YFrame(YWidget *parent, const std::string &label)
Definition: YFrame.cc:48
virtual ~YFrame()
Definition: YFrame.cc:56
virtual void setLabel(const std::string &newLabel)
Definition: YFrame.cc:62
Definition: YProperty.h:104
virtual bool setProperty(const std::string &propertyName, const YPropertyValue &val)
Definition: YFrame.cc:94
Definition: YProperty.h:197
Definition: YFrame.h:38
YWidget * parent() const
Definition: YWidget.cc:271
Definition: YSingleChildContainerWidget.h:34
virtual const char * widgetClass() const
Definition: YFrame.h:56
virtual YPropertyValue getProperty(const std::string &propertyName)
Definition: YFrame.cc:109
std::string label() const
Definition: YFrame.cc:68
virtual const YPropertySet & propertySet()
Definition: YFrame.cc:75
Definition: YFrame.cc:36
Definition: YWidget.h:54