RyuGod
Programming Language Collector
Hello, World!
examples
9x9tables
AES
hanoi
regression
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import sys
#importing Widgtes
from PyQt5.QtWidgets import *
#importing Engine Widgets
from PyQt5.QtWebEngineWidgets import *
#importing QtCore to use Qurl
from PyQt5.QtCore import *
#main window class (to create a window)-sub class of QMainWindow class
class Window(QMainWindow):
    #defining constructor function
    def __init__(self):
        #creating connnection with parent class constructor
        super(Window,self).__init__()
        #---------------------adding browser-------------------
        self.browser = QWebEngineView()
        #setting url for browser, you can use any other url also
        self.browser.setUrl(QUrl('http://google.com'))
        #to display google search engine on our browser
        self.setCentralWidget(self.browser)
        #-------------------full screen mode------------------
        #to display browser in full screen mode, you may comment below line if you don't want to open your browser in full screen mode
        self.showMaximized()
        #----------------------navbar-------------------------
Enter to Rename, <Shift>+Enter to Preview
TerminalInput valueWebOutput
W