libyui-qt-pkg
Loading...
Searching...
No Matches
YQPkgTechnicalDetailsView.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: YQPkgTechnicalDetailsView.h
21 Author: Stefan Hundhammer <shundhammer.de>
22*/
23
24
25#ifndef YQPkgTechnicalDetailsView_h
26#define YQPkgTechnicalDetailsView_h
27
28#include "YQPkgGenericDetailsView.h"
29
30
37{
38 Q_OBJECT
39
40public:
41
45 YQPkgTechnicalDetailsView( QWidget * parent );
46
47
52
53
54protected:
55
61 virtual void showDetails( ZyppSel selectable );
62
67 QString simpleTable( ZyppSel selectable,
68 ZyppPkg pkg );
69
70
76 QString complexTable( ZyppSel selectable,
77 ZyppPkg installedPkg,
78 ZyppPkg candidatePkg );
79
83 QString authorsListCell( ZyppPkg pkg ) const;
84};
85
86
87#endif // ifndef YQPkgTechnicalDetailsView_h
Abstract base class for details views. Handles generic stuff like HTML formatting,...
Definition YQPkgGenericDetailsView.h:43
virtual void showDetails(ZyppSel selectable)=0
Display technical details (very much like 'rpm -qi') for a ZYPP object - the installed instance,...
Definition YQPkgTechnicalDetailsView.h:37
QString authorsListCell(ZyppPkg pkg) const
Definition YQPkgTechnicalDetailsView.cc:93
QString complexTable(ZyppSel selectable, ZyppPkg installedPkg, ZyppPkg candidatePkg)
Definition YQPkgTechnicalDetailsView.cc:147
virtual ~YQPkgTechnicalDetailsView()
Definition YQPkgTechnicalDetailsView.cc:47
QString simpleTable(ZyppSel selectable, ZyppPkg pkg)
Definition YQPkgTechnicalDetailsView.cc:115