libyui-qt-pkg
2.44.7
|
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>
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 |
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.
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.
|
virtual |
Returns the minimum size required for this widget.
Inherited from QWidget.
Definition at line 338 of file YQPkgVersionsView.cc.
|
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.