1
mirror of https://invent.kde.org/network/falkon.git synced 2024-09-23 10:42:11 +02:00
falkonOfficial/src/tools/widget.h
nowrep 0e82994e7f Improved javascript alert, confirm, prompt dialogs.
- instead of injecting semi transparent block into page, we
   just set background of the whole widget frame to semi
   transparent image

 - fixes issue, when sometimes background filled only half
   of the page
   this issue occurs sometimes when more than one frames
   were in page
2011-11-24 22:18:45 +01:00

50 lines
1.2 KiB
C++

/* ============================================================
* QupZilla - WebKit based browser
* Copyright (C) 2010-2011 David Rosca
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* ============================================================ */
#ifndef WIDGET_H
#define WIDGET_H
#include <QWidget>
#include <QFrame>
class Widget : public QWidget
{
Q_OBJECT
public:
explicit Widget(QWidget* parent = 0);
signals:
public slots:
void slotResize(const QSize &size);
};
class ResizableFrame : public QFrame
{
Q_OBJECT
public:
explicit ResizableFrame(QWidget* parent = 0);
signals:
public slots:
void slotResize(const QSize &size);
};
#endif // WIDGET_H