Message from @Unwound
Discord ID: 543636066801025055
GUI?
In what way?
it's basically python in a nutshell
yeah python with java is how I see it
it's easy and simple and useful
I have been using Python with Qt.
WXpython is nice
what type of nut shell is it running in?
well nice enough
walnut, i hope
Python and QT is the best of it, but it's such a bloated mess at the end
just make a web app
flask
QT is bloated garbage
@Mr. Jesus Yeah that's right. It's all just a scam to try to get you to use their other tools. Like C# is convenient if you are trying to build cloud apps using MS Azure.
I remember using vb
now it's so cringe to me
The designer is supposed to work with C/C++, but it will give you a UI file that you can convert into Python. Put it into a post build step and you can trick your Qt Designer into building Python UIs.
but unfortunately better than most of the options
just like gaymes
wut
I think I created a gui on vb once and i felt so accomplished with myself
@Unwound are you special
but the issue was the gui did absolutely notthing
We were all there once, no shame
python is a language not a GUI toolkit
not python
vb
if you can't write a good GUI in Python it's because you don't know how to implement UI
like saying you can't write a good you UI in C
@CasualSailor I've been doing C# for about 15 years that really isn't true. The problem with C# is that most programmers didn't bother actually making their code compatible with other Operating systems and ended up using crap like PInvoke and file paths. I literally had the same discussion with people about C# about 100 times now.
I would rather just make a web app, everytime. python binaries and simple package setup is annoying
yeah but c# and python are mostly used now to create bots
Once you have it set up it can be kind of convenient to put together Qt UIs.
no c sharp and python used for thousands and thousands of things
```python
rom PyQt5.Qt import QApplication, QMainWindow
from Ui_mainwindow import Ui_MainWindow
def dial(source, ui, val):
ui.plainTextEdit.setPlainText(str(val))
def clicked(ui):
ui.listWidget.addItem(str(ui.plainTextEdit.toPlainText()))
items = ui.listWidget.selectedItems()
if __name__ == '__main__':
app = QApplication([])
main = QMainWindow()
ui = Ui_MainWindow()
ui.setupUi(main)
ui.dial.valueChanged.connect(lambda val: dial(ui.dial, ui, val))
ui.pushButton.clicked.connect(lambda: clicked(ui))
main.show()
app.exec_()
```
ew max
mac