libyui-ncurses-pkg
 
Loading...
Searching...
No Matches
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 ()
 
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 cycleObjStatus ()
 
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 ()
 
bool confirmRetracted (ZyppObj pkg, ZyppSel sel)
 
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
}
 

Member Function Documentation

◆ fillPatternList()

bool NCPkgFilterPattern::fillPatternList ( )

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

Returns
bool

◆ showPatternPackages()

void NCPkgFilterPattern::showPatternPackages ( )

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

Returns
NCursesEvent

◆ wHandleInput()

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.


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