libyui-qt-pkg  2.42.5
 All Classes Functions Variables Enumerations
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.

Definition at line 54 of file YQPkgDescriptionDialog.h.

Constructor & Destructor Documentation

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

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

Definition at line 68 of file YQPkgDescriptionDialog.cc.

Here is the call graph for this function:

Member Function Documentation

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

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

Definition at line 136 of file YQPkgDescriptionDialog.cc.

Here is the call graph for this function:

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.

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

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

Definition at line 193 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: