libyui-ncurses-pkg  2.44.4
 All Classes Functions
NCPkgFilterPattern Class Reference
Inheritance diagram for NCPkgFilterPattern:
Collaboration diagram for NCPkgFilterPattern:

Public Member Functions

 NCPkgFilterPattern (YWidget *parent, YTableHeader *header, NCPackageSelector *pkg)
 
void createLayout (YWidget *parent)
 
bool fillPatternList ()
 
std::string showDescription (ZyppObj objPtr)
 
void showPatternPackages ()
 
- Public Member Functions inherited from NCPkgTable
 NCPkgTable (YWidget *parent, YTableHeader *tableHeader)
 
virtual void addLine (ZyppStatus status, const std::vector< std::string > &elements, ZyppObj objPtr, ZyppSel slbPtr)
 
void drawList ()
 
virtual void itemsCleared ()
 
virtual void cellChanged (int index, int colnum, const std::string &newtext)
 
NClabel getCellContents (int index, int colnum)
 
void setPackager (NCPackageSelector *pkg)
 
bool changeStatus (ZyppStatus newstat, const ZyppSel &slbPtr, ZyppObj objPtr, bool singleChange)
 
bool changeObjStatus (int key)
 
bool changeListObjStatus (NCPkgTableListAction key)
 
bool toggleObjStatus ()
 
bool updateTable ()
 
ZyppStatus getStatus (int index)
 
bool setTableType (NCPkgTableType type, NCPkgStatusStrategy *strategy)
 
NCPkgTableType getTableType ()
 
ZyppObj getDataPointer (int index)
 
ZyppSel getSelPointer (int index)
 
unsigned int getNumLines ()
 
void fillHeader ()
 
bool createListEntry (ZyppPkg pkgPtr, ZyppSel slbPtr)
 
bool createPatchEntry (ZyppPatch pkgPtr, ZyppSel slbPtr)
 
bool createInfoEntry (std::string text)
 
bool showInformation ()
 
void setVisibleInfo (NCPkgTableInfoType info)
 
NCPkgTableInfoType VisibleInfo ()
 
bool fillAvailableList (ZyppSel slb)
 
bool fillSummaryList (NCPkgTableListType type)
 
void updateInfo (ZyppObj pkgPtr, ZyppSel slbPtr, NCPkgTableInfoType mode)
 

Protected Member Functions

std::string getCurrentLine ()
 
virtual NCursesEvent wHandleInput (wint_t ch)
 

Additional Inherited Members

- Public Types inherited from NCPkgTable
enum  NCPkgTableType {
  T_Packages, T_Availables, T_Patches, T_Update,
  T_PatchPkgs, T_Selections, T_Languages, T_MultiVersion,
  T_Unknown
}
 
enum  NCPkgTableListAction {
  A_Install, A_Delete, A_Keep, A_UpdateNewer,
  A_Update, A_Unknown
}
 
enum  NCPkgTableListType { L_Changes, L_Installed, L_Unknown }
 
enum  NCPkgTableInfoType {
  I_Descr, I_Technical, I_Versions, I_Files,
  I_Deps, I_PatchDescr, I_PatchPkgs
}
 

Detailed Description

Definition at line 60 of file NCPkgFilterPattern.h.

Member Function Documentation

bool NCPkgFilterPattern::fillPatternList ( )

Fills the std::list with the available selections (and the status info)

Returns
bool

Definition at line 281 of file NCPkgFilterPattern.cc.

Here is the call graph for this function:

void NCPkgFilterPattern::showPatternPackages ( )

Shows the popup with the add ons (package categories).

Returns
NCursesEvent

Definition at line 138 of file NCPkgFilterPattern.cc.

Here is the call graph for this function:

NCursesEvent NCPkgFilterPattern::wHandleInput ( wint_t  key)
protectedvirtual

Handles the events concerning the package table (e.g. scroll the list, change the package status, ...)

Parameters
keyThe key which is pressed
Returns
NCursesEvent

Reimplemented from NCPkgTable.

Definition at line 226 of file NCPkgFilterPattern.cc.

Here is the call graph for this function:


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