1
/**************************************************************************
2
* Copyright (C) 2005-2015 by Oleksandr Shneyder *
3
* o.shneyder@phoca-gmbh.de *
5
* This program is free software; you can redistribute it and/or modify *
6
* it under the terms of the GNU General Public License as published by *
7
* the Free Software Foundation; either version 2 of the License, or *
8
* (at your option) any later version. *
9
* This program is distributed in the hope that it will be useful, *
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
12
* GNU General Public License for more details. *
14
* You should have received a copy of the GNU General Public License *
15
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
16
***************************************************************************/
20
#include "x2goclientconfig.h"
24
#include <QtSvg/QSvgRenderer>
26
class SVGFrame: public QFrame
31
SVGFrame ( QString fname, bool st, QWidget* parent=0, Qt::WFlags f=0 );
32
SVGFrame ( QWidget* parent=0, Qt::WFlags f=0 );
33
void setRepaintable ( bool val )
37
void loadBg ( QString fl );
38
virtual QSize sizeHint() const;
40
QSvgRenderer* renderer;
45
virtual void paintEvent ( QPaintEvent* event );
46
virtual void resizeEvent ( QResizeEvent* event );
48
virtual void mousePressEvent ( QMouseEvent * event );
50
QWidget* parentWidget;
52
void setMainWidget ( QWidget* widg )
60
void resized ( const QSize );