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

I'm looking for 2-3 people for a new project❗️
Transparent remote work✔️
Write to me at @HealyB7

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

C++ & Qt

Looking for several responsible people to collaborate with on Bybit! (21+)
Everything is transparent. Daily payments.
Completely remote!
Write to @HealyB7

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

C++ & Qt

Welcome to the group, @Santhosh252! :-)

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

Oh great, this works!!

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

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

For the record, setting height in the <img> HTML tag doesn't accomplish anything.

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

C++ & Qt

So solution (a) is the one I'm trying right now with specifying width and height, but I would rather (b) have the widget determine its height. Any insights how to achieve that?

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

C++ & Qt

Happy Holidays everyone! - Question regarding rendering HTML in a QTextBrowser, and determining the required height of the widget.

I render some HTML in a QTextBrowser that inlines some external images (<img src="..."/>). That works fine. My general goal is for the widget to resize itself to its required size, so I set setSizeAdjustPolicy(QAbstractScrollArea::AdjustToContents). However, this does not work - the widget shows a vertical scroll bar.

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

C++ & Qt

Welcome to the group, @Janek211508! :-)

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

Has anyone used ADS (advance docking system) here i am having problems in changing the style and themes ?

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

C++ & Qt

Welcome to the group, @cley_h2! :-)

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

Functor templates are not necessarily something to make your start in C++.

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

C++ & Qt

That’s more of a reference. Good for looking things up, but perhaps not as a textbook.

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

C++ & Qt

If you want a steep learning curve, read Stroustrup's book.

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

C++ & Qt

Do you have any c/c++ experience? Classic (pre c++11) books are quite heavy on pointers and iterators, which may scare some readers off.
You will still need to learn those things, but the learning curve is not as steep nowadays.

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

C++ & Qt

Welcome to the group, @annafischerr! :-)

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

Welcome to the group, @annyctowl! :-)

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

Welcome to the group, @Zenooone! :-)

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

@shimarongreywolf What if you turn the scroll bars off and set setFixedSize to document ().size().toSize() on documentSizeChanged?

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

C++ & Qt

No, this does not work. Thanks anyway. I'll post a solution if I find one.

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

C++ & Qt

Happy holidays!

ChatGPT proposes this (but I haven’t verified):

QTextBrowser *browser = new QTextBrowser(this);
browser->setSizeAdjustPolicy(QAbstractScrollArea::AdjustToContents);
browser->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
browser->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);

// Important: constrain text width so height can be computed
browser->document()->setTextWidth(browser->viewport()->width());

// React when images change the document size
connect(browser->document()->documentLayout(),
&QAbstractTextDocumentLayout::documentSizeChanged,
browser,
[browser](const QSizeF &) {
browser->updateGeometry(); // notify layout system
});

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

C++ & Qt

My guess is that this is due to the image being inlined and no width/height being specified.

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

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

Welcome to the group, @hzjyyds! :-)

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

Shermen, Please press the button below within 5 Minutes to prove that you are not a bot.👇🏻

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

C++ & Qt

Hi all! Has anyone tried to deploy the qt/qml environment in manjaro for Android development? Can you share the installation steps? When sdkmanager --list produces the following: Caused by: java.lang.ClassNotFoundException: javax.xml.bind.annotation.XmlSchema

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

C++ & Qt

He did write a shorter overview of new c++ features a couple of years ago though

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

C++ & Qt

I tried this to learn C++. It was steep.

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

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

That's how I'd proceed today.

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