libyui-qt-pkg
YQPkgTechnicalDetailsView.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: YQPkgTechnicalDetailsView.h
35 
36  Author: Stefan Hundhammer <shundhammer.de>
37 
38 /-*/
39 
40 
41 #ifndef YQPkgTechnicalDetailsView_h
42 #define YQPkgTechnicalDetailsView_h
43 
44 #include "YQPkgGenericDetailsView.h"
45 
46 
53 {
54  Q_OBJECT
55 
56 public:
57 
61  YQPkgTechnicalDetailsView( QWidget * parent );
62 
63 
68 
69 
70 protected:
71 
77  virtual void showDetails( ZyppSel selectable );
78 
83  QString simpleTable( ZyppSel selectable,
84  ZyppPkg pkg );
85 
86 
92  QString complexTable( ZyppSel selectable,
93  ZyppPkg installedPkg,
94  ZyppPkg candidatePkg );
95 
99  QString authorsListCell( ZyppPkg pkg ) const;
100 };
101 
102 
103 #endif // ifndef YQPkgTechnicalDetailsView_h
virtual ~YQPkgTechnicalDetailsView()
Definition: YQPkgTechnicalDetailsView.cc:62
virtual void showDetails(ZyppSel selectable)
Definition: YQPkgTechnicalDetailsView.cc:69
Abstract base class for details views. Handles generic stuff like HTML formatting, Qt slots and display only if this view is visible at all ( it may be hidden if it&#39;s part of a QTabWidget ).
Definition: YQPkgGenericDetailsView.h:58
QString complexTable(ZyppSel selectable, ZyppPkg installedPkg, ZyppPkg candidatePkg)
Definition: YQPkgTechnicalDetailsView.cc:162
Display technical details (very much like &#39;rpm -qi&#39;) for a ZYPP object - the installed instance...
Definition: YQPkgTechnicalDetailsView.h:52
QString authorsListCell(ZyppPkg pkg) const
Definition: YQPkgTechnicalDetailsView.cc:108
YQPkgTechnicalDetailsView(QWidget *parent)
Definition: YQPkgTechnicalDetailsView.cc:56
QString simpleTable(ZyppSel selectable, ZyppPkg pkg)
Definition: YQPkgTechnicalDetailsView.cc:130