mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-22 08:46:39 -06:00
36 lines
809 B
C
36 lines
809 B
C
|
//////////////////////////////////////////////////////////////////////////
|
||
|
//
|
||
|
// pgAdmin 4 - PostgreSQL Tools
|
||
|
//
|
||
|
// Copyright (C) 2013 - 2016, The pgAdmin Development Team
|
||
|
// This software is released under the PostgreSQL Licence
|
||
|
//
|
||
|
// WebViewWindow.h - Declaration of the custom web view widget
|
||
|
//
|
||
|
//////////////////////////////////////////////////////////////////////////
|
||
|
|
||
|
#ifndef WEBVIEWWINDOW_H
|
||
|
#define WEBVIEWWINDOW_H
|
||
|
|
||
|
#include "pgAdmin4.h"
|
||
|
|
||
|
#include <QtWebKitWidgets>
|
||
|
|
||
|
class WebViewWindow : public QWebView
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
WebViewWindow(QWidget *parent = NULL);
|
||
|
void setFirstLoadURL(const QString &url);
|
||
|
QString getFirstLoadURL() const;
|
||
|
void setTabIndex(const int &tabIndex);
|
||
|
int getTabIndex() const;
|
||
|
|
||
|
private:
|
||
|
QString m_url;
|
||
|
int m_tabIndex;
|
||
|
|
||
|
};
|
||
|
|
||
|
#endif // WEBVIEWWINDOW_H
|