mirror of
https://github.com/copyrighttxt/watrbx-game-engine.git
synced 2026-09-07 05:57:47 +00:00
GEEKING
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
/**
|
||||
* RobloxBrowser.h
|
||||
* Copyright (c) 2013 ROBLOX Corp. All Rights Reserved.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
// Qt Headers
|
||||
#include <QWebView>
|
||||
|
||||
class RobloxBrowser : public QWebView
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
|
||||
RobloxBrowser(QWidget* parent=0);
|
||||
virtual ~RobloxBrowser();
|
||||
|
||||
public Q_SLOTS:
|
||||
|
||||
bool close();
|
||||
void resetLoadingTimer();
|
||||
|
||||
protected:
|
||||
|
||||
virtual void paintEvent(QPaintEvent*);
|
||||
virtual void dropEvent(QDropEvent* evt);
|
||||
|
||||
private Q_SLOTS:
|
||||
|
||||
void loadStarted();
|
||||
void loadFinished(bool);
|
||||
|
||||
private:
|
||||
|
||||
void drawLoadingWatermark();
|
||||
|
||||
RobloxBrowser* m_pPopup;
|
||||
QDialog* m_pPopupDlg;
|
||||
QTimer* m_loadingTimer;
|
||||
float m_refreshIncr;
|
||||
};
|
||||
Reference in New Issue
Block a user