mirror of
https://github.com/copyrighttxt/watrbx-game-engine.git
synced 2026-09-04 20:57:49 +00:00
49 lines
918 B
C++
49 lines
918 B
C++
/**
|
|
* RobloxTutorials.h
|
|
* Copyright (c) 2014 ROBLOX Corp. All Rights Reserved.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <QObject>
|
|
#include <QWidget>
|
|
#include <QPushButton>
|
|
|
|
class QUrl;
|
|
class QToolBar;
|
|
|
|
class RobloxBrowser;
|
|
|
|
class RobloxTutorials: public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
RobloxTutorials();
|
|
|
|
private Q_SLOTS:
|
|
void linkClicked(const QUrl& url);
|
|
void urlChanged(const QUrl& url);
|
|
void disableLinks(const QUrl& url);
|
|
void updateButtons();
|
|
void handleHomeClicked();
|
|
|
|
void resizeWidget();
|
|
|
|
private:
|
|
void setupWebView(QWidget*);
|
|
|
|
RobloxBrowser *m_pWebView;
|
|
RobloxBrowser *m_pWebContentsView;
|
|
QWidget *m_pWrapperWidget;
|
|
QPushButton *m_pBackButton;
|
|
QPushButton *m_pForwardButton;
|
|
QPushButton *m_pStopButton;
|
|
QPushButton *m_pReloadButton;
|
|
QPushButton *m_pHomeButton;
|
|
|
|
bool m_firstPaint;
|
|
bool m_firstClick;
|
|
};
|
|
|