cplusplusqt | Unsorted

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

1137

Link: @CplusplusQt Embedded: @EMBCpp • No DM without prior permission • Behave friendly • No NSFW • No Spam • No unauthorized Bots • Don't advertise other groups

Subscribe to a channel

C++ & Qt

so, what can I do regarding the performance????

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

C++ & Qt

i have this log_view inherited from table view that uses custom table model to show logs. i want the logs to have 4 columns: timestamp, level, service, message. first 3 columns should be sized to fit, fotrh should stretch to the widget end and use word wrap. i have accomplished there requirements with



log_view::log_view(log_model* lm) {
setModel(lm);
setAlternatingRowColors(true);
setSelectionMode(QAbstractItemView::SelectionMode::SingleSelection);
setSelectionBehavior(QAbstractItemView::SelectionBehavior::SelectRows);
verticalHeader()->setSectionResizeMode(QHeaderView::ResizeMode::ResizeToContents);

auto header = horizontalHeader();

header->setSectionResizeMode(0, QHeaderView::ResizeMode::ResizeToContents);
header->setSectionResizeMode(1, QHeaderView::ResizeMode::ResizeToContents);
header->setSectionResizeMode(2, QHeaderView::ResizeMode::ResizeToContents);

header->setSectionResizeMode(3, QHeaderView::ResizeMode::Stretch);
setWordWrap(true);
connect(header, &QHeaderView::sectionResized, this,
[this](int logicalIndex, int /*oldSize*/, int /*newSize*/) {
if (logicalIndex == 3)
resizeRowsToContents();
}
);

};


but when log gets huge (perse 200+ lines, not that huge alright), it lags a lot and uses gui thread for 100% on resize. what is going on? how could i optimize it?

my main purpose is to get rid of the manually dragging the horizontal header to fit the level and timestamp width (their width does not change in general)

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

C++ & Qt

Report sent⁣⁣⁣⁣

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

C++ & Qt

The qmlls improvements sounds nice

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

C++ & Qt

@Rasmussen_Maja [8318401428] banned.

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

C++ & Qt

@admin

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

C++ & Qt

Welcome to the group, @hishamzidanx! :-)

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

https://treelinev1.devpost.com/ anyone wants to team up for this,dm....

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

C++ & Qt

It's been a while, I've managed to solve that, thanks anyway

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

C++ & Qt

Good explanation, thanks!

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

C++ & Qt

Qt’s maintainers have repeatedly clarified:

Qt is not an acronym and has no full form. It is a trademark with upper case 'Q' followed by a lower case 't'

The name was chosen to be short, distinctive, and pleasant-sounding - hence the pronunciation “cute.”

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

C++ & Qt

“Q” as a Prefix

One of Qt’s original creators, Haavard Nord, used the letter Q as a prefix in his internal class library before Qt existed.

When Qt was being developed at Trolltech (the original company behind Qt), they continued using Q as a naming convention.

That’s why many Qt classes start with Q (e.g., QObject, QWidget, QString).

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

C++ & Qt

What is qt, can anyone explain in detail?

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

C++ & Qt

@Ilya_6483 [8547462020] warned (2 of 2).
Action: Banned 🚷

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

C++ & Qt

the sender is an 4th 5th raspberry or jetson orin nano

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

C++ & Qt

the before and after. as you can see i get desired behaivour, the first long message row gets resized to fit the message well

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

C++ & Qt

@GerdSimonsen [8367815543] banned.

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

C++ & Qt

@admin

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

C++ & Qt

Welcome to the group, @rickliu2000! :-)

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

Report sent⁣⁣⁣⁣

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

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, @imrandogan46! :-)

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, @Le_Burrito! :-)

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

Everything in 3d is calculated (mostly) as vec4, mat4. In html/qml it's not your concern but in custom -- should copy past some boilerplate-repetitive template code

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

C++ & Qt

If you have commercial Qt license, you can go for the LTS version Qt 6.8.5 or Qt 6.8.6.

If using open source pre-built libraries, then 6.9.4 and above.

These library versions support latest Android requirement: 16KB page size alignment: https://developer.android.com/guide/practices/page-sizes

For compatible NDK, JDK and Gradle versions, refer to the respective version's platform support page.

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

C++ & Qt

The “t” from Xt (X Toolkit)

Early versions of Qt were built on top of the Xt (X Toolkit Intrinsics) framework used in the X11 windowing system on Unix.

The “t” in Qt is commonly attributed to Toolkit, influenced by Xt.

So the name “Qt” loosely reflected:
- Q (their internal prefix)
- t (from Toolkit / Xt)

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

C++ & Qt

Welcome to the group, @hamid914! :-)

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

someone is also having a boring evening today

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

C++ & Qt

reciever is the big old x86

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

C++ & Qt

btw, already noted this a few times before, why people always think of embedded device as of something
in
out
cpu-realmode level :D

it's full system, from grub-loader to linux-kernel, drivers for devices at bus, and gnome(so you even can configure it with hands in UI !!!). tho it may start 1 APP full-screen...

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