2003-09-16 19:28:03 +00:00
|
|
|
/*****************************************************************
|
|
|
|
KWin - the KDE window manager
|
|
|
|
This file is part of the KDE project.
|
|
|
|
|
|
|
|
Copyright (c) 2003, Karol Szwed <kszwed@kde.org>
|
|
|
|
|
|
|
|
You can Freely distribute this program under the GNU General Public
|
|
|
|
License. See the file "COPYING" for the exact licensing terms.
|
|
|
|
******************************************************************/
|
2003-01-07 12:42:32 +00:00
|
|
|
|
|
|
|
#ifndef KWIN_GEOMETRY_TIP_H
|
|
|
|
#define KWIN_GEOMETRY_TIP_H
|
|
|
|
|
2006-05-11 08:04:23 +00:00
|
|
|
#include <QLabel>
|
2003-01-07 12:42:32 +00:00
|
|
|
#include "client.h"
|
|
|
|
|
2007-04-05 12:07:35 +00:00
|
|
|
namespace KWin
|
2003-01-07 12:42:32 +00:00
|
|
|
{
|
2003-09-16 19:28:03 +00:00
|
|
|
|
|
|
|
class GeometryTip: public QLabel
|
|
|
|
{
|
2003-07-29 16:00:52 +00:00
|
|
|
Q_OBJECT
|
2003-01-07 12:42:32 +00:00
|
|
|
public:
|
2003-09-16 19:28:03 +00:00
|
|
|
GeometryTip( const XSizeHints* xSizeHints, bool save_under );
|
|
|
|
~GeometryTip();
|
|
|
|
void setGeometry( const QRect& geom );
|
|
|
|
|
2003-01-07 12:42:32 +00:00
|
|
|
private:
|
2003-09-16 19:28:03 +00:00
|
|
|
const XSizeHints* sizeHints;
|
|
|
|
};
|
2003-01-07 12:42:32 +00:00
|
|
|
|
2003-09-16 19:28:03 +00:00
|
|
|
} // namespace
|
2003-01-07 12:42:32 +00:00
|
|
|
|
|
|
|
#endif
|