Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

YQPkgVersionsView Class Reference

Package version selector: Display a list of available versions from all the different installation sources and let the user change the candidate version for installation / update. More...

#include <YQPkgVersionsView.h>

Inheritance diagram for YQPkgVersionsView:

QY2ListView List of all members.

Public Slots

void showDetailsIfVisible (PMObjectPtr pmObj)
void reload (QWidget *newCurrent)

Signals

void candidateChanged (PMObjectPtr newCandidate)

Public Member Functions

 YQPkgVersionsView (QWidget *parent, bool userCanSwitchVersions)
virtual ~YQPkgVersionsView ()
virtual QSize minimumSizeHint () const
int versionCol () const
int instSrcCol () const
int nameCol () const
int summaryCol () const
int statusCol () const
int archCol () const

Protected Slots

void checkForChangedCandidate ()

Protected Member Functions

void showDetails (PMObjectPtr pmObj)

Protected Attributes

QTabWidget * _parentTab
PMObjectPtr _pmObj
bool _userCanSwitch
int _versionCol
int _instSrcCol
int _nameCol
int _summaryCol
int _statusCol
int _archCol

Detailed Description

Package version selector: Display a list of available versions from all the different installation sources and let the user change the candidate version for installation / update.


Constructor & Destructor Documentation

YQPkgVersionsView::YQPkgVersionsView QWidget *  parent,
bool  userCanSwitchVersions
 

Constructor.

'userCanSwitchVersions' specifies whether or not the user is allowed to switch between package versions - e.g. in YOU mode, he can't.

YQPkgVersionsView::~YQPkgVersionsView  )  [virtual]
 

Destructor


Member Function Documentation

int YQPkgVersionsView::archCol  )  const [inline]
 

void YQPkgVersionsView::candidateChanged PMObjectPtr  newCandidate  )  [signal]
 

Emitted when the user changes the

void YQPkgVersionsView::checkForChangedCandidate  )  [protected, slot]
 

Check for changed candidates

int YQPkgVersionsView::instSrcCol  )  const [inline]
 

QSize YQPkgVersionsView::minimumSizeHint  )  const [virtual]
 

Returns the minimum size required for this widget. Inherited from QWidget.

Reimplemented from QY2ListView.

int YQPkgVersionsView::nameCol  )  const [inline]
 

void YQPkgVersionsView::reload QWidget *  newCurrent  )  [slot]
 

Show data for the last package.

void YQPkgVersionsView::showDetails PMObjectPtr  pmObj  )  [protected]
 

Show details for the specified package.

void YQPkgVersionsView::showDetailsIfVisible PMObjectPtr  pmObj  )  [slot]
 

Show details for the specified package. Delayed ( optimized ) display if this is embedded into a QTabWidget parent: In this case, wait until this page becomes visible.

int YQPkgVersionsView::statusCol  )  const [inline]
 

int YQPkgVersionsView::summaryCol  )  const [inline]
 

int YQPkgVersionsView::versionCol  )  const [inline]
 


Member Data Documentation

int YQPkgVersionsView::_archCol [protected]
 

int YQPkgVersionsView::_instSrcCol [protected]
 

int YQPkgVersionsView::_nameCol [protected]
 

QTabWidget* YQPkgVersionsView::_parentTab [protected]
 

PMObjectPtr YQPkgVersionsView::_pmObj [protected]
 

int YQPkgVersionsView::_statusCol [protected]
 

int YQPkgVersionsView::_summaryCol [protected]
 

bool YQPkgVersionsView::_userCanSwitch [protected]
 

int YQPkgVersionsView::_versionCol [protected]
 


The documentation for this class was generated from the following files:
Generated on Wed Nov 12 06:11:17 2008 for yast2-qt by  doxygen 1.3.9.1