diff --git a/License b/License new file mode 100644 index 0000000..0d993e7 --- /dev/null +++ b/License @@ -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. diff --git a/README.md b/README.md new file mode 100644 index 0000000..0b40c06 --- /dev/null +++ b/README.md @@ -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 + diff --git a/main.py b/main.py index 6b45da5..35cf739 100644 --- a/main.py +++ b/main.py @@ -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_() \ No newline at end of file +app.exec_()