of the class (thanks
to the Woboq people for easing that pain).
Is there a reason to hide this information ?
Cheers,
Pierre-Yves Siret
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
Done : https://bugreports.qt.io/browse/QTBUG-59083
2017-02-22 13:08 GMT+01:00 Bo Thorsen <b...@vikingsoft.eu>:
> Den 22-02-2017 kl. 11:13 skrev Pierre-Yves Siret:
>
>> Hello,
>>
>> Reading the doc, there is no indication that a function is Q_INVOKABLE.
>> It
2017-10-16 20:11 GMT+02:00 Nuno Santos :
> Hi,
>
> I have for the first time defined a QAbstractItemModel to use on Qml
> because I needed to have a filtered version of this model
> using QSortFilterProxyModel.
>
> I have the documentation here ->
Hi,
I guess you are using QRC then and you are including one via your .pri file.
Did you check that the prefix + base path of your existing files are the
same that your qml file in the qrc of your test app?
Regards,
Pierre-Yves
2017-11-15 12:37 GMT+01:00 Nuno Santos :
quot;Camera needed for selfies"
>>
>> The "UI" is operating system grant dialog.
>>
>>
>> *Sent:* Tuesday, June 26, 2018 at 5:02 PM
>> *From:* "René Hansen"
>> *To:* "Pierre-Yves Siret"
>> *Cc:* interest
>> *Subject:*
uot; previously. At least not
without calling requestPermissions.
Why do you want to check this?
If you want to show a rationale to thw user about why the app need a
permission, you can use QtAndroid::shouldShowRequestPermissionRationale.
It will return true if the user previously denied the permissi
You could do an usual c++ singleton
Foo& Foo::instance()
{
static Foo foo;
return foo;
}
And use that in c++ and also in the singleton provider for QML :
qmlRegisterSingletonType("com.example", 1, 0, "Foo", ::create);
QObject* Foo::create(QQmlEngine*, QJSEngine*)
{
Foo* foo = ();
2018-02-19 5:59 GMT+01:00 Tom Isaacson via Interest :
> I'm replacing some old SIGNAL/SLOT connects with the new Qt5 format and I
> need to use lambdas for some of them.
>
> Scenario 1:
>
> public slots:
> void RouteEditName();
> void RouteEditName(QString name);
I guess you could easily make a higher level component (only for JSON
though) by combining CuteHack's DuperAgent and
https://github.com/benlau/qsyncable (the QML JsonListModel should be
enough).
If you update your json data, QSyncable will update it and won't issue a
whole modelReset signal, it
2018-07-25 10:56 GMT+02:00 Nuno Santos :
> Hi,
>
> I’m trying to style a QML Dialog component but it seems that I’m only able
> to style the header, content and footer items.
>
> However I need to style the dialog frame, right now it appears as a white
> box with a 1px width black border. I want
You should always set a width for Text items (and a wrapMode and/or elide
mode), unless you want your text to have no horizontal limit.
In your case you need to correct your code (it's not a workaround since
it's the intended behaviour) is to set a width for your Texts (the 3).
Do this by using
-
> *From:* gr3...@gmail.com <gr3...@gmail.com> on behalf of Pierre-Yves
> Siret <py.si...@gmail.com>
> *Sent:* Monday, March 5, 2018 9:00 AM
> *To:* Jérôme Godbout
> *Cc:* Igor Mironchik; Qt Project
>
> *Subject:* Re: [Interest] RowLayout with Text wit
Le mar. 11 déc. 2018 à 14:38, Duane a écrit :
> Setting a QLineEdit's input hint to digits only triggers a numeric
> keyboard. With android, there is a "done" button on the bottom left.
> With ios, there is not a done button but something that appears to be a
> language selector.
>
> What is
>
> Hi,
>
> I try to always show a done or similar button on top of the onscreen
> keyboard.
>
> To do this I tried the following as an example for a Textfield:
>
> inputMethodHints: Qt.ImhDigitsOnly
> EnterKey.type: Qt.EnterKeyDone
>
> but there is no done key shown.
>
> Any hints?
>
I suppose
Can't you do the load after the setContextProperty?
That is what is usually done.
Your problem is a usecase for the suggestion I did there :
https://bugreports.qt.io/browse/QTBUG-77926
The code would then become :
Controller?.successfulSteps ?? ""
Le jeu. 17 oct. 2019 à 09:22, a écrit :
>
Le mer. 22 janv. 2020 à 01:29, Jason H a écrit :
> Does anyone know how to handle this? I'm not sure who is using which
> version.
> What I did: linked OpenCV into an iOS Qt app. Tape a picture and
> onImageSaved handler, set an Image element source property to
> "file://"+path, then it crashes
The indicator is meant to tell if an app is using the camera, it appears
you are in fact using it ("In our app, we start the Qt camera stack") so
the green dot showing is normal.
Can't you delay the Camera instantiation until you actually need it? If you
can't, have you tried setting the
>
> ... or I have to do sorting / filtering manually for such a combination?
>
What's stopping you?
You can set the sort or filter key column in a QSortFilterProxyModel.
___
Interest mailing list
Interest@qt-project.org
Le lun. 30 nov. 2020 à 06:59, Megidd Git a écrit :
> Hi!
>
> Can anybody help with this question?
>
> https://stackoverflow.com/q/65068666/3405291
>
> Thanks
>
Where's the difficulty and what have you tried ?
This seems pretty basic.
Use TextField or SpinBox for the fields, figure out where to
Le lun. 31 mai 2021 à 19:59, Alexander Dyagilev a
écrit :
> Hello,
>
> Am I right that this is not possible in QML?
>
> readonly property var mainTbImg: {
> up: "some string",
> up_check: "some another string"
> }
>
The problem is that QML doesn't know how to parse it, it can't know
20 matches
Mail list logo