wxOptionEditorCtrl Class Reference

List of all members.

Public Member Functions

 wxOptionEditorCtrl ()
 wxOptionEditorCtrl (wxWindow *parent, wxWindowID id, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0, const wxString &name=wxT("wxOptionEditorCtrl"))
bool Create (wxWindow *parent, wxWindowID id, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0, const wxString &name=wxT("wxOptionEditorCtrl"))
bool Load (wxConfigBase *, const wxString &path)
void Save (wxConfigBase *, const wxString &path) const
bool SetOptions (const wxPackageCommandOptionArray &opt)
void SetBuildSystemType (wxPackageBuildSystemType type)
void SetStages (long stages)
void SetCompilerFormats (long formats)
wxPackageCommandOptionArrayGetOptions ()
bool IsDirty () const
bool TransferDataFromWindow ()
bool TransferDataToWindow ()
void OnOptionChanged (wxPropertyGridEvent &ev)

Protected Attributes

wxPackageCommandOptionArray m_arr
wxPackageBuildSystemType m_buildsys
long m_stages
long m_formats

Detailed Description

Definition at line 30 of file opteditctrl.h.


Member Function Documentation

bool wxOptionEditorCtrl::Load ( wxConfigBase *  ,
const wxString &  path 
)

Loads from given path the strings previously saved by a Save call. All previous contents are cleared.

void wxOptionEditorCtrl::Save ( wxConfigBase *  ,
const wxString &  path 
) const

Saves in given path all the currently contained strings. Order will be preserved by Load.

bool wxOptionEditorCtrl::SetOptions ( const wxPackageCommandOptionArray opt  )  [inline]

Sets the options associated to this control and the stage it controls. Only the options which can be used with the given format & given stage are shown. The value wxPCF_INVALID means that the check on the compiler is skipped. Remember to call TransferDataToWindow() after calling all Set*() functions!

Definition at line 67 of file opteditctrl.h.

References m_arr, and wxPackageCommandOptionArray::SetDirty().

Referenced by wxExtCmdOptionsPanel::SelectWxBuild(), and wxExtCmdOptionsPanel::SetPackage().

wxPackageCommandOptionArray& wxOptionEditorCtrl::GetOptions (  )  [inline]

Returns all options with the values currently set in this control. Note that if you modify the returned array, in order to make the changes appear in the control you have to call TransferDataToWindow().

Definition at line 82 of file opteditctrl.h.

References m_arr.

Referenced by wxExtCmdOptionsPanel::GetOptions(), wxPackagePresetsPanel::TransferDataFromWindow(), and wxExtCmdOptionsPanel::TransferDataFromWindow().

bool wxOptionEditorCtrl::IsDirty (  )  const [inline]

Returns true if the options have been changed by the user since last call to SetOptions().

Definition at line 87 of file opteditctrl.h.

References wxPackageCommandOptionArray::IsDirty(), and m_arr.


The documentation for this class was generated from the following files:
Generated on Thu Feb 1 22:14:32 2007 for wxWidgets Package Manager by  doxygen 1.5.1-p1