Main Page   Class Hierarchy   Compound List   File List   Compound Members  

SortDialog Class Reference

Dialog for choosing the columns for sorting the table. More...

#include <dialogs.h>

List of all members.

Public Methods

 SortDialog (wxWindow *parent, ColumnFieldArray &columns)
 Creates a new sort dialog with the current columns. More...

ColumnFieldArray getSortOrder ()
 Gets the columns in the order the user has choosen for sorting the table. More...

void OnOK (wxCommandEvent &event)
 Closes the dialog and retrieves the sort order. More...


Detailed Description

Dialog for choosing the columns for sorting the table.

Definition at line 65 of file dialogs.h.


Constructor & Destructor Documentation

SortDialog::SortDialog wxWindow *    parent,
ColumnFieldArray &    columns
 

Creates a new sort dialog with the current columns.

Parameters:
parent  The frame.
columns  The columns of the current table.

Definition at line 310 of file dialogs.cpp.


Member Function Documentation

ColumnFieldArray SortDialog::getSortOrder  
 

Gets the columns in the order the user has choosen for sorting the table.

Returns:
ColumnFieldArray, use getOldIndex for retrieving the column index (-1 if disabled).

Definition at line 394 of file dialogs.cpp.

Referenced by AddressManagerFrame::OnMenuTableSort().

void SortDialog::OnOK wxCommandEvent &    event
 

Closes the dialog and retrieves the sort order.

Definition at line 406 of file dialogs.cpp.

Referenced by ColumnDialog::getNewColumns().


Generated on Thu May 2 15:13:51 2002 for Wino by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001