libyui-qt-pkg
Loading...
Searching...
No Matches
YQPkgPatchFilterView.h
1/*
2 Copyright (c) 2000 - 2010 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
19/*
20 File: YQPkgPatchFilterView.h
21 Author: Stefan Hundhammer <shundhammer.de>
22*/
23
24
25#ifndef YQPkgPatchFilterView_h
26#define YQPkgPatchFilterView_h
27
28#include "YQZypp.h"
29#include "YQPkgSelMapper.h"
30#include <QLabel>
31
32
33class YQPkgPatchList;
35class QComboBox;
36class QLabel;
37class QSplitter;
38class QTabWidget;
39
40
45class YQPkgPatchFilterView : public QWidget
46{
47 Q_OBJECT
48
49public:
50
54 YQPkgPatchFilterView( QWidget * parent );
55
59 virtual ~YQPkgPatchFilterView();
60
61
65 YQPkgPatchList * patchList() const { return _patchList; }
66
67
68public slots:
69
74
75
76protected slots:
77
82 void fillPatchList();
83
84
85protected:
86
87
88 // Data members
89
90 QSplitter * _splitter;
91 YQPkgPatchList * _patchList;
92 QComboBox * _patchFilter;
93 QTabWidget * _detailsViews;
94 YQPkgDescriptionView * _descriptionView;
95 QLabel * _totalDownloadSize;
96
97 YQPkgSelMapper _selMapper;
98};
99
100
101
102#endif // ifndef YQPkgPatchFilterView_h
Display the description of a ZyppObj derived object along with its name and summary.
Definition YQPkgDescriptionView.h:40
Display a list of zypp::Patch objects and ( below ) details about the currently selected patch.
Definition YQPkgPatchFilterView.h:46
YQPkgPatchList * patchList() const
Definition YQPkgPatchFilterView.h:65
virtual ~YQPkgPatchFilterView()
Definition YQPkgPatchFilterView.cc:113
void fillPatchList()
Definition YQPkgPatchFilterView.cc:201
void updateTotalDownloadSize()
Definition YQPkgPatchFilterView.cc:120
YQPkgPatchFilterView(QWidget *parent)
Definition YQPkgPatchFilterView.cc:58
Display a list of zypp::Patch objects.
Definition YQPkgPatchList.h:59
Definition YQPkgSelMapper.h:40