Version: 0.6.0

#include <statusbar.h>

Inheritance diagram for wxGISStatusBar:
Collaboration diagram for wxGISStatusBar:

Classes

struct  _statuspanel
 

Public Types

typedef struct
wxGISStatusBar::_statuspanel 
STATUSPANEL
 

Public Member Functions

 wxGISStatusBar (wxWindow *parent, wxWindowID id, long style=wxST_SIZEGRIP, const wxString &name=wxT("statusBar"), wxDword panelsstyle=enumGISStatusMain|enumGISStatusProgress|enumGISStatusAnimation|enumGISStatusPosition)
 
void SetMessage (const wxString &text, int i=0)
 Put message to the status bar. More...
 
wxString GetMessage (int i=0) const
 Get message from the status bar. More...
 
int GetPanelPos (wxGISEnumStatusBarPanels nPanel)
 
IProgressor * GetAnimation (void) const
 Get the animated progressor (rotating globe). More...
 
IProgressor * GetProgressor (void) const
 Get the progressor (progress bar). More...
 
wxDword GetPanels (void) const
 
void SetPanels (wxDword Panels)
 
void OnSize (wxSizeEvent &event)
 
void OnRightDown (wxMouseEvent &event)
 
void OnTimer (wxTimerEvent &event)
 
void OnMessage (wxCommandEvent &event)
 

Protected Attributes

wxTimer m_timer
 
wxGISAnimation * m_pAni
 
wxGISProgressor * m_pProgressBar
 
int m_MsgPos
 
int m_AniPos
 
int m_ProgressPos
 
int m_PositionPos
 
int m_ClockPos
 
int m_PagePositionPos
 
int m_SizePos
 
int m_CapsLockPos
 
int m_NumLockPos
 
int m_ScrollLockPos
 
wxGISApplicationBase * m_pApp
 
wxDword m_Panels
 

Detailed Description

wxGIS statusbar class. This is base class for wxGIS application statusbar.

Library:  wxGISFramework

Member Function Documentation

IProgressor * wxGISStatusBar::GetAnimation ( void  ) const
inline

Get the animated progressor (rotating globe).

Returns
The IProgressor pointer
wxString wxGISStatusBar::GetMessage ( int  i = 0) const

Get message from the status bar.

Parameters
iThe panel index (default 0 - the first panel)
Returns
The message in i-th panel of status bar
IProgressor * wxGISStatusBar::GetProgressor ( void  ) const
inline

Get the progressor (progress bar).

Returns
The IProgressor pointer
void wxGISStatusBar::SetMessage ( const wxString &  text,
int  i = 0 
)

Put message to the status bar.

Parameters
textThe message text
iThe panel index (default 0 - the first panel)

Member Data Documentation

wxDword wxGISStatusBar::m_Panels
protected

a status bar style (the combination of wxGISEnumStatusBarPanes)


The documentation for this class was generated from the following files:
  • /home/bishop/work/projects/nextgismanager/include/wxgis/framework/statusbar.h
  • /home/bishop/work/projects/nextgismanager/src/framework/statusbar.cpp