libyui-qt-pkg  2.42.13
 All Classes Functions Variables Enumerations
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:
Collaboration diagram for YQPkgVersionsView:

Public Slots

void showDetailsIfVisible (ZyppSel selectable)
 
void reload (QWidget *newCurrent)
 
void slotRefreshDetails ()
 

Signals

void candidateChanged (ZyppObj newCandidate)
 
void multiversionSelectionChanged ()
 

Public Member Functions

 YQPkgVersionsView (QWidget *parent, bool userCanSwitchVersions)
 
virtual ~YQPkgVersionsView ()
 
virtual QSize minimumSizeHint () const
 

Protected Slots

void checkForChangedCandidate ()
 

Protected Member Functions

void showDetails (ZyppSel selectable)
 

Protected Attributes

QWidget * _content
 
QTabWidget * _parentTab
 
ZyppSel _selectable
 
bool _userCanSwitch
 
QButtonGroup * _buttons
 
QList< QWidget * > _installed
 
QVBoxLayout * _layout
 

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.

Definition at line 63 of file YQPkgVersionsView.h.

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 patch mode, he can't.

Definition at line 65 of file YQPkgVersionsView.cc.

Here is the call graph for this function:

YQPkgVersionsView::~YQPkgVersionsView ( )
virtual

Destructor

Definition at line 84 of file YQPkgVersionsView.cc.

Member Function Documentation

void YQPkgVersionsView::candidateChanged ( ZyppObj  newCandidate)
signal

Emitted when the user changes the

void YQPkgVersionsView::checkForChangedCandidate ( )
protectedslot

Check for changed candidates

Definition at line 278 of file YQPkgVersionsView.cc.

Here is the call graph for this function:

QSize YQPkgVersionsView::minimumSizeHint ( ) const
virtual

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

Definition at line 345 of file YQPkgVersionsView.cc.

void YQPkgVersionsView::reload ( QWidget *  newCurrent)
slot

Show data for the last package.

Definition at line 91 of file YQPkgVersionsView.cc.

Here is the call graph for this function:

void YQPkgVersionsView::showDetails ( ZyppSel  selectable)
protected

Show details for the specified package.

Definition at line 125 of file YQPkgVersionsView.cc.

Here is the call graph for this function:

void YQPkgVersionsView::showDetailsIfVisible ( ZyppSel  selectable)
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.

Definition at line 106 of file YQPkgVersionsView.cc.

Here is the call graph for this function:


The documentation for this class was generated from the following files: