libyui-qt-pkg
Loading...
Searching...
No Matches
YQPkgDescriptionDialog Class Reference

#include <YQPkgDescriptionDialog.h>

Inheritance diagram for YQPkgDescriptionDialog:
Collaboration diagram for YQPkgDescriptionDialog:

Public Member Functions

virtual QSize sizeHint () const
 

Static Public Member Functions

static void showDescriptionDialog (const QString &pkgName)
 

Protected Member Functions

 YQPkgDescriptionDialog (QWidget *parent, const QString &pkgName)
 
void filter (const QString &pkgName)
 
bool isEmpty () const
 

Protected Attributes

YQPkgList_pkgList
 
YQPkgDescriptionView_pkgDescription
 

Detailed Description

Pkg status and description as a standalone popup dialog.

Constructor & Destructor Documentation

◆ YQPkgDescriptionDialog()

YQPkgDescriptionDialog::YQPkgDescriptionDialog ( QWidget *  parent,
const QString &  pkgName 
)
protected

Constructor: Creates a description dialog for all packages that match 'pkgName'.

Member Function Documentation

◆ filter()

void YQPkgDescriptionDialog::filter ( const QString &  pkgName)
protected

Apply the filter criteria: Fill the pkg list with pkgs that match the specified package name.

◆ isEmpty()

bool YQPkgDescriptionDialog::isEmpty ( ) const
protected

Returns 'true' if the pkg list is empty. This is only meaningful after calling 'filter()' !

◆ showDescriptionDialog()

void YQPkgDescriptionDialog::showDescriptionDialog ( const QString &  pkgName)
static

Static convenience method: Post a description dialog for pkg 'pkgName'.

◆ sizeHint()

QSize YQPkgDescriptionDialog::sizeHint ( ) const
virtual

Returns the preferred size.

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


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