|
CARDS 2.3.99
Package manager for the NuTyX GNU/Linux distribution
|
widget to manage cards package list More...
#include <tableau.h>
Public Member Functions | |
| Tableau (int x, int y, int w, int h, const char *l=0) | |
| Constructor. More... | |
| ~Tableau () | |
| Destructor. More... | |
| void | refresh_table () |
| 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 | 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) |
| Callback. | |
| void | OnRefreshPackageFinished (const CEH_RC rc) |
Protected Member Functions inherited from Cards_event_handler | |
| virtual void | OnLogMessage (const string &Message) |
| virtual void | OnSyncFinished (const CEH_RC rc) |
| virtual void | OnJobListChange (const CEH_RC rc) |
Additional Inherited Members | |
Static Public Member Functions inherited from Cards_event_handler | |
| static const string | getReasonCodeString (const CEH_RC rc) |
| Convert Reason Code Enum to human readable text. | |
widget to manage cards package list
This class list and manage Card operation by adding , remove or upgrade package
| Tableau::Tableau | ( | int | x, |
| int | y, | ||
| int | w, | ||
| int | h, | ||
| const char * | l = 0 |
||
| ) |
Constructor.
Constructor of Tableau class
|
inline |
Destructor.
Destructor of Tableau class
| void Tableau::refresh_table | ( | ) |
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