CARDS 2.4.140
Package manager for the NuTyX GNU/Linux distribution
table_collection.h
1/*
2 * table_collection.h
3 *
4 * Copyright 2015 - 2017 Thierry Nuttens <tnut@nutyx.org>
5 * Copyright 2017 Gianni Peschiutta <artemia@nutyx.org>
6 * Copyright 2017 - 2021 Thierry Nuttens <tnut@nutyx.org>
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
21 * MA 02110-1301, USA.
22 *
23 *
24 */
25
26#ifndef TABLE_COLLECTION_H
27#define TABLE_COLLECTION_H
28
29#include "pixmaps/lxde.xpm"
30#include "pixmaps/xfce.xpm"
31#include "pixmaps/lxqt.xpm"
32#include "pixmaps/mate.xpm"
33#include "pixmaps/kde.xpm"
34#include "pixmaps/gnome.xpm"
35#include "pixmaps/E17.xpm"
36#include "table_base.h"
37
45{
46public:
53 TableCollection(int x, int y, int w, int h, const char *l=0);
54
61 virtual ~TableCollection(){}
62
69 void refresh_table(); // Load the Collection list
70protected:
71 void OnDrawCell(TableContext context, int R=0, int C=0, int X=0, int Y=0, int W=0, int H=0);
72 void OnEvent(TableContext context, int pCol, int pRow);
73};
74
75#endif
Definition: table_base.h:79
widget to manage cards package list
Definition: table_collection.h:45
void refresh_table()
Populate the tab with package installed.
Definition: table_collection.cxx:40
virtual ~TableCollection()
Destructor.
Definition: table_collection.h:61
TableCollection(int x, int y, int w, int h, const char *l=0)
Constructor.
Definition: table_collection.cxx:30