libyui-qt-pkg  2.45.13.1
YQPkgDescriptionDialog Class Reference

Pkg status and description as a standalone popup dialog. More...

#include <YQPkgDescriptionDialog.h>

Inheritance diagram for YQPkgDescriptionDialog:
Collaboration diagram for YQPkgDescriptionDialog:

Public Member Functions

virtual QSize sizeHint () const
 Returns the preferred size. More...
 

Static Public Member Functions

static void showDescriptionDialog (const QString &pkgName)
 Static convenience method: Post a description dialog for pkg 'pkgName'.
 

Protected Member Functions

 YQPkgDescriptionDialog (QWidget *parent, const QString &pkgName)
 Constructor: Creates a description dialog for all packages that match 'pkgName'.
 
void filter (const QString &pkgName)
 Apply the filter criteria: Fill the pkg list with pkgs that match the specified package name.
 
bool isEmpty () const
 Returns 'true' if the pkg list is empty. More...
 

Protected Attributes

YQPkgList_pkgList
 
YQPkgDescriptionView_pkgDescription
 

Detailed Description

Pkg status and description as a standalone popup dialog.

Definition at line 54 of file YQPkgDescriptionDialog.h.

Member Function Documentation

bool YQPkgDescriptionDialog::isEmpty ( ) const
protected

Returns 'true' if the pkg list is empty.

This is only meaningful after calling 'filter()' !

Definition at line 171 of file YQPkgDescriptionDialog.cc.

QSize YQPkgDescriptionDialog::sizeHint ( ) const
virtual

Returns the preferred size.

Reimplemented from QWidget to limit the dialog to the screen dimensions.

Definition at line 182 of file YQPkgDescriptionDialog.cc.


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