|
CARDS 2.4.140
Package manager for the NuTyX GNU/Linux distribution
|
widget to manage cards package list More...
#include <table_collection.h>
Public Member Functions | |
| TableCollection (int x, int y, int w, int h, const char *l=0) | |
| Constructor. More... | |
| virtual | ~TableCollection () |
| Destructor. More... | |
| void | refresh_table () |
| Populate the tab with package installed. More... | |
Public Member Functions inherited from TableBase | |
| TableBase (int x, int y, int w, int h, const char *l=0) | |
| Constructor. More... | |
| virtual | ~TableBase () |
| Destructor. More... | |
| virtual void | refresh_table ()=0 |
| Populate the tab with package installed. More... | |
| void | autowidth (int pad) |
| Automatically set columns widths to the longuest string. | |
| void | resize_window () |
| Resize parent widows to size of tableau. | |
| void | setFilter (const string &pValue) |
| Redefine filter and refresh the tab. | |
Protected Member Functions | |
| void | OnDrawCell (TableContext context, int R=0, int C=0, int X=0, int Y=0, int W=0, int H=0) |
| void | OnEvent (TableContext context, int pCol, int pRow) |
Protected Member Functions inherited from TableBase | |
| void | draw_cell (TableContext context, int R=0, int C=0, int X=0, int Y=0, int W=0, int H=0) |
| Handle drawing all cells in table. | |
| void | sort_column (int col, int reverse=0) |
| Sort a column up or down. | |
| void | draw_sort_arrow (int X, int Y, int W, int H) |
| Draw sort arrow. | |
| void | OnDoJobListFinished (const CEH_RC rc) |
| void | OnRefreshPackageFinished (const CEH_RC rc) |
| void | OnJobListChange (const CEH_RC rc) |
| Callback. More... | |
| virtual void | OnDrawCell (TableContext, int, int, int, int, int, int) |
| virtual void | OnEvent (TableContext, int, int) |
Protected Member Functions inherited from cards::CEventHandler | |
| virtual void | OnLogMessage (const string &Message) |
| virtual void | OnSyncFinished (const CEH_RC rc) |
| virtual void | OnDoJobListFinished (const CEH_RC rc) |
| virtual void | OnRefreshPackageFinished (const CEH_RC rc) |
| virtual void | OnJobListChange (const CEH_RC rc) |
| virtual void | OnProgressInfo (int percent) |
| virtual void | OnPackageInfo (CPackage &package) |
Additional Inherited Members | |
Static Public Member Functions inherited from cards::CEventHandler | |
| static const string | getReasonCodeString (const CEH_RC rc) |
| Convert Reason Code Enum to human readable text. | |
Protected Attributes inherited from TableBase | |
| vector< string > | colTitle |
| string | _filter |
| vector< Row > | _rowdata |
| int | _sort_reverse |
| int | _sort_lastcol |
| CWrapper * | _cards |
widget to manage cards package list
This class list and manage Card operation by adding , remove or upgrade package
| TableCollection::TableCollection | ( | int | x, |
| int | y, | ||
| int | w, | ||
| int | h, | ||
| const char * | l = 0 |
||
| ) |
Constructor.
Constructor of Tableau class
|
inlinevirtual |
Destructor.
Destructor of Tableau class
|
protectedvirtual |
Reimplemented from TableBase.
|
protectedvirtual |
Reimplemented from TableBase.
|
virtual |
Populate the tab with package installed.
Refresh Table.
Get installed package from cards and extract a list to be displayed as a list sorted by package name, description, version
Implements TableBase.