Logo Search packages:      
Sourcecode: qasmixer version File versions  Download package

Public Slots | Signals | Public Member Functions | Protected Member Functions | Private Slots | Private Member Functions | Private Attributes

Wdg::DS_Slider Class Reference

Dynamic size slider. More...

#include <ds_slider.hpp>

Collaboration diagram for Wdg::DS_Slider:
Collaboration graph
[legend]

List of all members.

Public Slots

void adjust_current_index (long idx_delta_n)
void set_current_index (unsigned long idx_n)
void set_maximum_index (unsigned long idx_n)

Signals

void sig_current_index_changed (unsigned long idx_n)
void sig_maximum_index_changed (unsigned long idx_n)

Public Member Functions

unsigned long current_index () const
 DS_Slider (QWidget *parent_n=0, Shared_Pixmaps_Set_Hub *hub_n=0)
Shared_Pixmaps_Set_Hubhub () const
unsigned long maximum_index () const
QSize minimumSizeHint () const
const DS_Slider_Pixmaps_Meta_Bgpixmaps_meta_bg () const
const
DS_Slider_Pixmaps_Meta_Handle
pixmaps_meta_handle () const
const
DS_Slider_Pixmaps_Meta_Marker
pixmaps_meta_marker () const
void set_hub (Shared_Pixmaps_Set_Hub *hub_n)
void set_pixmaps_meta_bg (const DS_Slider_Pixmaps_Meta_Bg &cfg_n)
void set_pixmaps_meta_handle (const DS_Slider_Pixmaps_Meta_Handle &cfg_n)
void set_pixmaps_meta_marker (const DS_Slider_Pixmaps_Meta_Marker &cfg_n)
void set_wheel_degrees (unsigned int degrees_n)
QSize sizeHint () const
bool slider_down () const
unsigned int wheel_degrees () const

Protected Member Functions

void changeEvent (QEvent *event_n)
void clear_index_mappers ()
virtual void current_index_changed ()
void enterEvent (QEvent *event_n)
void finish_handle_manipulation ()
void focusInEvent (QFocusEvent *event_n)
void focusOutEvent (QFocusEvent *event_n)
void keyPressEvent (QKeyEvent *event_n)
void keyReleaseEvent (QKeyEvent *event_n)
void leaveEvent (QEvent *event_n)
unsigned long map_handle_pos_to_index (int handle_pos_n)
unsigned int map_handle_pos_to_tick_pos (int handle_pos_n)
unsigned int map_index_to_handle_pos (unsigned long idx_n)
unsigned int map_index_to_tick_pos (unsigned long idx_n)
unsigned int map_tick_pos_to_handle_pos (int tick_pos_n)
unsigned long map_tick_pos_to_index (int tick_pos_n)
virtual void maximum_index_changed ()
void mouseMoveEvent (QMouseEvent *event_n)
void mousePressEvent (QMouseEvent *event_n)
void mouseReleaseEvent (QMouseEvent *event_n)
void paintEvent (QPaintEvent *event_n)
void resizeEvent (QResizeEvent *event_n)
bool set_handle_pos (unsigned int pos_n)
void set_slider_down (bool down_n)
bool update_cursor_mode ()
void update_index_mappers ()
void update_painter_utils ()
void update_pixmaps ()
 Fetches new pixmaps from the image buffers.
void update_value_from_handle_pos ()
void wheelEvent (QWheelEvent *event_n)

Private Slots

void anim_tick ()

Private Member Functions

void anim_snap_start ()
bool anim_snap_tick (unsigned int msec_n)
void anim_stop ()

Private Attributes

bool _anim_run_snap
unsigned int _anim_snap_msec_max
QTime _anim_snap_time
QTimer _anim_timer
Cubic_Curve _cubic_curve
unsigned long _current_index
bool _cursor_over_handle
bool _cursor_select_allowed
bool _cursor_value_hinting
const unsigned int _handle_max_height
const unsigned int _handle_min_height
unsigned int _handle_pos
unsigned int _handle_pos_hint
unsigned int _handle_pos_index
unsigned int _handle_pos_max
QRect _handle_rect
Shared_Pixmaps_Set_Hub_hub
UInt_Mapper_map_hp_idx
UInt_Mapper_map_idx_hp
int _marker_offset [2]
QSize _marker_size
unsigned long _maximum_index
QPoint _mouse_last
Shared_Pixmaps_Set_pxm_bg
Shared_Pixmaps_Set_pxm_handle
Shared_Pixmaps_Set_pxm_marker
DS_Slider_Pixmaps_Meta_Bg _pxm_meta_bg
DS_Slider_Pixmaps_Meta_Handle _pxm_meta_handle
DS_Slider_Pixmaps_Meta_Marker _pxm_meta_marker
bool _slider_down
QBrush _snap_brush
QPen _snap_pen
long _step_page
long _step_single
int _tick_max
int _tick_min
bool _update_pixmaps
unsigned int _wheel_degrees

Detailed Description

Dynamic size slider.

Definition at line 37 of file ds_slider.hpp.


The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index