cplusplusqt | Unsorted

Telegram-канал cplusplusqt - C++ & Qt

1220

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

Subscribe to a channel

C++ & Qt

AI is like a new tool, like an electric screwdriver, it will not replace the carpenter

Читать полностью…

C++ & Qt

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. :)

Читать полностью…

C++ & Qt

it works Thank you so so much

Читать полностью…

C++ & Qt

cool thank you let me try it..

Читать полностью…

C++ & Qt

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. :)

Читать полностью…

C++ & Qt

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.

Читать полностью…

C++ & Qt

I have found about it here https://doc.qt.io/qt-6.5/qmetaobject.html#connectSlotsByName

Читать полностью…

C++ & Qt

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?

Читать полностью…

C++ & Qt

Like left side it's has qt software call pencil 2d and right side is object oriented programming note and code describes

Читать полностью…

C++ & Qt

https://youtu.be/txRjULLzPDA?feature=shared

Читать полностью…

C++ & Qt

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. :)

Читать полностью…

C++ & Qt

Really Hard to understand

Читать полностью…

C++ & Qt

Attention Full-stack/Blockchain Developers! If you are interested in exciting opportunities, I would love to talk. Feel free to contact dm

Читать полностью…

C++ & Qt

Do you get an error? Is the resource file generated?

Читать полностью…

C++ & Qt

anyone help me please?

# test_icon.py

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()
icon not working or showing, please download an image online and use it to test for me and fix for me

Читать полностью…

C++ & Qt

ai is garbage in garbage out, you have to know what to ask to get good results. Also you have to check the result, and to be able to do that you need to be a developer

Читать полностью…

C++ & Qt

Welcome to the group, @proxyspot_th! :-)

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. :)

Читать полностью…

C++ & Qt

Attention Full-stack/Blockchain Developers! If you are interested in exciting opportunities, I would love to talk. Feel free to contact dm

Читать полностью…

C++ & Qt

Welcome to the group, @nullopt_t! :-)

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. :)

Читать полностью…

C++ & Qt

Yeah, that is what I am about to do

Читать полностью…

C++ & Qt

I don't like it. It makes analyzing dependencies harder

Like: Is it used anywhere? Nope. Let's remove it. And everything breaks

Читать полностью…

C++ & Qt

https://doc.qt.io/qt-6/designer-using-a-ui-file.html#automatic-connections

Читать полностью…

C++ & Qt

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. :)

Читать полностью…

C++ & Qt

In this video try me cover oops and qt software in once

Читать полностью…

C++ & Qt

window->raise();
window->setFocus();

Читать полностью…

C++ & Qt

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. :)

Читать полностью…

C++ & Qt

I'm learning DSA in C++

Читать полностью…

C++ & Qt

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

Читать полностью…

C++ & Qt

anyone help me please?

# test_icon.py

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()
icon not working or showing, please download an image online and use it to test for me and fix for me

Читать полностью…

C++ & Qt

anyone help me please?

# test_icon.py

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()
icon not working or showing, please download an image online and use it to test for me and fix for me

Читать полностью…
Subscribe to a channel