-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathPluginInfoWidget.h
48 lines (38 loc) · 1.29 KB
/
PluginInfoWidget.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
//-----------------------------------------------------------------------------
// File: PluginInfoWidget.h
//-----------------------------------------------------------------------------
// Project: Kactus 2
// Author: Esko Pekkarinen
// Date: 13.1.2014
//
// Description:
// Widget for displaying plugin information.
//-----------------------------------------------------------------------------
#ifndef PLUGININFOWIDGET_H
#define PLUGININFOWIDGET_H
#include "IPlugin.h"
#include <QWidget>
//-----------------------------------------------------------------------------
// class PluginInfoWidget.
//-----------------------------------------------------------------------------
class PluginInfoWidget : public QWidget
{
public:
/*!
* <Description>.
*
* @param [in] plugin The plugin whose information to display.
* @param [in] parent The parent widget.
*
* @return
*/
PluginInfoWidget(IPlugin* plugin = nullptr, QWidget *parent = nullptr);
//! The destructor.
virtual ~PluginInfoWidget() = default;
private:
//! Sets the widget layout.
void setupLayout();
//! The plugins whose information is displayed in this widget.
IPlugin* plugin_;
};
#endif // PLUGININFOWIDGET_H