This commit is contained in:
ZI Coder 2021-06-09 22:14:28 +05:30 committed by GitHub
commit e7803f8ee7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 48 additions and 3 deletions

29
License Normal file
View File

@ -0,0 +1,29 @@
BSD 3-Clause License
Copyright (c) 2021, ZI Zoraez
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

16
README.md Normal file
View File

@ -0,0 +1,16 @@
# Advanced-Browser
An Advanced version of Simple Browser and has no errors and you can do it with any code editor
Put this in the terminal of your python project:
```
pip install PyQt5
pip install PyQtWebEngine
```
After you have done that step then copy and paste the code into your code editor from main.py
If you need any help or have issues write it in the issues section.
Feel free to change anything with the code

View File

@ -39,7 +39,7 @@ class MainWindow(QMainWindow):
self.browser.urlChanged.connect(self.update_url)
def navigate_home(self):
self.browser.setUrl(QUrl('http://programming-hero.com'))
self.browser.setUrl(QUrl('http://google.com'))
def navigate_to_url(self):
url = self.url_bar.text()
@ -50,6 +50,6 @@ class MainWindow(QMainWindow):
app = QApplication(sys.argv)
QApplication.setApplicationName('My Cool Browser')
QApplication.setApplicationName('Advanced Browser')
window = MainWindow()
app.exec_()