wxPGVListBoxComboPopup Class Reference

#include <odcombo.h>

Inheritance diagram for wxPGVListBoxComboPopup:
Inheritance graph
[legend]

List of all members.

Public Member Functions

int Append (const wxString &item)
void Clear ()
void ClearClientDatas ()
virtual bool Create (wxWindow *parent)
void Delete (wxODCIndex item)
int FindString (const wxString &s) const
virtual wxSize GetAdjustedSize (int minWidth, int prefHeight, int maxHeight)
virtual wxWindow * GetControl ()
wxODCCount GetCount () const
int GetItemAtPosition (const wxPoint &pos)
void * GetItemClientData (wxODCIndex n) const
wxCoord GetLineHeight (int n) const
int GetSelection () const
wxString GetString (int item) const
virtual wxString GetStringValue () const
wxCoord GetTotalHeight () const
void Insert (const wxString &item, int pos)
virtual bool LazyCreate ()
virtual void OnComboDoubleClick ()
virtual void OnComboKeyEvent (wxKeyEvent &event)
virtual void OnPopup ()
virtual void PaintComboControl (wxDC &dc, const wxRect &rect)
void Populate (int n, const wxString choices[])
void SetItemClientData (wxODCIndex n, void *clientData, wxClientDataType clientDataItemsType)
void SetSelection (int item)
void SetString (int item, const wxString &str)
virtual void SetStringValue (const wxString &value)
 wxPGVListBoxComboPopup (wxPGComboControl *combo)
virtual ~wxPGVListBoxComboPopup ()

Protected Member Functions

void CheckWidth (int pos)
void DismissWithEvent ()
bool HandleKey (int keycode, bool saturate)
void OnDrawBackground (wxDC &dc, const wxRect &rect, size_t n) const
virtual void OnDrawItem (wxDC &dc, const wxRect &rect, size_t n) const
virtual wxCoord OnGetRowHeight (size_t n) const
void OnKey (wxKeyEvent &event)
void OnLeftClick (wxMouseEvent &event)
virtual wxCoord OnMeasureItem (size_t n) const
void OnMouseMove (wxMouseEvent &event)
void OnMouseWheel (wxMouseEvent &event)
void SendComboBoxEvent (int selection)

Protected Attributes

int m_avgCharWidth
int m_baseImageWidth
wxClientDataType m_clientDataItemsType
wxArrayPtrVoid m_clientDatas
wxFont m_font
int m_itemHeight
int m_itemHover
wxArrayString m_strings
wxString m_stringValue
int m_value
int m_widestWidth
wxArrayInt m_widths

Private Attributes

bool m_clicked

Friends

class wxPGOwnerDrawnComboBox

Detailed Description

Definition at line 879 of file odcombo.h.


Constructor & Destructor Documentation

wxPGVListBoxComboPopup::wxPGVListBoxComboPopup ( wxPGComboControl combo  ) 
virtual wxPGVListBoxComboPopup::~wxPGVListBoxComboPopup (  )  [virtual]

Member Function Documentation

int wxPGVListBoxComboPopup::Append ( const wxString &  item  ) 
void wxPGVListBoxComboPopup::CheckWidth ( int  pos  )  [protected]
void wxPGVListBoxComboPopup::Clear (  ) 
void wxPGVListBoxComboPopup::ClearClientDatas (  ) 
virtual bool wxPGVListBoxComboPopup::Create ( wxWindow *  parent  )  [virtual]

Implements wxPGComboPopup.

void wxPGVListBoxComboPopup::Delete ( wxODCIndex  item  ) 
void wxPGVListBoxComboPopup::DismissWithEvent (  )  [protected]
int wxPGVListBoxComboPopup::FindString ( const wxString &  s  )  const
virtual wxSize wxPGVListBoxComboPopup::GetAdjustedSize ( int  minWidth,
int  prefHeight,
int  maxHeight 
) [virtual]

Reimplemented from wxPGComboPopup.

virtual wxWindow* wxPGVListBoxComboPopup::GetControl (  )  [inline, virtual]

Implements wxPGComboPopup.

Definition at line 890 of file odcombo.h.

wxODCCount wxPGVListBoxComboPopup::GetCount (  )  const
int wxPGVListBoxComboPopup::GetItemAtPosition ( const wxPoint &  pos  )  [inline]

Definition at line 922 of file odcombo.h.

void* wxPGVListBoxComboPopup::GetItemClientData ( wxODCIndex  n  )  const
wxCoord wxPGVListBoxComboPopup::GetLineHeight ( int  n  )  const [inline]

Definition at line 924 of file odcombo.h.

int wxPGVListBoxComboPopup::GetSelection (  )  const
wxString wxPGVListBoxComboPopup::GetString ( int  item  )  const
virtual wxString wxPGVListBoxComboPopup::GetStringValue (  )  const [virtual]

Implements wxPGComboPopup.

wxCoord wxPGVListBoxComboPopup::GetTotalHeight (  )  const [inline]

Definition at line 923 of file odcombo.h.

bool wxPGVListBoxComboPopup::HandleKey ( int  keycode,
bool  saturate 
) [protected]
void wxPGVListBoxComboPopup::Insert ( const wxString &  item,
int  pos 
)
virtual bool wxPGVListBoxComboPopup::LazyCreate (  )  [virtual]

Reimplemented from wxPGComboPopup.

virtual void wxPGVListBoxComboPopup::OnComboDoubleClick (  )  [virtual]

Reimplemented from wxPGComboPopup.

virtual void wxPGVListBoxComboPopup::OnComboKeyEvent ( wxKeyEvent &  event  )  [virtual]

Reimplemented from wxPGComboPopup.

void wxPGVListBoxComboPopup::OnDrawBackground ( wxDC &  dc,
const wxRect &  rect,
size_t  n 
) const [protected]
virtual void wxPGVListBoxComboPopup::OnDrawItem ( wxDC &  dc,
const wxRect &  rect,
size_t  n 
) const [protected, virtual]
virtual wxCoord wxPGVListBoxComboPopup::OnGetRowHeight ( size_t  n  )  const [inline, protected, virtual]

Definition at line 928 of file odcombo.h.

void wxPGVListBoxComboPopup::OnKey ( wxKeyEvent &  event  )  [protected]
void wxPGVListBoxComboPopup::OnLeftClick ( wxMouseEvent &  event  )  [protected]
virtual wxCoord wxPGVListBoxComboPopup::OnMeasureItem ( size_t  n  )  const [protected, virtual]
void wxPGVListBoxComboPopup::OnMouseMove ( wxMouseEvent &  event  )  [protected]
void wxPGVListBoxComboPopup::OnMouseWheel ( wxMouseEvent &  event  )  [protected]
virtual void wxPGVListBoxComboPopup::OnPopup (  )  [virtual]

Reimplemented from wxPGComboPopup.

virtual void wxPGVListBoxComboPopup::PaintComboControl ( wxDC &  dc,
const wxRect &  rect 
) [virtual]

Reimplemented from wxPGComboPopup.

void wxPGVListBoxComboPopup::Populate ( int  n,
const wxString  choices[] 
)
void wxPGVListBoxComboPopup::SendComboBoxEvent ( int  selection  )  [protected]
void wxPGVListBoxComboPopup::SetItemClientData ( wxODCIndex  n,
void *  clientData,
wxClientDataType  clientDataItemsType 
)
void wxPGVListBoxComboPopup::SetSelection ( int  item  ) 
void wxPGVListBoxComboPopup::SetString ( int  item,
const wxString &  str 
)
virtual void wxPGVListBoxComboPopup::SetStringValue ( const wxString &  value  )  [virtual]

Reimplemented from wxPGComboPopup.


Friends And Related Function Documentation

friend class wxPGOwnerDrawnComboBox [friend]

Definition at line 881 of file odcombo.h.


Member Data Documentation

Definition at line 967 of file odcombo.h.

Definition at line 968 of file odcombo.h.

Definition at line 976 of file odcombo.h.

wxClientDataType wxPGVListBoxComboPopup::m_clientDataItemsType [protected]

Definition at line 971 of file odcombo.h.

wxArrayPtrVoid wxPGVListBoxComboPopup::m_clientDatas [protected]

Definition at line 957 of file odcombo.h.

wxFont wxPGVListBoxComboPopup::m_font [protected]

Definition at line 962 of file odcombo.h.

Definition at line 969 of file odcombo.h.

Definition at line 965 of file odcombo.h.

wxArrayString wxPGVListBoxComboPopup::m_strings [protected]

Definition at line 956 of file odcombo.h.

Definition at line 960 of file odcombo.h.

Definition at line 964 of file odcombo.h.

Definition at line 966 of file odcombo.h.

wxArrayInt wxPGVListBoxComboPopup::m_widths [protected]

Definition at line 958 of file odcombo.h.


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


wxpropgrid
Author(s): Jaakko Salli
autogenerated on Fri Jan 11 09:34:07 2013