libyui
YSquash.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: YSquash.h
20 
21  Author: Stefan Hundhammer <shundhammer@suse.de>
22 
23 /-*/
24 
25 #ifndef YSquash_h
26 #define YSquash_h
27 
28 #include "YSingleChildContainerWidget.h"
29 #include "ImplPtr.h"
30 
31 
32 class YSquashPrivate;
33 
42 {
43 protected:
50  YSquash( YWidget * parent, bool horSquash, bool vertSquash );
51 
52 public:
56  virtual ~YSquash();
57 
62  virtual const char * widgetClass() const;
63 
67  bool horSquash() const;
68 
72  bool vertSquash() const;
73 
74 
80  bool stretchable( YUIDimension dim ) const;
81 
82 private:
83 
85 };
86 
87 
88 #endif // YSquash_h
bool vertSquash() const
Definition: YSquash.cc:64
bool horSquash() const
Definition: YSquash.cc:58
YSquash(YWidget *parent, bool horSquash, bool vertSquash)
Definition: YSquash.cc:44
Definition: YSquash.h:41
YWidget * parent() const
Definition: YWidget.cc:271
virtual ~YSquash()
Definition: YSquash.cc:52
Definition: YSquash.cc:29
Definition: YSingleChildContainerWidget.h:34
virtual const char * widgetClass() const
Definition: YSquash.cc:80
bool stretchable(YUIDimension dim) const
Definition: YSquash.cc:70
Definition: YWidget.h:54