Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

exclusion_listctrl Class Reference

Listctrl used in the exclusion_dialog . More...

#include <exclusion_listctrl.h>

Inheritance diagram for exclusion_listctrl:

wxListCtrl List of all members.

Public Methods

  exclusion_listctrl (wxWindow *parent, wxWindowID id=-1, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxLC_REPORT, const wxValidator &validator=wxDefaultValidator, const wxString &name="the_exclusion_listctrl", const wxString &exclusion_column_caption="URL")
  Constructor.

  exclusion_listctrl ()
  ~exclusion_listctrl ()
  Destuctor.

bool  get_is_listctrl_dirty ()
  Query whether listctrl is dirty, that is a user modified at least one entry.

void  on_add_command ()
  Action performed when parent window or popup tells it should do an add command.

void  on_edit_command ()
  Action performed when parent window or popup tells it should do an edit command.

void  on_delete_command ()
  Action performed when parent window or popup tells it should do a delete command.


Protected Methods

long  get_selected_item_id ()
long  add_empty_row ()
void  edit_row (long row)
void  delete_selected_row ()
void  OnOK (wxCommandEvent &event)
void  on_help_button (wxCommandEvent &event)
void  popup_menu (wxMouseEvent &event)
void  OnSize (wxSizeEvent &event)
void  set_column_widths ()

Protected Attributes

wxWindow *  m_parent
bool  m_listctrl_is_dirty

Detailed Description

Listctrl used in the exclusion_dialog .

Constructor & Destructor Documentation

exclusion_listctrl::exclusion_listctrl wxWindow *    parent,
wxWindowID    id = -1,
const wxPoint &    pos = wxDefaultPosition,
const wxSize &    size = wxDefaultSize,
long    style = wxLC_REPORT,
const wxValidator &    validator = wxDefaultValidator,
const wxString &    name = "the_exclusion_listctrl",
const wxString &    exclusion_column_caption = "URL"
 

Constructor.

Parameters:
parent  The parent window.
id  The id of the progress_listbox. Will usually be -1 unless multiple of them on the same dialog.
pos  The pixel position of the listctrl on its parent window
size  The pixel size of the listctrl
style  Style of the listbox. See wxWindows wxListBox docs for details.
validator  Window validator. See wxWindows docs for details.
name  Windows name (rarely used).
exclusion_column_caption  The label of header of listctrl's exclusion column.

Member Function Documentation

bool exclusion_listctrl::get_is_listctrl_dirty  
 

Query whether listctrl is dirty, that is a user modified at least one entry.

Returns :
TRUE if user modified at least one entry.