libyui-ncurses-pkg
Loading...
Searching...
No Matches
NCPkgPopupDescr.h
1
/*
2
Copyright (c) [2002-2011] Novell, Inc.
3
Copyright (c) 2021 SUSE LLC
4
5
This library is free software; you can redistribute it and/or modify
6
it under the terms of the GNU Lesser General Public License as
7
published by the Free Software Foundation; either version 2.1 of the
8
License, or (at your option) version 3.0 of the License. This library
9
is distributed in the hope that it will be useful, but WITHOUT ANY
10
WARRANTY; without even the implied warranty of MERCHANTABILITY or
11
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
12
License for more details. You should have received a copy of the GNU
13
Lesser General Public License along with this library; if not, write
14
to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
15
Floor, Boston, MA 02110-1301 USA
16
17
18
File: NCPkgPopupDescr.h
19
Author: Gabriele Strattner <gs@suse.de>
20
21
*/
22
23
24
#ifndef NCPkgPopupDescr_h
25
#define NCPkgPopupDescr_h
26
27
#include <iosfwd>
28
29
#include <vector>
30
#include <string>
31
32
#include <yui/ncurses/NCPopup.h>
33
34
class
NCPkgTable
;
35
class
NCPushButton;
36
class
NCRichText;
37
38
40
//
41
// CLASS NAME : NCPkgPopupDescr
42
//
43
// DESCRIPTION :
44
//
45
class
NCPkgPopupDescr
:
public
NCPopup
46
{
47
NCPkgPopupDescr
& operator=(
const
NCPkgPopupDescr
& );
48
NCPkgPopupDescr
(
const
NCPkgPopupDescr
& );
49
50
private
:
51
52
NCPkgTable
* pkgTable;
53
NCPushButton * okButton;
54
NCRichText *descrText;
55
NCLabel *headline;
56
57
NCPackageSelector
* packager;
58
59
protected
:
60
61
virtual
bool
postAgain();
62
63
virtual
NCursesEvent wHandleInput( wint_t ch );
64
65
public
:
66
67
NCPkgPopupDescr
(
const
wpos at,
NCPackageSelector
* pkger );
68
69
virtual
~NCPkgPopupDescr
();
70
71
virtual
long
nicesize(YUIDimension dim);
72
73
bool
fillData( ZyppPkg pkgPtr, ZyppSel slbPtr );
74
75
void
createLayout();
76
77
NCursesEvent showInfoPopup( ZyppPkg pkgPtr, ZyppSel slbPtr );
78
79
};
80
82
83
84
#endif
// NCPkgPopupDescr_h
NCPackageSelector
Definition
NCPackageSelector.h:105
NCPkgPopupDescr
Definition
NCPkgPopupDescr.h:46
NCPkgTable
Definition
NCPkgTable.h:215
src
NCPkgPopupDescr.h
Generated by
1.10.0