public inbox for [email protected]
help / color / mirror / Atom feedFrom: Dave Page <[email protected]>
To: [email protected]
Subject: pgAdmin 4 commit: Support tabs in the runtime browser.
Date: Mon, 18 Jan 2016 14:35:39 +0000
Message-ID: <[email protected]> (raw)
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgadmin-hackers>
Support tabs in the runtime browser.
Added functionality to open different website link and load the
website data to different tab. To achieve this, new customized
QTabWidget and QWebView are added to render the data to WebView
widget. All the widgets (New Tab, WebViewWinodw, and QToolButton)
are added dynamically. QToolButton is used to traverse back and
forward to web document opened in WebViewWindow.
Introduced the New class called WebViewWindow which is derived
from QWebView. Each tab of the QTabWidget contains the instance
of WebViewWindow class. WebViewWindow class is useful to display
the web document.
Introduced New class called TabWindow which is derived from
QTabWidget. This class is useful to achieve following functionality:
- Customize the close button of tabbar so that it can only be
visible other then main pgAdmin 4 window.
- Enable/Disable the toolbutton added left side of tabbar
depending on the web history traversed by the user in WebViewWindow.
- Set the tooltip text of the tabbar depending on the title change
event of WebViewWindow class.
Modified the Qt project file to support the both the version
of python 2 and python 3.
Qt5 is recommended to test pgAdmin4 in dektop mode.
Branch
------
master
Details
-------
http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=8f146ebb4caca001f814151ec05fd1bb053aa...
Author: Neel Patel <[email protected]>
Modified Files
--------------
runtime/BrowserWindow.cpp | 304 +++++++++++++++++++++++++++++++++++++++++++---
runtime/BrowserWindow.h | 30 ++++-
runtime/Server.cpp | 26 +++-
runtime/Server.h | 5 +-
runtime/TabWindow.cpp | 134 ++++++++++++++++++++
runtime/TabWindow.h | 57 +++++++++
runtime/WebViewWindow.cpp | 42 +++++++
runtime/WebViewWindow.h | 35 ++++++
runtime/pgAdmin4.cpp | 21 ++--
runtime/pgAdmin4.h | 3 +-
runtime/pgAdmin4.pro | 24 +++-
11 files changed, 639 insertions(+), 42 deletions(-)
--
Sent via pgadmin-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected]
Subject: Re: pgAdmin 4 commit: Support tabs in the runtime browser.
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox