Link: @CplusplusQt Embedded: @EMBCpp • Allowed Topics: C++ and everything related to Qt • Use only English • No Private Message without asking user's permission • No NSFW • No Spam • No unauthorized Bots • No Offtopic • No Self Promotions
Welcome to the group, -! :-)
Wanna share your story of how you started with Qt, QML or C++? Maybe some nice feature that made you stick with it.
Rules are set on the description of the group. :)
Yes, that might be a problem. I'm not sure there is a way to turn it off, but you can rename the slots and connect them yourself.
Читать полностью…I have found about it here https://doc.qt.io/qt-6.5/qmetaobject.html#connectSlotsByName
Читать полностью…I found in my codebase slot with name on_pushButton_clicked
. Even thou this slot is not connected to anything(there is not explicit connection), it is triggered when object with name pushButton
triggers signal clicked
. Where could I read, how that (implicit?) connection happened?
Like left side it's has qt software call pencil 2d and right side is object oriented programming note and code describes
Читать полностью…Welcome to the group, -! :-)
Wanna share your story of how you started with Qt, QML or C++? Maybe some nice feature that made you stick with it.
Rules are set on the description of the group. :)
Attention Full-stack/Blockchain Developers! If you are interested in exciting opportunities, I would love to talk. Feel free to contact dm
Читать полностью…anyone help me please?
# test_icon.pyicon not working or showing, please download an image online and use it to test for me and fix for me Читать полностью…
import sys
from PySide6.QtWidgets import QApplication, QLabel, QVBoxLayout, QWidget
from PySide6.QtGui import QPixmap
from qss_style import resources_rc # Import the compiled resources
# <!-- clean/qss_style/resources.qrc -->
# <RCC>
# <qresource prefix="/icons">
# <file>icons/drop_down.png</file>
# <!-- Add more icon files here if needed -->
# </qresource>
# <qresource prefix="/styles">
# <file>style.qss</file>
# </qresource>
# </RCC>
#-- Command---#
# pyside6-rcc resources.qrc -o resources_rc.py
def main():
app = QApplication(sys.argv)
window = QWidget()
layout = QVBoxLayout()
label = QLabel()
pixmap = QPixmap(":/icons/drop_down.png")
if pixmap.isNull():
print("Failed to load icon: :/icons/drop_down.png")
label.setText("Icon Failed to Load")
else:
print("Successfully loaded icon: :/icons/drop_down.png")
label.setPixmap(pixmap.scaled(16, 16)) # Adjust size as needed
layout.addWidget(label)
window.setLayout(layout)
window.show()
sys.exit(app.exec())
if __name__ == "__main__":
main()
anyone help me please?
# test_icon.pyicon not working or showing, please download an image online and use it to test for me and fix for me Читать полностью…
import sys
from PySide6.QtWidgets import QApplication, QLabel, QVBoxLayout, QWidget
from PySide6.QtGui import QPixmap
from qss_style import resources_rc # Import the compiled resources
# <!-- clean/qss_style/resources.qrc -->
# <RCC>
# <qresource prefix="/icons">
# <file>icons/drop_down.png</file>
# <!-- Add more icon files here if needed -->
# </qresource>
# <qresource prefix="/styles">
# <file>style.qss</file>
# </qresource>
# </RCC>
#-- Command---#
# pyside6-rcc resources.qrc -o resources_rc.py
def main():
app = QApplication(sys.argv)
window = QWidget()
layout = QVBoxLayout()
label = QLabel()
pixmap = QPixmap(":/icons/drop_down.png")
if pixmap.isNull():
print("Failed to load icon: :/icons/drop_down.png")
label.setText("Icon Failed to Load")
else:
print("Successfully loaded icon: :/icons/drop_down.png")
label.setPixmap(pixmap.scaled(16, 16)) # Adjust size as needed
layout.addWidget(label)
window.setLayout(layout)
window.show()
sys.exit(app.exec())
if __name__ == "__main__":
main()
I don't like it. It makes analyzing dependencies harder
Like: Is it used anywhere? Nope. Let's remove it. And everything breaks
https://doc.qt.io/qt-6/designer-using-a-ui-file.html#automatic-connections
Читать полностью…Welcome to the group, -! :-)
Wanna share your story of how you started with Qt, QML or C++? Maybe some nice feature that made you stick with it.
Rules are set on the description of the group. :)
In this video try me cover oops and qt software in once
Читать полностью…Welcome to the group, @w4rd3nclyffe! :-)
Wanna share your story of how you started with Qt, QML or C++? Maybe some nice feature that made you stick with it.
Rules are set on the description of the group. :)
Yh I generated it , .py file and imported in the main file application but still didn’t work, I added some debug statements to check the file path but shows it wasn’t found
Читать полностью…anyone help me please?
# test_icon.pyicon not working or showing, please download an image online and use it to test for me and fix for me Читать полностью…
import sys
from PySide6.QtWidgets import QApplication, QLabel, QVBoxLayout, QWidget
from PySide6.QtGui import QPixmap
from qss_style import resources_rc # Import the compiled resources
# <!-- clean/qss_style/resources.qrc -->
# <RCC>
# <qresource prefix="/icons">
# <file>icons/drop_down.png</file>
# <!-- Add more icon files here if needed -->
# </qresource>
# <qresource prefix="/styles">
# <file>style.qss</file>
# </qresource>
# </RCC>
#-- Command---#
# pyside6-rcc resources.qrc -o resources_rc.py
def main():
app = QApplication(sys.argv)
window = QWidget()
layout = QVBoxLayout()
label = QLabel()
pixmap = QPixmap(":/icons/drop_down.png")
if pixmap.isNull():
print("Failed to load icon: :/icons/drop_down.png")
label.setText("Icon Failed to Load")
else:
print("Successfully loaded icon: :/icons/drop_down.png")
label.setPixmap(pixmap.scaled(16, 16)) # Adjust size as needed
layout.addWidget(label)
window.setLayout(layout)
window.show()
sys.exit(app.exec())
if __name__ == "__main__":
main()
anyone help me please?
# test_icon.pyicon not working or showing, please download an image online and use it to test for me and fix for me Читать полностью…
import sys
from PySide6.QtWidgets import QApplication, QLabel, QVBoxLayout, QWidget
from PySide6.QtGui import QPixmap
from qss_style import resources_rc # Import the compiled resources
# <!-- clean/qss_style/resources.qrc -->
# <RCC>
# <qresource prefix="/icons">
# <file>icons/drop_down.png</file>
# <!-- Add more icon files here if needed -->
# </qresource>
# <qresource prefix="/styles">
# <file>style.qss</file>
# </qresource>
# </RCC>
#-- Command---#
# pyside6-rcc resources.qrc -o resources_rc.py
def main():
app = QApplication(sys.argv)
window = QWidget()
layout = QVBoxLayout()
label = QLabel()
pixmap = QPixmap(":/icons/drop_down.png")
if pixmap.isNull():
print("Failed to load icon: :/icons/drop_down.png")
label.setText("Icon Failed to Load")
else:
print("Successfully loaded icon: :/icons/drop_down.png")
label.setPixmap(pixmap.scaled(16, 16)) # Adjust size as needed
layout.addWidget(label)
window.setLayout(layout)
window.show()
sys.exit(app.exec())
if __name__ == "__main__":
main()
Welcome to the group, @IshaqShamraiz! :-)
Wanna share your story of how you started with Qt, QML or C++? Maybe some nice feature that made you stick with it.
Rules are set on the description of the group. :)
@unknowRecon [6131908980
] warned (1 of 2).
Due to: refrain from unauthorized self promotion
Maybe this is enough, I didn't find where is the source code of Qt for MCU (while it should be accessible, ask to the devs directly I think, which is concerning).
Читать полностью…