Re: [Interest] Display nicely truncated text in a QLabel

2013-07-22 Thread Adam Light
On Fri, Jul 12, 2013 at 2:06 AM, wrote: > Hi > > I would derive from QLabel, get the length of it (in pixel) with > frameWidth() use QFontMetrics QWidget::fontMetrics () with int > QFontMetrics::width ( const QString & text, int len = -1 ) to get the > length of the text in pixels, check if it fi

[Interest] QML Video Element Error Query

2013-07-22 Thread Akshay Ratan
Hello, Currently I am working with *KDE* *Community *on my *Google Summer of Code 2013* project on *Improvements and Enhancements of Plasma Media Center Application*. I was working on a task of subtitle enhancement in the Plasma Video Player, where I was using *QML's Video Element Property:: meta

[Interest] QSpinBox 1 up/down click changes value by 2 steps

2013-07-22 Thread Carl Schumann
Hi, I am having some problem with my use of Qt's QSpinBox. In my application QSpinBox 1 up/down click changes the boxes value by 2 steps. (There are two separate valueChanged signals each by one step.)The issue appears to be related to the amount of time taken by a slot attached to the