PDA

View Full Version : display selected period



nico.23
24th May 2009, 15:07
Hi,

I'm trying to create a little personal-planning application and now i got a problem where i don't even know, what to search for.
The user should schedule the periods of time for the employees. I tried to paint it here: http://img38.imageshack.us/img38/624/personal.th.jpg (http://img38.imageshack.us/my.php?image=personal.jpg)

My problem is, that I have no idea, how to realize this. I thought about a slider with two sliderPositions or something like that, but don't know if this is possible. The period has to be modifiable and i don't want to use only 2 EditLines or 2 sliderBars.

So if you got any idea, how to solve this, I would be very thankful!!

nico.23
29th May 2009, 11:37
I got now what i wanted. If somebody needs a similar widget: i took this (http://qt-apps.org/content/show.php/Document+Margin+Slider++Units?content=83354) MultiSlider and edited it for my task. See the attachement for a Screenshot and the source.
I'm sure, the code is not the best solution - so if you got any hints, you're welcome.