From: Coda H. <chi...@gm...> - 2010-03-30 21:32:14
|
QxtSpanSlider is a bit of a mess when it comes to styles, unfortunately. QStyle wasn't intended to be used that way. It doesn't quite render right with QMacStyle either. /s/ Adam On Tue, Mar 30, 2010 at 4:22 PM, Ozlem Subakan <ozl...@ho...> wrote: > I just found the problem. I am changing the style sheet of the application > by adding a gradient color to the background: > this->setStyleSheet("background-color: qlineargradient(.... );"); > > when I remove this line, I can see the two handles, and use them properly. > otherwise, it shows only one handle. > I really want to be able to make changes to the look of the application, but > it seems it is not possible with qxtspanslider. ? > > > >> From: jp...@gm... >> Date: Tue, 30 Mar 2010 23:49:09 +0300 >> To: lib...@li... >> Subject: Re: [Libqxt-discussion] QxtSpanSlider problem >> >> On Tue, Mar 30, 2010 at 6:23 PM, Ozlem Subakan <ozl...@ho...> >> wrote: >> > >> > Hi J-P, >> > Thank you. >> > I am using Qt4, Qxt0.5.1 on Windows Xp, with MSVS2008. >> > I have compiled Qxt without msvc option. >> > I actually tried with Mac's Plastique style (changed QApplication's >> > style) thinking that the style might be an issue, but still had one >> > handle >> > on the slider. >> >> Have you tried the qxtgui test app in libqxt/tests/other/app? Works >> fine for me with Qt 4.6.2 and latest development version of Qxt. See >> the attached screenshot. >> >> -- >> J-P Nurmi > > ________________________________ > Hotmail: Powerful Free email with security by Microsoft. Get it now. > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Libqxt-discussion mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libqxt-discussion > > |