|
From: Ozlem S. <ozl...@ho...> - 2010-03-30 21:22:58
|
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.
http://clk.atdmt.com/GBL/go/196390710/direct/01/ |