libyui
 
Loading...
Searching...
No Matches
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
32class YSquashPrivate;
33
42{
43protected:
50 YSquash( YWidget * parent, bool horSquash, bool vertSquash );
51
52public:
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
82private:
83
85};
86
87
88#endif // YSquash_h
Definition ImplPtr.h:43
YSingleChildContainerWidget(YWidget *parent)
Definition YSingleChildContainerWidget.cc:29
YSquash(YWidget *parent, bool horSquash, bool vertSquash)
Definition YSquash.cc:44
bool stretchable(YUIDimension dim) const
Definition YSquash.cc:70
virtual ~YSquash()
Definition YSquash.cc:52
bool vertSquash() const
Definition YSquash.cc:64
virtual const char * widgetClass() const
Definition YSquash.cc:80
bool horSquash() const
Definition YSquash.cc:58
YWidget(YWidget *parent)
Definition YWidget.cc:106
YWidget * parent() const
Definition YWidget.cc:277
Definition YSquash.cc:30