libyui-ncurses-pkg
|
Public Member Functions | |
NCPkgFilterPattern (YWidget *parent, YTableHeader *header, NCPackageSelector *pkg) | |
void | createLayout (YWidget *parent) |
bool | fillPatternList () |
std::string | showDescription (ZyppObj objPtr) |
void | showPatternPackages () |
![]() | |
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) |
virtual NCursesEvent | wHandleInput (wint_t key) |
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 | |
![]() | |
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 } |
bool NCPkgFilterPattern::fillPatternList | ( | ) |
Fills the std::list with the available selections (and the status info)
void NCPkgFilterPattern::showPatternPackages | ( | ) |
Shows the popup with the add ons (package categories).
|
protectedvirtual |
Handles the events concerning the package table (e.g. scroll the list, change the package status, ...)
key | The key which is pressed |
Reimplemented from NCPkgTable.