I just started trying to use Qt for Python but failed at the first hurdle. I'm
using VSCode on Ubuntu 18.04 x64 with Python 3.6 and Pipenv. I added:
[packages]
"pyside2" = "*"
to my Pipfile and ran "pipenv update" and it installed PySide2 fine. I then
added:
from PySide2.QtCore
Hello,
I have the following code:
import QtQuick 2.12
import QtQuick.Controls 2.12
import QtQuick.Window 2.0
import Qt.labs.platform 1.0 as QtLabs
ApplicationWindow {
width: 1024
height: 600
visible: true
TextArea
{
anchors.fill: parent
selectByMouse: true
ComboBox {
anchors {
top: parent.top
right: parent.right
}
model: Object.keys(Data.imeis) // and IMEI is 15 characters long
}
I feel like when I did this with widgets, the combobox, if set to preferred
(default) would size itself to fit the content. But in QML I get
If you look into how ComboBox is styled in the code, you’ll notice that the
implicit size of the combo box depends on the implicit size of the background,
implicit size of the content item, and the padding/inset that’s set for the
ComboBox. In order to achieve what you are describing, you can
Hi,
On Tue, Sep 10, 2019 at 3:26 PM Mitch Curtis wrote:
> > -Original Message-
> > From: Interest On Behalf Of Alexander
> > Dyagilev
> > Sent: Tuesday, 10 September 2019 3:11 PM
> > To: interestqt-project.org
> > Subject: [Interest] QML and mac system menu
> 2) Is there a way to add
> Sent: Tuesday, September 10, 2019 at 11:35 AM
> From: "Nuno Santos"
> To: "interestqt-project.org"
> Subject: [Interest] Using QCamera on a QML VideoOutput
>
> Hi,
>
> I’m learning for the first time about Qt Multimedia Video capabilities and
> API.
>
> I’ve been looking to the
On Monday, 9 September 2019 23:53:31 PDT Ulf Hermann wrote:
> I can _not_ recommend this approach. The string may get copied
> internally in many places. Bindings may be evaluated as JavaScript,
> necessitating a JavaScript string representation. The visual
> representation of the string may be
> Sent: Monday, September 09, 2019 at 5:35 PM
> From: "Alexander Ivash"
> To: "interestqt-project.org"
> Subject: Re: [Interest] QML and sensitive data
>
> Just in case if someone will be looking for solution - I've managed to
> eliminate all the sensitive data from memory on closing
> -Original Message-
> From: Interest On Behalf Of Alexander
> Dyagilev
> Sent: Tuesday, 10 September 2019 3:11 PM
> To: interestqt-project.org
> Subject: [Interest] QML and mac system menu
>
> Hello,
>
> I have the following code:
>
> import QtQuick 2.12
> import QtQuick.Controls
On 9/10/19 3:08 PM, Alexander Ivash wrote:
Under what conditions? I mentioned that Quick Controls 2 is a must to
make behaviour more deterministic.
F.e QTextInput ( QC2 has nothing to with it ) is completly done in C++
and if you are willing to include private headers ( not private in the
Right, the whole approach is not something I'm really proud of. And of
course it has its limitations, but:
>> The string may get copied internally in many places
Under what conditions? I mentioned that Quick Controls 2 is a must to
make behaviour more deterministic. Unless I'm missing something
all my "icons" are created in code.
they start life as QImage (possibly programmatically drawn), converted to
QPixMap, then to QIcon.
so i get my QIcon, and set it into my QToolButton with
toolButtonP->setIcon(pix);
says in the doc:
> The simplest use of QIcon is to create one from a QPixmap
Il 10/09/19 15:44, Uwe Rathmann ha scritto:
PS: could someone in charge of this mailinglist please have a look at
the spam filter ?
See
https://bugreports.qt.io/browse/QTQAINFRA-3072
Thanks,
--
Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer
KDAB (France) S.A.S.,
Hi,
I’m learning for the first time about Qt Multimedia Video capabilities and API.
I’ve been looking to the declarative examples for video and I have also browsed
around the C++ classes correspondents.
I’m trying to create a camera manager that lives on the C++ side, and that when
a camera
On 9/10/19 5:42 PM, Giuseppe D'Angelo via Interest wrote:
https://bugreports.qt.io/browse/QTQAINFRA-3072
Looks like something has changed - at least my previous mail was not
marked as spam anymore. Instead I received an email with this information:
"You are not allowed to post to this
Hi,
> Just in case if someone will be looking for solution - I've managed to
> eliminate all the sensitive data from memory on closing particular QML
> screen without sacrificing existing architecture. The secret is pretty
> simple: just avoid situations when QString-s gets copied into JS
>
16 matches
Mail list logo