libyui-qt-pkg  2.44.7
 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)
 Show details for the specified package. More...
 
void reload (int newCurrent)
 Show data for the last package.
 
void slotRefreshDetails ()
 

Signals

void candidateChanged (ZyppObj newCandidate)
 Emitted when the user changes the.
 
void multiversionSelectionChanged ()
 

Public Member Functions

 YQPkgVersionsView (QWidget *parent, bool userCanSwitchVersions)
 Constructor. More...
 
virtual ~YQPkgVersionsView ()
 Destructor.
 
virtual QSize minimumSizeHint () const
 Returns the minimum size required for this widget. More...
 

Protected Slots

void checkForChangedCandidate ()
 Check for changed candidates.
 

Protected Member Functions

void showDetails (ZyppSel selectable)
 Show details for the specified package.
 

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:

Member Function Documentation

QSize YQPkgVersionsView::minimumSizeHint ( ) const
virtual

Returns the minimum size required for this widget.

Inherited from QWidget.

Definition at line 338 of file YQPkgVersionsView.cc.

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: