filmov
tv
How to make a Super Browser like Google using python || Aryav Kedia
Показать описание
please subscribe to my channel
code is
import sys
from PyQt5.QtCore import *
from PyQt5.QtWidgets import *
from PyQt5.QtWebEngineWidgets import *
class MainWindow(QMainWindow):
def __init__(self):
super(MainWindow, self).__init__()
# navbar
navbar = QToolBar()
back_btn = QAction('Back', self)
forward_btn = QAction('Forward', self)
reload_btn = QAction('Reload', self)
home_btn = QAction('Home', self)
thanks for watching
def navigate_home(self):
def navigate_to_url(self):
def update_url(self, q):
window = MainWindow()
code is
import sys
from PyQt5.QtCore import *
from PyQt5.QtWidgets import *
from PyQt5.QtWebEngineWidgets import *
class MainWindow(QMainWindow):
def __init__(self):
super(MainWindow, self).__init__()
# navbar
navbar = QToolBar()
back_btn = QAction('Back', self)
forward_btn = QAction('Forward', self)
reload_btn = QAction('Reload', self)
home_btn = QAction('Home', self)
thanks for watching
def navigate_home(self):
def navigate_to_url(self):
def update_url(self, q):
window = MainWindow()