41 #ifndef YQPkgVersionsView_h
42 #define YQPkgVersionsView_h
44 #include <QScrollArea>
45 #include <QRadioButton>
47 #include <QButtonGroup>
104 void reload(
int newCurrent );
106 void slotRefreshDetails();
114 void multiversionSelectionChanged( );
137 QTabWidget * _parentTab;
140 QButtonGroup * _buttons;
141 QList<QWidget*> _installed;
142 QVBoxLayout * _layout;
157 bool enabled =
true );
180 virtual QString
toolTip(
int column );
205 ZyppPoolItem zyppPoolItem,
206 bool enabled =
true );
231 void setStatus( ZyppStatus newStatus );
232 QPixmap statusIcon( ZyppStatus status );
237 ZyppPoolItem _zyppPoolItem;
241 void slotIconClicked();
245 void statusChanged();
253 #endif // ifndef YQPkgVersionsView_h
virtual QSize minimumSizeHint() const
Returns the minimum size required for this widget.
virtual QString toolTip(int column)
Returns a tool tip text for a specific column of this item.
YQPkgMultiVersion(QWidget *parent, ZyppSel selectable, ZyppPoolItem zyppPoolItem, bool enabled=true)
Constructor.
YQPkgVersion(QWidget *parent, ZyppSel selectable, ZyppObj zyppObj, bool enabled=true)
Constructor.
ZyppSel selectable() const
Returns the original ZYPP selectable.
void showDetailsIfVisible(ZyppSel selectable)
Show details for the specified package.
virtual ~YQPkgVersion()
Destructor.
YQPkgVersionsView(QWidget *parent, bool userCanSwitchVersions)
Constructor.
virtual ~YQPkgMultiVersion()
Destructor.
ZyppSel selectable() const
Returns the original ZYPP selectable.
Package version selector: Display a list of available versions from all the different installation so...
void paintEvent(QPaintEvent *)
Paints checkboxes with status icons instead of a checkmark.
void checkForChangedCandidate()
Check for changed candidates.
void candidateChanged(ZyppObj newCandidate)
Emitted when the user changes the.
ZyppObj zyppObj() const
Returns the original ZYPP object.
virtual ~YQPkgVersionsView()
Destructor.
void cycleStatus()
Cycle the package status to the next valid value.
void reload(int newCurrent)
Show data for the last package.
void showDetails(ZyppSel selectable)
Show details for the specified package.