Re: [Interest] Plastique style stylesheets

2013-12-24 Thread Bache-Wiig Jens
On 23 Dec 2013, at 12:17, Etienne Sandré-Chardonnal etienne.san...@m4x.org wrote: Hi, I am trying to use the plastique style and change its colors to a dark theme. However, simply doing : QWidget { color: #b1b1b1; background-color: #323232; } Messes several things

Re: [Interest] Style plugin

2013-10-25 Thread Bache-Wiig Jens
On 25 Oct 2013, at 15:27, Graham Labdon graham.lab...@avalonsciences.commailto:graham.lab...@avalonsciences.com wrote: Hi I am trying to follow the style plugin example given here - http://qt-project.org/doc/qt-5.0/qtwidgets/tools-styleplugin.html The docs state that Note: On some platforms,

Re: [Interest] Keyboard navigation in QtQuick.Controls ScrollView?

2013-09-25 Thread Bache-Wiig Jens
On Sep 24, 2013, at 9:53 AM, Ola Røer Thorsen o...@silentwings.nomailto:o...@silentwings.no wrote: Hi, I can't seem to get keyboard navigation working when I embed a ListView in a ScrollView ScrollView { ListView { ... } } just like in the documentation. I've tried enabling

Re: [Interest] QML: Optional Menus in MenuBar

2013-08-09 Thread Bache-Wiig Jens
On Aug 9, 2013, at 2:42 AM, Daiwei Li daiwe...@gmail.commailto:daiwe...@gmail.com wrote: Hi all, I would like to be able to include Menus in my ApplcationWindow's MenuBar based on the platform. e.g.: import QtQuick 2.1 import QtQuick.Controls 1.0 import QtQuick.Window 2.0

Re: [Interest] QtQuick Controls: custom styling

2013-05-16 Thread Bache-Wiig Jens
On May 16, 2013, at 11:44 PM, Josh Faust jfa...@suitabletech.com wrote: Is this expected? Is custom styling not a supported feature? Did some more digging, it looks like I should now be extending from the specific control's style, which works fine. However, there are some styles that

Re: [Interest] QMenu RightToLeft layout direction issue

2013-04-16 Thread Bache-Wiig Jens
On Apr 16, 2013, at 9:17 AM, Muhammad Bashir Al-Noimi mbno...@gmail.com wrote: Hello Guys, QMenu doesn't work with RightToLeft layout direction (as shown in this screenshot[1]) although I called setLayoutDirection(Qt::RightToLeft) How can I fix this issue? You might first want to

Re: [Interest] Anti-aliasing for QML Canvas on Windows?

2013-03-11 Thread Bache-Wiig Jens
Hi, Sorry for delay, I had not seen your question To enable antialiasing in Qt Quick Canvas, you must set the property antialiasing to true and set the property renderTarget to Canvas.Image Guillaume True. It might also be worth mentioning that we also plan to make this the default setting

Re: [Interest] Qt5.1+, custom QQuickItem with text, not using QPainter?

2013-02-25 Thread Bache-Wiig Jens
On Feb 24, 2013, at 4:57 PM, Charley Bay charleyb...@gmail.com wrote: I'm deriving from QQuickItem (in C++) to implement custom controls in Qt5.0.1, and I'd like to render text. I don't want to use QQuickPaintedItem (a very simple solution)-- I understand and endorse the OpenGL API of

Re: [Interest] QML Canvas: bug or programmer error?

2013-02-12 Thread Bache-Wiig Jens
// Triangle.qml import QtQuick 2.0 Canvas { id: triangle antialiasing: true property color color: white onPaint: { var ctx = getContext(2d); ctx.save(); ctx.fillStyle = color; ctx.moveTo((x + width) / 2, 0); ctx.lineTo(width, y);

Re: [Interest] ItemDelegate and word wrapping

2013-02-01 Thread Bache-Wiig Jens
On Feb 1, 2013, at 8:52 AM, Иван Комиссаров abba...@gmail.com wrote: Hello. I'm trying to implement a delegate with QTextOption::WrapAtWordBoundaryOrAnywhere. I copied QItemDelegate and replaced QTextOption::WordWrap where needed. Also i made small fix for sizeHint() calculation.

Re: [Interest] ItemDelegate and word wrapping

2013-02-01 Thread Bache-Wiig Jens
On Feb 1, 2013, at 10:16 AM, André Somers an...@familiesomers.nl wrote: Op 1-2-2013 9:43, Bache-Wiig Jens schreef: On Feb 1, 2013, at 8:52 AM, Иван Комиссаров abba...@gmail.com wrote: Hello. I'm trying to implement a delegate with QTextOption::WrapAtWordBoundaryOrAnywhere. I copied

Re: [Interest] Qt 5 and filesystem

2013-01-08 Thread Bache-Wiig Jens
If the OS supports a standard dialog, then QML should provide access to it. It's just that simple. Who is to say that iOS and other mobile OSs won't provide a standard interface? It is a travesty that they don't. They've been able to avoid it because the disparity between mobile and desktop

Re: [Interest] Qt 5: how to disable single-click activation in QAbstractItemView's?

2012-12-27 Thread Bache-Wiig Jens
It is probably good that it is the same setting across styles as I would argue you would expect single click to be for instance a KDE desktop setting and not something an arbitrary style should be overriding. But if the behaviour is unexpected on your system, you can file a bug against it.

Re: [Interest] QFusionStyle

2012-12-26 Thread Bache-Wiig Jens
On Dec 25, 2012, at 1:57 PM, Иван Комиссаров abba...@gmail.com wrote: Sorry for offtop, but does anybody have sources for an example that was used to create this http://i.imgur.com/kn67x.pngimage? I want to have some pallettes to experiment with Fusion look and feel. It this example

Re: [Interest] QFusionStyle

2012-12-26 Thread Bache-Wiig Jens
colours were automatically assigned in Designer. Jens On Dec 26, 2012, at 1:35 PM, Иван Комиссаров abba...@gmail.com wrote: Thank you very much, but i meant code used to create palettes shown . Or were they just temporary palettes in Designer? Иван Комиссаров 26.12.2012, в 15:17, Bache-Wiig

Re: [Interest] QML QtQuick 2 (Qt5) font looks very blurry!

2012-12-21 Thread Bache-Wiig Jens
It looks like he distance field rendering can be tweaked on windows to be a bit sharper and thinner, but it is expected that the font rendering looks a bit more fuzzy than before on windows since distance field rendering is not pixel grid aligned by like the windows native fonts are. If you

Re: [Interest] QML QtQuick 2 (Qt5) font looks very blurry!

2012-12-21 Thread Bache-Wiig Jens
Hi Jens, I find the Qt decision in this area a bit strange - to put it mildly. Text should imho look good at it's defaults (that's called strong defaults). Zooming is a nice feature in QML, but remember, the majority of apps are probably not even going to have zooming support so perhaps