|
rock_widget_collection
0.1
|
#include <Timeline.h>
Inherits QGraphicsView.
Public Slots | |
| int | getBookmarkHeight () const |
| void | setBookmarkHeight (int height) |
| int | getMarginTopBot () |
| void | setMarginTopBot (int margin) |
| int | getMarginLR () |
| void | setMarginLR (int margin) |
| const QColor & | getBackgroundColor () const |
| void | setBackgroundColor (const QColor &color) |
| int | getWidth () |
| void | setWidth (int width) |
| int | getMinIndex () |
| void | setMinIndex (int minIndex) |
| int | getSteps () |
| void | setSteps (int steps) |
| int | getStepSize () |
| void | setStepSize (int stepSize) |
| int | getMaxIndex () |
| int | getSliderIndex () |
| int | getStartMarkerIndex () |
| void | setStartMarkerIndex (int idx) |
| int | getEndMarkerIndex () |
| void | setEndMarkerIndex (int idx) |
| void | setSliderIndex (int idx) |
| void | addBookmark (int idx) |
| void | addBookmarks (QVector< int > bookmarks) |
| void | removeBookmark (int idx) |
| void | removeAllBookmarks () |
| bool | hasBookmarkAtIndex (int idx) |
Signals | |
| void | indexSliderClicked () |
| void | endMarkerClicked () |
| void | startMarkerClicked () |
| void | indexSliderReleased (int idx) |
| void | startMarkerMoved (int idx) |
| void | endMarkerMoved (int idx) |
| void | indexSliderMoved (int idx) |
| void | startMarkerReleased (int idx) |
| void | endMarkerReleased (int idx) |
| void | bookmarkClicked (int idx) |
| void | bookmarkRemoved (int idx) |
| void | timeout () |
Public Member Functions | |
| Timeline (QWidget *parent=0) | |
Protected Member Functions | |
| void | resizeEvent (QResizeEvent *event) |
Properties | |
| int | bookmark_height |
| int | margin_topbot |
| int | margin_lr |
| QColor | backgroundColor |
| int | width |
| unsigned minIndex | READ |
| unsigned steps | READ |
| unsigned stepSize | READ |
This widget provides an improved Slider. Besides the standard slider functionality you can mark a region on the slide bar to select a certain interval between two indices. There are two markers: the start marker (left) and the end marker (right). The thin vertical slider is the index slider which is the pendant to the standard slider.
Definition at line 25 of file Timeline.h.
| Timeline::Timeline | ( | QWidget * | parent = 0 | ) |
Definition at line 9 of file Timeline.cc.
|
slot |
Adds a bookmark for the specified index. Only one bookmark per index is possible.
Definition at line 168 of file Timeline.cc.
|
slot |
Adds multiple bookmarks at once. See addBookmark().
Definition at line 178 of file Timeline.cc.
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
slot |
Definition at line 93 of file Timeline.cc.
|
slot |
Definition at line 69 of file Timeline.cc.
|
slot |
|
slot |
Definition at line 85 of file Timeline.cc.
|
slot |
Definition at line 77 of file Timeline.cc.
|
slot |
Returns the maximum index, i.e. the highest index on the timeline.
Definition at line 296 of file Timeline.cc.
|
slot |
Definition at line 109 of file Timeline.cc.
|
slot |
|
slot |
|
slot |
Definition at line 118 of file Timeline.cc.
|
slot |
Definition at line 127 of file Timeline.cc.
|
slot |
Definition at line 101 of file Timeline.cc.
|
slot |
Returns true if there is a bookmark located at the specified index.
Definition at line 201 of file Timeline.cc.
|
signal |
|
signal |
|
signal |
|
slot |
Removes all bookmarks.
Definition at line 196 of file Timeline.cc.
|
slot |
Removes the bookmark at the specified index if there one.
Definition at line 185 of file Timeline.cc.
|
protected |
Definition at line 210 of file Timeline.cc.
|
slot |
Definition at line 97 of file Timeline.cc.
|
slot |
Definition at line 73 of file Timeline.cc.
|
slot |
|
slot |
Definition at line 89 of file Timeline.cc.
|
slot |
Definition at line 81 of file Timeline.cc.
|
slot |
Definition at line 113 of file Timeline.cc.
|
slot |
|
slot |
|
slot |
Definition at line 122 of file Timeline.cc.
|
slot |
Definition at line 131 of file Timeline.cc.
|
slot |
Definition at line 105 of file Timeline.cc.
|
signal |
|
signal |
|
signal |
|
signal |
|
readwrite |
Definition at line 31 of file Timeline.h.
|
readwrite |
Definition at line 28 of file Timeline.h.
|
readwrite |
Definition at line 30 of file Timeline.h.
|
readwrite |
Definition at line 29 of file Timeline.h.
|
write |
Definition at line 33 of file Timeline.h.
|
write |
Definition at line 35 of file Timeline.h.
|
write |
Definition at line 34 of file Timeline.h.
|
readwrite |
Definition at line 32 of file Timeline.h.
1.8.13