wanderson-magalhaes / simple_pyside_base Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Embedded QWebEngineView widget is laggy and unresponsive, as in does not respond to anything unless I click somewhere else on the screen. For example, I embedded a QWebEngineView widget in the home page using this code:
self.browser = QWebEngineView()
self.ui.verticalLayout_10.addWidget(self.browser)
self.browser.load(QUrl("http://www.google.com"))
self.show()
The embedded widget will remain blank unless I click somewhere else for example my code editor. Then when google shows up you are not able to see what you type in until you click somewhere else on the screen.
It works totally fine if it is not embedded (achieved through not adding the widget to the layout)
This is a great project, thank you so much!
Hello!
Thank you so much for this project great starter for a project.
I am just wondering if you use another tool to convert the QT Designer file to python and do we update the design.
Thank you so much for your time.
@Wanderson-Magalhaes I would like to create custom functions. Can you write a sample code for declaring the function in AppFunction and pass the MainWindow object because I have tried but not able to open QMessageBox and QFileDialog using the app functions.
how did you delete the standart "minimize, full size and close" buttons and change them with yours?
Hello, Wanderson,
First, thank you so much for a great starter kit with a really rare dark theme!
Can i ask how can i add a light mode to this app? A few references is enough for me, i really appreciate your works and videos , keep go we support you :)
Hi Wanderson. Amazing work! I'm a big fan of Qt as well. Please add some form of contact so that people can reach you in private (my case for example!). Abraços, Allan (allan.leal at erdw.ethz.ch)
Olá, Wanderson.
Toda vez ao diminuir o tamanho da tela e estando algum widget presente na página, a interface pisca.
Isso ocorre por exemplo na página "Custom Widgets".
Verifiquei que é algo relacionado ao Toggle Burguer Menu. Desativando essa funcionalidade e deixando o menu estático, o problema desaparece.
Você tem alguma ideia de alguma solução para esse problema?
(Perdão por postar em português, mas meu inglês é bem básico).
so i was wondering how i would be able to add text to a new custom menu, help would be appreciated thanks
Thank you for the open source The interface that runs out can't edit the lineedit object, the text content, how do I set it
could you please,,, explain how to fix/frozen row & column in tablewideget of pyside2 in your application....?
i need really your help... plz
This code, when executed in Windows, works properly. However, when opened in Mac, the app is not responding, and not visible when executed.
So, do you have a Mac version of this app that runs properly?
If you are using PyQT5 with Pyside2 then following issue is raised:
qt.qpa.plugin: Could not load the Qt platform plugin "windows" in "" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. Available platform plugins are: direct2d, minimal, offscreen, windows.
The Solution is to add the following lines in the beginning of the main.py
import os
import PySide2
dirname = os.path.dirname(PySide2.file)
plugin_path = os.path.join(dirname, 'plugins', 'platforms')
os.environ['QT_QPA_PLATFORM_PLUGIN_PATH'] = plugin_path
Hi, first thanks for the time saver simple base. However, having some comments about the pythonic interpretation which can be subjective to the perspective. The following are suggestions for better usage of the repository.
besides those comments the repo is really helpful and time saver, thanks a lot!
################################################################################
##
## BY: WANDERSON M.PIMENTA
## PROJECT MADE WITH: Qt Designer and PySide2
## V: 1.0.0
##
## This project can be used freely for all uses, as long as they maintain the
## respective credits only in the Python scripts, any information in the visual
## interface (GUI) can be modified without any implication.
##
## There are limitations on Qt licenses if you want to use your products
## commercially, I recommend reading them on the official website:
## https://doc.qt.io/qtforpython/licenses.html
##
################################################################################
## ==> GUI FILE
from main import *
class Functions(MainWindow):
pass
Copypasted the app_functions file, "MainWindow" isn't defined and may cause a crash.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.