From: Ozlem S. <ozl...@ho...> - 2010-03-30 14:04:26
|
Hi, I have just compiled Qxt and linked it successfully to my project to use QxtSpanSlider. however, I don't see two handles on the slider, and when I connect a lowerValueChanged signal to a slot, it doesn't do anything; seems like the lower handle does not exist at all, and the qxtspanslider behaves like a single handle slider, like Qslider. can anyone help me please? -- ozlem _________________________________________________________________ Hotmail: Powerful Free email with security by Microsoft. http://clk.atdmt.com/GBL/go/196390710/direct/01/ |
From: J-P N. <jp...@gm...> - 2010-03-30 15:00:23
|
On Tue, Mar 30, 2010 at 4:04 PM, Ozlem Subakan <ozl...@ho...> wrote: > Hi, > I have just compiled Qxt and linked it successfully to my project to use > QxtSpanSlider. > however, I don't see two handles on the slider, and when I connect a > lowerValueChanged signal to a slot, it doesn't do anything; seems like the > lower handle does not exist at all, and the qxtspanslider behaves like a > single handle slider, like Qslider. > can anyone help me please? > -- > ozlem Hi Ozlem, Please provide necessary background information; used platform, tool chain, exact Qt & Qxt version etc. Furthermore, in case of QxtSpanSlider that heavily uses QStyle to render its parts, the active QStyle is also rather important to know. -- J-P Nurmi |
From: Ozlem S. <ozl...@ho...> - 2010-03-30 15:23:42
|
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. > From: jp...@gm... > Date: Tue, 30 Mar 2010 16:59:56 +0200 > To: lib...@li... > Subject: Re: [Libqxt-discussion] QxtSpanSlider problem > > On Tue, Mar 30, 2010 at 4:04 PM, Ozlem Subakan <ozl...@ho...> wrote: > > Hi, > > I have just compiled Qxt and linked it successfully to my project to use > > QxtSpanSlider. > > however, I don't see two handles on the slider, and when I connect a > > lowerValueChanged signal to a slot, it doesn't do anything; seems like the > > lower handle does not exist at all, and the qxtspanslider behaves like a > > single handle slider, like Qslider. > > can anyone help me please? > > -- > > ozlem > > Hi Ozlem, > > Please provide necessary background information; used platform, tool > chain, exact Qt & Qxt version etc. Furthermore, in case of > QxtSpanSlider that heavily uses QStyle to render its parts, the active > QStyle is also rather important to know. > > -- > J-P Nurmi > > ------------------------------------------------------------------------------ > 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 _________________________________________________________________ Hotmail: Trusted email with powerful SPAM protection. http://clk.atdmt.com/GBL/go/196390707/direct/01/ |
From: J-P N. <jp...@gm...> - 2010-03-30 20:49:39
Attachments:
qxtdemo.png
|
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 |
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/ |
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 > > |
From: J-P N. <jp...@gm...> - 2010-03-30 21:49:13
|
On Wed, Mar 31, 2010 at 12:22 AM, 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. ? Use suitable selectors. That kind of open style sheet rule would apply to each and every widget which is the culprit in your case. -- J-P Nurmi |
From: Ozlem S. <ozl...@ho...> - 2010-04-02 13:26:30
|
Thanks a lot, that solved the problem. > From: jp...@gm... > Date: Wed, 31 Mar 2010 00:48:47 +0300 > To: lib...@li... > Subject: Re: [Libqxt-discussion] QxtSpanSlider problem > > On Wed, Mar 31, 2010 at 12:22 AM, 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. ? > > Use suitable selectors. That kind of open style sheet rule would apply > to each and every widget which is the culprit in your case. > > -- > J-P Nurmi > > ------------------------------------------------------------------------------ > 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 _________________________________________________________________ Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1 |