2
* $Id: menupreview.h,v 1.2 2002/03/01 14:46:39 danimo Exp $
4
* Menu Transparency Preview Widget
5
* Copyright (C) 2002 Karol Szwed <gallium@kde.org>
7
* This program is free software; you can redistribute it and/or
8
* modify it under the terms of the GNU General Public
9
* License version 2 as published by the Free Software Foundation.
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
* General Public License for more details.
16
* You should have received a copy of the GNU General Public License
17
* along with this program; see the file COPYING. If not, write to
18
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19
* Boston, MA 02111-1307, USA.
22
#ifndef __MENUPREVIEW_H
23
#define __MENUPREVIEW_H
29
class MenuPreview : public QWidget
40
MenuPreview( QWidget* parent, int opacity, PreviewMode pvm );
44
void setOpacity( int opacity );
45
void setPreviewMode( PreviewMode pvm );
48
void paintEvent( QPaintEvent* pe );
54
KPixmap* pixBackground;
61
// vim: set noet ts=4:
62
#endif // __MENUPREVIEW_H