trikRuntime
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
informationWidget.h
Go to the documentation of this file.
1
/* Copyright 2014 CyberTech Labs Ltd.
2
*
3
* Licensed under the Apache License, Version 2.0 (the "License");
4
* you may not use this file except in compliance with the License.
5
* You may obtain a copy of the License at
6
*
7
* http://www.apache.org/licenses/LICENSE-2.0
8
*
9
* Unless required by applicable law or agreed to in writing, software
10
* distributed under the License is distributed on an "AS IS" BASIS,
11
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
* See the License for the specific language governing permissions and
13
* limitations under the License. */
14
15
#pragma once
16
#include <QVBoxLayout>
17
18
#include "
trikGuiDialog.h
"
19
#include "
updateWidget.h
"
20
21
namespace
trikGui
{
22
24
class
InformationWidget
:
public
TrikGuiDialog
25
{
26
Q_OBJECT
27
28
public
:
31
explicit
InformationWidget
(QWidget *parent =
nullptr
);
32
34
~InformationWidget
()
override
=
default
;
35
37
static
QString
menuEntry
();
38
39
public
slots:
40
void
renewFocus
()
override
{}
41
42
private
:
44
QString osVersion()
const
;
45
47
QVBoxLayout mLayout;
48
};
49
50
}
trikGui::InformationWidget::InformationWidget
InformationWidget(QWidget *parent=nullptr)
Constructor.
Definition:
informationWidget.cpp:23
trikGui::InformationWidget
Widget that shows current version of TrikRuntime.
Definition:
informationWidget.h:24
trikGui::TrikGuiDialog
Base class for all trikGui dialog widgets.
Definition:
trikGuiDialog.h:24
trikGui::InformationWidget::menuEntry
static QString menuEntry()
String that shall appear in menu for this widget.
Definition:
informationWidget.cpp:57
trikGui
Definition:
abstractIndicator.h:21
trikGuiDialog.h
trikGui::InformationWidget::~InformationWidget
~InformationWidget() override=default
Destructor.
trikGui::InformationWidget::renewFocus
void renewFocus() override
Definition:
informationWidget.h:40
updateWidget.h
trikGui
informationWidget.h
Generated by
1.8.11