wxPackageDependencyDlg Class Reference

List of all members.

Public Member Functions

 wxPackageDependencyDlg ()
 Constructors.
bool Create (wxWindow *parent, wxWindowID id=SYMBOL_WXPACKAGEDEPENDENCYDLG_IDNAME, const wxString &caption=SYMBOL_WXPACKAGEDEPENDENCYDLG_TITLE, const wxPoint &pos=SYMBOL_WXPACKAGEDEPENDENCYDLG_POSITION, const wxSize &size=SYMBOL_WXPACKAGEDEPENDENCYDLG_SIZE, long style=SYMBOL_WXPACKAGEDEPENDENCYDLG_STYLE)
 Creation.
void CreateControls ()
 Creates the controls and sizers.
void OnButton (wxCommandEvent &ev)
bool SetPackageArray (const wxPackageArray &arr, const wxPackageArray &installed, const wxPackageArray &remote)
bool SetPackage (const wxPackage &pkg, const wxPackageArray &installed, const wxPackageArray &remote)
bool IsEmpty () const
void QueueAdditionalPackages (wxPackageDependencyType type, wxPackageDownloadQueuePanel *panel)
wxPackageArray GetAdditionalPackages (wxPackageDependencyType t=wxPDT_INVALID) const

Static Public Member Functions

static bool ShowToolTips ()
 Should we show tooltips?

Protected Member Functions

void FillListbox (wxListBox *box, const wxPackageDependencyArray &arr, bool useversionrange=false)
wxPackageArray GetPackagesFromCheckListbox (wxCheckListBox *box, const wxPackageDependencyArray &arr) const

Protected Attributes

wxStaticText * m_pMainMsg
wxCheckListBox * m_pRequiredCheckList
wxCheckListBox * m_pSuggestedCheckList
wxListBox * m_pNotFoundList
wxStaticText * m_pQuestionMsg
wxPackageDependencyArray m_required
wxPackageDependencyArray m_suggested
wxPackageDependencyArray m_notfound
const wxPackageArraym_pRemote
bool m_bSelectedPackagesAreDownloaded

Detailed Description

Definition at line 49 of file dependencydlg.h.


Member Function Documentation

wxPackageArray wxPackageDependencyDlg::GetAdditionalPackages ( wxPackageDependencyType  t = wxPDT_INVALID  )  const

Returns the list of additional packages which should be downloaded. Only packages which are dependency of the given type (wxPDT_INVALID means both required and suggested) are returned.

Definition at line 288 of file dependencydlg.cpp.

References GetPackagesFromCheckListbox(), m_pRequiredCheckList, m_pSuggestedCheckList, m_required, and m_suggested.

Referenced by wxPackageBrowserPanel::Download(), OnButton(), wxPackageBrowserPanel::OnButtonClick(), and QueueAdditionalPackages().


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