qtopiahooo
25th October 2006, 04:05
hi, all
i want to implement a widget like the following, which is like a Qtabbar:
________________
|_5_|_6_|_7_|_8_| |>
the left and right are two toolbuttons(i cannot draw the left button). in the middle are 4 horizontal grid to show 4 texts.
if the left toolbutton is pressed, the middle will show the previous 4 texts before the current leftmost text such as 1,2,3 and 4. if the right toolbutton is pressed, the middle will show the next 4 texts after the current rightmost text such as 9,10,11 and 12.
and the count of the texts can be specified.
any help is appreciated.
i want to implement a widget like the following, which is like a Qtabbar:
________________
|_5_|_6_|_7_|_8_| |>
the left and right are two toolbuttons(i cannot draw the left button). in the middle are 4 horizontal grid to show 4 texts.
if the left toolbutton is pressed, the middle will show the previous 4 texts before the current leftmost text such as 1,2,3 and 4. if the right toolbutton is pressed, the middle will show the next 4 texts after the current rightmost text such as 9,10,11 and 12.
and the count of the texts can be specified.
any help is appreciated.