Skip to content

Commit

Permalink
Update community.py
Browse files Browse the repository at this point in the history
  • Loading branch information
KorryKatti committed Mar 28, 2024
1 parent 4820f85 commit aa0585c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion appfiles/comm/community.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@ class MainWindow(QMainWindow):
def __init__(self):
super().__init__()
self.setWindowTitle("Embedded Web Page")
self.setGeometry(100, 100, 800, 600)

self.browser = QWebEngineView()
self.setCentralWidget(self.browser)

# Load URL
self.browser.setUrl(QUrl('https://www.example.com'))
url = QUrl("https://www.wikipedia.org")
self.browser.setUrl(url)

if __name__ == "__main__":
app = QApplication(sys.argv)
Expand Down

0 comments on commit aa0585c

Please sign in to comment.