Like Furkan said, use the default property alias to chidlren:
MyUI
{
default property alias childs: container_.childrens // you can also
target .data to have non Item objects
PrettyContainer { id: container_ }
}
On Fri, 28 Sep 2018 at 13:31, Furkan Üzümcü wrote:
> I think you are looking
I think you are looking for the `default` property.
Check out this guide for more information:
https://doc.qt.io/qt-5/qtqml-referenceexamples-default-example.html
Regards,
Furkan Üzümcü
On Sep 28, 2018, 13:27 -0400, Jason H , wrote:
> I have PrettyContainer.qml
>
> I have an item (Item) I want t
I have PrettyContainer.qml
I have an item (Item) I want to put into (on top of) PrettyContainer. My
PrettyContainer visually wraps the pretty item, like parent of a child widget
MyUI{
PrettyContainer {
Item {
// completely custom 1
}
}
PrettyContainer {
I
Hi,
I found a mistake: I shared the same QTextDocument between 2 QTextEdit.
First was initialized and shown, had correct width, whereas second
wasn't initialized yet and had small width. So text was wrapped to
smaller width.
Thank you.
On 28.09.2018 17:26, Igor Mironchik wrote:
Hello,
I
> On 28 Sep 2018, at 11:10, nus1998 wrote:
>
> Hi All,
>
> I'm testing on a dialog with a touch screen, for mouse event, sometimes there
> is only "pressed" event, or only "released" and "clicked" events. but when
> checking the touch event, each timeTouchBegin and TouchEnd events are
> rece
And this happens only when I use text edit in QDockWidget...
On 28.09.2018 17:34, william.croc...@analog.com wrote:
On 09/28/2018 10:26 AM, Igor Mironchik wrote:
Hello,
I have a dock widget with text edit field. When I set document to
QTextEdit
document layouts with smaller width than width
Hi,
Background filling as desired, whole QTextEdit.
I used:
QPalette p = palette();
p.setColor(QPalette::Base, Qt::red);
setPalette(p);
On 28.09.2018 17:34, william.croc...@analog.com wrote:
On 09/28/2018 10:26 AM, Igor Mironchik wrote:
Hello,
I have a dock widget with text edi
On 09/28/2018 10:26 AM, Igor Mironchik wrote:
Hello,
I have a dock widget with text edit field. When I set document to QTextEdit
document layouts with smaller width than width of QTextEdit. Look.
Small width
I can't do so to enlarge the width of the text. But when I put enough text to
fit all
Hello,
I have a dock widget with text edit field. When I set document to
QTextEdit document layouts with smaller width than width of QTextEdit. Look.
Small width
I can't do so to enlarge the width of the text. But when I put enough
text to fit all height then width of the text begin regards
Yes, I remember this being a thing in one of my projects.
You just have to trivially map the touch events to mouse events. Unfortuneately, I cannot find my code.
Sent: Friday, September 28, 2018 at 11:10 AM
From: nus1998
To: interest@qt-project.org
Subject: [Interest] Can't receive rel
I'm wondering if anyone knows of a Qt widget that already does this, similar to
this javascript example I found:
https://stackoverflow.com/questions/19089841/extjs-4-2-1-add-a-top-arrow-to-any-popup-menu
I've got a widget that has some buttons on it. When I click on one of those
buttons, I want
Hi All,
I'm running a Qt dialog which handles pressed/released/clicked events, when I
press the touch screen and release immediatelly, sometimes there is only a
pressed event, or only released and clicked events. however, if I handle the
touch events by setting Qt::WA_AcceptTouchEvents, every
Hi All,
I'm testing on a dialog with a touch screen, for mouse event, sometimes there
is only "pressed" event, or only "released" and "clicked" events. but when
checking the touch event, each timeTouchBegin and TouchEnd events are received.
I have tried set Qt::AA_SynthesizeMouseForUnhandledTou
On Thu, 27 Sep 2018 18:03:55 +0200, Giuseppe D'Angelo via Interest wrote:
> This is another blatant false statement, because you can port just the
> parts of Qt that you need, and even those can be further trimmed down
> using the feature system. (That's actually how you would do a port in
> the f
On Freitag, 28. September 2018 00:20:37 CEST Kim Hartman wrote:
> Thanks Tuuka (and others),
>
> We've ported much of the BOOST libraries, so pthreads are most possible.
> I've started an internal audit of the rest of POSIX services we would need
> in order to create an INtime QPA. Is there a mor
15 matches
Mail list logo