CARDS 2.4.87
Package manager for the NuTyX GNU/Linux distribution
|
widget to manage cards package list More...
#include <table_package.h>
Public Member Functions | |
TablePackage (int x, int y, int w, int h, const char *l=0) | |
Constructor. More... | |
virtual | ~TablePackage () |
Destructor. More... | |
void | refresh_table () |
Populate the tab with package installed. More... | |
![]() | |
TableBase (int x, int y, int w, int h, const char *l=0) | |
Constructor. More... | |
virtual | ~TableBase () |
Destructor. 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) |
![]() | |
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. | |
![]() | |
virtual void | OnLogMessage (const string &Message) |
virtual void | OnSyncFinished (const CEH_RC rc) |
virtual void | OnProgressInfo (int percent) |
virtual void | OnPackageInfo (CPackage &package) |
Additional Inherited Members | |
![]() | |
static const string | getReasonCodeString (const CEH_RC rc) |
Convert Reason Code Enum to human readable text. | |
![]() | |
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
TablePackage::TablePackage | ( | int | x, |
int | y, | ||
int | w, | ||
int | h, | ||
const char * | l = 0 |
||
) |
Constructor.
Constructor of Tableau class
|
inlinevirtual |
Destructor.
Destructor of Tableau class
|
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.