Re: [Interest] Qt Quick Controls 2 Button Fails in GridView

2016-03-23 Thread Nurmi J-P
> On 23 Mar 2016, at 18:24, Mark R Youngquist > wrote: > > I've been enjoying my time with using the QtQuick Controls in the labs > portion of Qt 5.6 > > I have a scenario where I use a GridView with a delegate Button component > with a custom background property. Once I run the application

Re: [Interest] [Qt Labs Controls 5.6] Customization recommendations

2016-03-11 Thread Nurmi J-P
Hi, We're applying some bug fixes to Qt Quick Controls 1.x, but the development focus has been on the new controls for a good while. The goal is to have the first stable release in Qt 5.7. We still have some important features (such as text selection handles) missing, but it's looking pretty pr

Re: [Interest] [Qt Labs Controls 5.6] Customization recommendations

2016-03-11 Thread Nurmi J-P
Hi, > On 11 Mar 2016, at 16:42, Ronan Jouchet > wrote: > >> On 2016-03-10 19:09, Nikita Krupenko wrote: >> 2016-03-10 17:19 GMT+02:00 Ronan Jouchet : >>> -> That sounds nice for users wanting total control over the complete >>> style. But suppose instead I'm mostly happy with Material an

Re: [Interest] Obtain the QNAM in use in a QML app?

2016-03-02 Thread Nurmi J-P
> On 02 Mar 2016, at 16:49, Jason H wrote: > > Is there a static/singleton QNetworkAccessManager that I can get in a Qt app > rather than creating my own? http://doc.qt.io/qt-5/qqmlengine.html#networkAccessManager -- J-P Nurmi ___ Interest mailing li

Re: [Interest] Qt Creator - questions HowTo copy/past src/res

2016-02-19 Thread Nurmi J-P
On 19 Feb 2016, at 18:07, ekke mailto:e...@ekkes-corner.org>> wrote: Hi, thanks for answer. Am 19.02.16 um 17:50 schrieb Nurmi J-P: Hi, On 19 Feb 2016, at 17:05, ekke <mailto:e...@ekkes-corner.org> wrote: 2. qml.qrc and QML looked at some samples and also created

Re: [Interest] Qt Creator - questions HowTo copy/past src/res

2016-02-19 Thread Nurmi J-P
Hi, > On 19 Feb 2016, at 17:05, ekke wrote: > > 2. qml.qrc and QML > looked at some samples and also created new Qt Quick applications and > noticed: > the main.qml was automatically generated from new project wizard and ONLY > inside the qml.qrc file > some other examples - per e

Re: [Interest] qt.labs.controls - gallery - scrolling gestures and StandardKeys not working from capazitive keyboard

2016-02-15 Thread Nurmi J-P
> On 14 Feb 2016, at 11:58, ekke wrote: > > before entering bug issues I wanted to ask if I'm doing something wrong or I > forgot to add something to the controls > > Scrolling from Capazitive Keyboard > tried with gallery example (ScrollBar) and own code > > I'm using BlackBerry PRIV (Android

Re: [Interest] Qt 5.6 and labs.controls for mobile development

2016-02-15 Thread Nurmi J-P
Hi, > On 14 Feb 2016, at 19:56, ekke wrote: > > just before starting my blog articles about Qt 5.6 for mobile development > have some questions: > > Mobile Development for Android, iOS (later W10) > What's the best way to develop for more then one platform from one Qt Creator > Project ? > re

Re: [Interest] qt.labs.controls Material Toasts

2016-02-12 Thread Nurmi J-P
solution. It would be a parallel offering, not mixed with Qt Quick. :) -- J-P Nurmi > On 12 Feb 2016, at 13:50, Samuel Gaist wrote: > > Hi, > > Out of curiosity, should that be driven by the OS notification system ? > > Samuel > > On 11 févr. 2016, at 16:45, Nurmi J-P

Re: [Interest] qt.labs.controls Material Toasts

2016-02-11 Thread Nurmi J-P
Hi, We would definitely like to extend our offering with some sort of tooltips and notification banners in the future. We might prefer stick to the terminology Qt and Qt Quick have used in the past, so we probably won't end up calling them snackbars, toasts, or anything else as delicious, thoug

Re: [Interest] qt.labs.samples

2016-02-07 Thread Nurmi J-P
at 14:10, ekke wrote: > > thx > make install worked - wasn#t sure if I should execute because make failed > > now tried the gallery > make runs without error > > but > your last line: > ./gallery > failed (no such file) > > thx again > > ekke >

Re: [Interest] qt.labs.samples

2016-02-07 Thread Nurmi J-P
the structure better. > > had to set the ANDROID_NDK_ROOT variable > then make runs some time, but finished with an error > see attached log > > sorry for trouble > > thx > > ekke > Am 07.02.16 um 13:35 schrieb Nurmi J-P: >>> On 07 Feb 2016, at 13:24, ekke

Re: [Interest] qt.labs.samples

2016-02-07 Thread Nurmi J-P
> On 07 Feb 2016, at 13:24, ekke wrote: > > Hi, > > I'm not really sure what to do. > > My environment: > • Qt with commercial license to evaluate > • OSX > • installed Qt 5.6 beta for Android and iOS > > Now I have cloned the two qt projects you mentioned > but there's no

Re: [Interest] qt.labs.samples

2016-02-06 Thread Nurmi J-P
> On 06 Feb 2016, at 11:12, ekke wrote: > > Hi, > > found this qt.labs.controls sample in the docs > > https://doc-snapshots.qt.io/qt5-5.6/qtlabscontrols-gallery-example.html > > unfortunately it isn't part of the examples as described in the document > > have installed: > Qt 5.6 Beta for An

Re: [Interest] QML solution for fitting text?

2015-11-17 Thread Nurmi J-P
> On 17 Nov 2015, at 19:32, Jason H wrote: > > I want to fit text into a rectangle, but dynamically size the text like > scaling an image: > Rectangle { > width: // some with > width: // some height > Text { text: "Hello World"; anchors.fill: parent; font.pixelSize: > ??? } > } See Text::font

Re: [Interest] 5.4.2 Android Misery just one typo away

2015-06-15 Thread Nurmi J-P
> On 15 Jun 2015, at 19:17, mark diener wrote: > > Hello list folk: > > Under OSX/IOS, no problem. > > Under Android, nasty and obscure segment fault > > Qt 5.4.2, NDK 10e > > Do NOT under any circumstance forget the "&" before the argc parameter on the > constructor > if you override QGui

Re: [Interest] Revert the selection in a QTreeView

2015-01-13 Thread Nurmi J-P
> On 13 Jan 2015, at 22:45, Glenn Ramsey wrote: > > Hi, > > In a QTreeView how can I revert the selection? > > The behaviour I want is that when the user selects an item, then based on some > other state, it will either accept the selection or message the user and > revert > to the previous s

Re: [Interest] ListView questions

2014-12-04 Thread Nurmi J-P
> On 04 Dec 2014, at 20:42, Jason H wrote: > > > >> Sent: Thursday, December 04, 2014 at 2:21 PM >> From: "Nurmi J-P" >> To: interest >> Cc: "Jason H" >> Subject: Re: [Interest] ListView questions >> >> >>&g

Re: [Interest] ListView questions

2014-12-04 Thread Nurmi J-P
> On 04 Dec 2014, at 20:07, Jason H wrote: > > So I am finding that ListView is poorly documented. It inherits Flickable, > but does not otherwise have any currentIndexChanged() events, except that, it > has it... somehow. > > I am trying to use a ListView with a delegate that has the followi

Re: [Interest] Native UI on Android (without QtQuick)

2014-11-24 Thread Nurmi J-P
On 24 Nov 2014, at 18:25, Attila Csipa wrote: > > > On 11/18/2014 11:37 PM, Ian Monroe wrote: >> >> On Tue, Nov 18, 2014 at 7:13 AM, Attila Csipa wrote: >> >> It turns out you can do a fully functional (ie. not a subset) Android UI >> just by using QAndroidExtras and it's QAndroidJNIObject cl

Re: [Interest] Porting Qt4 to Qt5 with respect to styles

2014-11-03 Thread Nurmi J-P
> On 03 Nov 2014, at 23:40, Allan Sandfeld Jensen wrote: > > On Monday 03 November 2014, Duane wrote: >> We're looking at moving a few large projects from Qt 4 to 5. One issue >> that I'm having is the absence of QWindowsStyle. We have a class that's >> derived from QWindowsStyle. What's the si

Re: [Interest] How to set QtQuickControls Slider to an initial value without modifying the current saved?

2014-10-17 Thread Nurmi J-P
> On 17 Oct 2014, at 10:48, Nuno Santos wrote: > > Hummm > > This Settings QML type is awesome and I didn’t knew it. I had a QSettings > class exposed to QML and I was declaring all the properties I needed. This > really saves a lot of work. Should I really on it for a production product? >

Re: [Interest] How to set QtQuickControls Slider to an initial value without modifying the current saved?

2014-10-17 Thread Nurmi J-P
> On 16 Oct 2014, at 17:39, Nuno Santos wrote: > > Hi, > > I’m using Slider from QtQuickControls and i’m facing a problem. I initialise > the value with a value saved on settings. However, when the slider is > instantiated, it is triggering onValueChanged with the default min value. The > se

Re: [Interest] Q_ENUMS with foreign enum ?

2014-07-14 Thread Nurmi J-P
On 14 Jul 2014, at 11:11, Rutledge Shawn wrote: > > On 12 Jul 2014, at 10:03 AM, Martin Koller wrote: > >> Hi, >> >> is there any possibility to use an enum in the Q_ENUMS macro when the enum >> is not >> defined in a QObject derived class ? >> (Specifically I'm trying to do that with QSslEr

Re: [Interest] How to tell qmake not to install the .a?

2014-06-20 Thread Nurmi J-P
On 20 Jun 2014, at 11:04, Etienne Sandré-Chardonnal wrote: > Hi, > > I am writing a plugin for my app using QtPlugin. > > The default .pro template created by QtCreator defines a DESTDIR variable, > but both the .a and the .dll are installed there. As this is a plugin and not > a real lib, o

Re: [Interest] QML Mobile controls

2014-06-11 Thread Nurmi J-P
On 11 Jun 2014, at 16:44, Ben Lau wrote: > > btw , I have another question for the solution. How will it handle the DP > unit? > > Since the scaling using devicePixelRatio is still not implemented in Android > yet (QTBUG-38252) , I wonder what should user do to make their application > fit w

Re: [Interest] QML Mobile controls

2014-06-11 Thread Nurmi J-P
On Wed, 2014-06-11 at 13:13 +0800, Ben Lau wrote: > Hi, > > > I am also interested to know is anybody working on this? I am writing > an Android application using Qt. It needs native look and feel and > therefore I have developed some components like ActionBar,NavBar, > Navigation Drawer , ViewP

Re: [Interest] a few questions about QML Components

2014-05-19 Thread Nurmi J-P
On 19 May 2014, at 12:51, Alexander Ivash wrote: > I was trying to use QML components in simple android application but > confronted several issues: > > 1. I couldn't find any API allowing to adjust widths of columns in TableView > based on the content. Do I understand right that the only wa

Re: [Interest] Annoying ApplicationWindow Error

2014-05-17 Thread Nurmi J-P
On 16 May 2014, at 15:09, Jason H wrote: > I picked a Qt Quick 2 project. > Is this a question? :) There are two kinds of Qt Quick project templates in Qt Creator. 1) Qt Quick UI This is a pure QML project, which runs qmlscene. It doesn't matter whether you use Item or Window as the root el

Re: [Interest] More QML Styling woes.

2014-05-17 Thread Nurmi J-P
On 17 May 2014, at 06:37, Jason Hihn wrote: > I still haven't figured out to have the TextField background rect to autosize > to the implcitheight. I can set it explicitly as "45" below, but I'd rather > not hard-code it. What can I set to have it adjust automatically? > > Next up, let's comp

Re: [Interest] Styled text not setting control size

2014-05-14 Thread Nurmi J-P
On 14 May 2014, at 05:05, Jason H wrote: >TextField { > width: parent.width > style: TextFieldStyle { > textColor: "white" > font {pixelSize: 30} > background: Rectangle { color:"black" } > } >} > When using the code above, the black area is about 1/2 the heigh

Re: [Interest] QML Styled button and text issue

2014-05-14 Thread Nurmi J-P
On 14 May 2014, at 04:33, Jason H wrote: > Text does not show up when used as: > > > ///MyButton.QML > import QtQuick 2.0 > import QtQuick.Controls 1.1 > import QtQuick.Controls.Styles 1.1 > > Button { > style: ButtonStyle { > background: Rectangle { >border.width: control.activeFocus

Re: [Interest] Annoying ApplicationWindow Error

2014-05-13 Thread Nurmi J-P
On 13 May 2014, at 05:50, Jason H wrote: > QtQuick 2.x project I'm getting this error: > > """ > QQuickView only supports loading of root objects that derive from QQuickItem. > > If your example is using QML 2, (such as qmlscene) and the .qml file you > loaded has 'import QtQuick 1.0' or

Re: [Interest] Qt 5.2 winextras - QWinJumpList

2014-01-30 Thread Nurmi J-P
On Thu, 2014-01-30 at 15:50 +0100, Miroslav Špehar wrote: > Thanks, for the answer, i am already aware of this example. > There is even somewhere in documentation mentioned that filetype > association is needed so 'recent' jump list would be shown. Is there > some kind of prerequisite for 'tasks'

Re: [Interest] Qt 5.2 winextras - QWinJumpList

2014-01-30 Thread Nurmi J-P
On Wed, 2014-01-22 at 11:49 +0100, Miroslav Špehar wrote: > Hi, > > > does anyone have an example of a very simple jump list code for > windows 7/8 using Qt 5.2? > Code examples > on http://qt-project.org/doc/qt-5/qtwinextras-overview.html seem to > use outdated API (and i couldn't find them usin

Re: [Interest] QML "container" inheritience and sharing IDs

2014-01-03 Thread Nurmi J-P
On Fri, 2014-01-03 at 07:23 -0800, Jason H wrote: > I have a structured QML document that is nothing more than Items and > Images. Some Images are collected into an Item and an id is assigned. > > > > > > Structure1.qml > Item { > id:item > Image { id: image1} > Image { id: image2} > > } > >

Re: [Interest] Qt widgets: widgets appears without backgound

2013-12-19 Thread Nurmi J-P
On 19 Dec 2013, at 21:57, Николай Шатохин wrote: > If I show widget inside other widget, it appears with transparent background. > How to disable this? > See QWidget::autoFillBackground: http://doc-snapshot.qt-project.org/qdoc/qwidget.html#autoFillBackground-prop -- J-P Nurmi ___

Re: [Interest] Position of QListWidgetItem

2013-12-17 Thread Nurmi J-P
> I have a simple question: how can I retrieve the coordinates of the current > QListWidgetItem? I only have access to a QListWidget, and I'd really > appreciate if I could stick with this very simple widget! :) QListWidget::currentItem() and QListWidget::visualItemRect() http://qt-project.org/do

Re: [Interest] Animation Framework

2013-12-02 Thread Nurmi J-P
On 02 Dec 2013, at 16:40, Graham Labdon wrote: > Hi > If I have a group of animations and have added them to a group – > QPropertyAnimation *Animation1 = new > QPropertyAnimation(widget1, "pos"); > QPropertyAnimation *Animation2 = new > QProperty

Re: [Interest] QSS/CSS styling a border on a combo removes styles from dropdown control

2013-11-27 Thread Nurmi J-P
On 27 Nov 2013, at 12:46, Philipp Kursawe wrote: > That's what I already did. I am using the second variant. > > > On Wed, Nov 27, 2013 at 12:07 PM, Nurmi J-P wrote: > > On 27 Nov 2013, at 11:10, Philipp Kursawe wrote: > > > I wonder if that is a bug: >

Re: [Interest] QSS/CSS styling a border on a combo removes styles from dropdown control

2013-11-27 Thread Nurmi J-P
On 27 Nov 2013, at 11:10, Philipp Kursawe wrote: > I wonder if that is a bug: > If I style a QComboBox's border with a "2px solid red" it looses its style on > the dropdown arrow, which happened to be flat styled (on Windows) and then > appears in 3D beveled style like old Win95. No more style

Re: [Interest] animation problems

2013-11-25 Thread Nurmi J-P
On 25 Nov 2013, at 14:57, Graham Labdon wrote: > Hi > I am trying to animate the movement of one of my widgets > I have a simple Qt app consists of a main window with a label (done in > QDesigner) > The code to move the label is > QPropertyAnimation animation(ui.label,"geometry"); >

Re: [Interest] change time delay of tool tips

2013-11-25 Thread Nurmi J-P
On 25 Nov 2013, at 10:17, Graham Labdon wrote: > Hi > Is it possible to change the delay for the display of tooltips > I have some widgets that I would like the display of the tool tip to be > quicker? > Qt 5.2 adds a bunch of ways to control tooltips: - QWidget::toolTipDuration http://

[Interest] The Qt-components ML has been closed

2013-11-08 Thread Nurmi J-P
Hi all, As previously discussed here and there, we have decided to shut down the obsolete Qt-components mailing list. The mailing list no longer served a purpose, but mainly caused confusion especially amongst new Qt users. The substituting lists are: * Interest - List for developers who _use_

Re: [Interest] QTableView::moveCursor and scrolling to end

2013-05-14 Thread Nurmi J-P
On May 14, 2013, at 9:17 AM, Mojmír Svoboda wrote: > Hello, > > my problem is simple: when an user press ctrl+end to scroll to the end > of the table then there is an implicit horizontal scroll to the right. > My users requested few times already to disable that behaviour. > > I subclassed QTa

Re: [Interest] Qt Quick 2.0 Desktop Components ScollBar

2013-03-01 Thread Nurmi J-P
> -Original Message- > From: interest-bounces+jpnurmi=digia@qt-project.org [mailto:interest- > bounces+jpnurmi=digia@qt-project.org] On Behalf Of Nils Jeisecke > Sent: 1. maaliskuuta 2013 17:55 > To: interest@qt-project.org > Subject: [Interest] Qt Quick 2.0 Desktop Components Scoll

Re: [Interest] Where in Qt 5 is QApplication::Type now?

2012-12-03 Thread Nurmi J-P
> -Original Message- > From: interest-bounces+jpnurmi=digia@qt-project.org [mailto:interest- > bounces+jpnurmi=digia@qt-project.org] On Behalf Of Stephen Chu > Sent: 3. joulukuuta 2012 16:04 > To: Interest@qt-project.org > Subject: [Interest] Where in Qt 5 is QApplication::Type now?

Re: [Interest] Issue in drawing CheckBox using QStyle::drawPrimitive

2012-11-27 Thread Nurmi J-P
> I am drawing a checkbox inside a custom delegate using > QStyle::drawPrimitive. I use this custom delegate to render items of a > QListView. Paint method of my custom delegate is as below, > > > void MytDelegate::paint(QPainter *painter, > const QStyleOptionViewItem &option, >