libyui-qt-pkg
2.42.5
Main Page
Classes
Files
File List
All
Classes
Functions
Variables
Enumerations
YQPkgPatchFilterView.h
1
/**************************************************************************
2
Copyright (C) 2000 - 2010 Novell, Inc.
3
All Rights Reserved.
4
5
This program is free software; you can redistribute it and/or modify
6
it under the terms of the GNU General Public License as published by
7
the Free Software Foundation; either version 2 of the License, or
8
(at your option) any later version.
9
10
This program is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
GNU General Public License for more details.
14
15
You should have received a copy of the GNU General Public License along
16
with this program; if not, write to the Free Software Foundation, Inc.,
17
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18
19
**************************************************************************/
20
21
22
/*---------------------------------------------------------------------\
23
| |
24
| __ __ ____ _____ ____ |
25
| \ \ / /_ _/ ___|_ _|___ \ |
26
| \ V / _` \___ \ | | __) | |
27
| | | (_| |___) || | / __/ |
28
| |_|\__,_|____/ |_| |_____| |
29
| |
30
| core system |
31
| (C) SuSE GmbH |
32
\----------------------------------------------------------------------/
33
34
File: YQPkgPatchFilterView.h
35
36
Author: Stefan Hundhammer <sh@suse.de>
37
38
/-*/
39
40
41
#ifndef YQPkgPatchFilterView_h
42
#define YQPkgPatchFilterView_h
43
44
#include "YQZypp.h"
45
#include "YQPkgSelMapper.h"
46
#include <QLabel>
47
48
49
class
YQPkgPatchList
;
50
class
YQPkgDescriptionView
;
51
class
QComboBox;
52
class
QLabel;
53
class
QSplitter;
54
class
QTabWidget;
55
56
57
/**
58
* @short Display a list of zypp::Patch objects and ( below ) details about the
59
* currently selected patch.
60
**/
61
class
YQPkgPatchFilterView
:
public
QWidget
62
{
63
Q_OBJECT
64
65
public
:
66
67
/**
68
* Constructor
69
**/
70
YQPkgPatchFilterView
( QWidget * parent );
71
72
/**
73
* Destructor
74
**/
75
virtual
~YQPkgPatchFilterView
();
76
77
78
/**
79
* Returns this view's selections list.
80
**/
81
YQPkgPatchList
*
patchList
()
const
{
return
_patchList; }
82
83
84
public
slots:
85
86
/**
87
* Update the "total download size" field.
88
**/
89
void
updateTotalDownloadSize
();
90
91
92
protected
slots:
93
94
/**
95
* Fill the patch list with regard to the _patchCategory
96
* combo box.
97
**/
98
void
fillPatchList
();
99
100
101
protected
:
102
103
104
// Data members
105
106
QSplitter * _splitter;
107
YQPkgPatchList
* _patchList;
108
QComboBox * _patchFilter;
109
QTabWidget * _detailsViews;
110
YQPkgDescriptionView
* _descriptionView;
111
QLabel * _totalDownloadSize;
112
113
YQPkgSelMapper
_selMapper;
114
};
115
116
117
118
#endif // ifndef YQPkgPatchFilterView_h
src
YQPkgPatchFilterView.h
Generated by
1.8.2