Re: [Interest] Grouping Items in TreeWidget

2013-11-20 Thread André Somers
Joseph W. Joshua schreef op 20-11-2013 9:40: Hi all, In the attached image, you can see how I am able to group items in a listview in .NET. Is there a way to achieve this in Qt? I have tried several avenues with no apparent success. Sure, this is doable, but it takes a little work. You're

Re: [Interest] Glyph fallback

2013-11-20 Thread Alejandro Exojo
2013/11/20 Rutledge Shawn shawn.rutle...@digia.com: On 19 Nov 2013, at 4:25 PM, Ender Erel wrote: Hi all, I am using Qt on Embedded Linux and trying to setup fallback fonts for some glyphs. First, let me explain my situation: I have three TTF fonts (without any overlap in glyph

[Interest] QMetaType in Qt5.2.0 - assertion on missing comparator registration?

2013-11-20 Thread Bernhard
Hi! I just played around with the new QMetaType::registerComparators() in Qt5.2.0. Very useful. But I currently wonder why the internal function QMetaType::compare() simply returns false in case no comparator functions for the given type have been registered. I think silently returning false

Re: [Interest] Grouping Items in TreeWidget

2013-11-20 Thread Joseph W. Joshua
On 20-Nov-13 12:36 PM, André Somers wrote: Joseph W. Joshua schreef op 20-11-2013 9:40: Hi all, In the attached image, you can see how I am able to group items in a listview in .NET. Is there a way to achieve this in Qt? I have tried several avenues with no apparent success. Sure, this is

Re: [Interest] Glyph fallback

2013-11-20 Thread Ender Erel
Can you please elaborate on how you are doing it currently? From what I understand, you are using two fonts simultaneously (latin, chinese), which I think is exactly what i need. What do you mean by the fonts specified, where do you specify them? But fontconfig is not used in Qt for embedded

Re: [Interest] Unified items in QListView icon mode

2013-11-20 Thread Philipp Kursawe
Yes, that's correct. I would expect setting the icon size property would achieve that but it doesnt. On Tue, Nov 19, 2013 at 11:42 PM, Samuel Gaist samuel.ga...@edeltech.chwrote: Ok, I se the problem. However the behavior is consistent: I mean by that that everything is top aligned. But If I

Re: [Interest] Unified items in QListView icon mode

2013-11-20 Thread Philipp Kursawe
Yes sure I could use this hack, but I hoped there is a better way of achieving a behaviour which is the default under Win32 (where I come from and never have to fight such issues :) On Wed, Nov 20, 2013 at 12:50 AM, Tony Rietwyk t...@rightsoft.com.auwrote: Hi Philipp, Can't you use a

Re: [Interest] Custom QPlatformInputContextPlugin on Windows

2013-11-20 Thread Bernhard Seßler
Hi again, after digging through the platform plugins shipped with Qt5, I've found out that the windows platform plugin actually does not support loading custom platform input context plugins (it ships its own QWindowsInputContext and nothing else). So I've copied the windows platform plugin

[Interest] background images

2013-11-20 Thread Graham Labdon
Hi I have a widget to which I want to apply a background image I have done this by using a style sheet - background-image: url(:/TestLogo/ASL2014 EMU Landscape background.jpg); background-position: top left; background-repeat: no-repeat; This is fine as far as it goes- But when the window is

Re: [Interest] QProgressDialog not showing processEvents()

2013-11-20 Thread David Faure
On Monday, November 18, 2013 08:09:41 AM André Somers wrote: It is *not* called by setValue. That is a Good Thing(TM). I strongly encourage reading code or documentation before making such answers... \warning If the progress dialog is modal (see QProgressDialog::QProgressDialog()),

Re: [Interest] qmake /cmake find question

2013-11-20 Thread Bo Thorsen
There's nothing in qmake that does something like find_package - or any other configuration. You have to add to the LIBS, INCLUDE_PATH and DEPEND_PATH yourself. If you want configuration, try qbs. Bo. en 19-11-2013 20:14, Damian Ivanov skrev: Hi all, I have a library (libqt-xdg) in

Re: [Interest] qmake /cmake find question

2013-11-20 Thread Damian Ivanov
Thanks for your answer. Adding External Library through qtcreator fixed my problem :) 2013/11/20 Bo Thorsen bthor...@ics.com: There's nothing in qmake that does something like find_package - or any other configuration. You have to add to the LIBS, INCLUDE_PATH and DEPEND_PATH yourself. If

Re: [Interest] QProgressDialog not showing processEvents()

2013-11-20 Thread André Somers
David Faure schreef op 20-11-2013 12:30: On Monday, November 18, 2013 08:09:41 AM André Somers wrote: It is *not* called by setValue. That is a Good Thing(TM). I strongly encourage reading code or documentation before making such answers... Oops... /me goes to hide quietly in a corner and be

Re: [Interest] Glyph fallback

2013-11-20 Thread Ender Erel
I see, you are manually setting the widgets' fonts explicitly according to the language, which is not actually a fallback mechanism in my opinion. However, we are trying to avoid manually setting fonts throughout the application. What I really need is something like this: ...

Re: [Interest] QMetaType in Qt5.2.0 - assertion on missing comparator registration?

2013-11-20 Thread Thiago Macieira
On quarta-feira, 20 de novembro de 2013 10:47:15, Bernhard wrote: Why is there no assertion? Or maybe a warning? Is there any sense in comparing QVariants that can not be compared? We could add a warning. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open

[Interest] Fwd: Embedding excel file into QAxWidget

2013-11-20 Thread Michele Ciampichetti
Hello to all, I'm a newbie of Qt and I'd like to embed an excel file into QDialog by QAxWidget. I search by documentation and internet and I got some example, so I try to got it but... I reach two ways: 1) If I use *QAxWidget-setControl(C:\file.xls)* I see the sheet into my control (as I like)

[Interest] Qt 5.2 - on Android - exceptions in dispatchHoverEvent - any way to disable?

2013-11-20 Thread Darren Lissimore
Hey all; I have been looking at Qt on Android. Particularly at Qt 5.2, and I noticed that there are massive numbers of exceptions within the java wrapper for the accessibility .. e.g. W/Qt A11y ( 5179): EXCEPTION in dispatchHoverEvent for Accessibility:

Re: [Interest] Tearing in Quick2 flickable-based items with clipping enabled

2013-11-20 Thread VStevenP
Hi Gunnar - Thanks for these performance improvement ideas. I write QtQuick2 apps.  I'll see if I can use requestedFormat().  (I know how to write widgets in C++ and make them available in QML.) I rechecked my emails, and it was a Digia rep who made the comment about 800x600: The SGX chip on

Re: [Interest] Best practice for sorting multiple (connected) QLists

2013-11-20 Thread Guido Seifert
Downsides: cluncky API and not type safe. Seems like a lot of overhead for such a simple task. Type safety: Ok. Clunky API? - Qt API. Lot of overhead? If you have Qt installed anyways, it does not matter. And if you have used it before and just need to copy/paste the code and change the sql

Re: [Interest] Interest Digest, Vol 26, Issue 62

2013-11-20 Thread Rayner Pupo
Hi I have a widget to which I want to apply a background image I have done this by using a style sheet - background-image: url(:/TestLogo/ASL2014 EMU Landscape background.jpg); background-position: top left; background-repeat: no-repeat; This is fine as far as it goes- But when the

Re: [Interest] QPA Project - Vaudeville

2013-11-20 Thread Christian Gagneraud
On 20/11/13 16:19, sp...@quati.info wrote: You can check this (a little outdated) https://github.com/Etrnls/qthtml It seems to be 2 years old, I couldn't compile it (tried 4.8, 5.1.1 and 5.2-git) ... :( 5.1 tells me: cd html/ ( test -e Makefile || /opt/lambda/2013.10/5.1.1/gcc/bin/qmake

Re: [Interest] QPA Project - Vaudeville

2013-11-20 Thread spam2
Yes. I've cloned a fork: https://github.com/kdeyev/qthtml But it's not compiling too. Both depends on qtsystems (https://qt.gitorious.org/qt/qtsystems). I'll try to build on 5.1.1. Citando Christian Gagneraud chg...@gna.org: On 20/11/13 16:19, sp...@quati.info wrote: You can check this

Re: [Interest] Windows segfault, but not on Linux

2013-11-20 Thread Bo Thorsen
Hi William, Sounds like you have quite a nightmare of a bug there. I don't have a solution for you, but I can tell you my starting points for trying to figure this one out. First is *always* this one: Have you run your application in valgrind? You can also try and run it in the debugger on

[Interest] Qt Quick2 transparent bug for frameless window?

2013-11-20 Thread nus1998
Hi All, I create a transparent viewer using QQuickView, if I don't set the flag Qt::FramelessWindowHint, everything goes fine, when I set it, there is only a icon on taskbar and no viewer is visible, and I can't active it too. env: Qt5.2 beta mingw version (5.1 doesn't work too), Win 7 64-bit