29 lines
496 B
C++
29 lines
496 B
C++
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
// SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
|
|
|
|
#pragma once
|
|
|
|
#include <QWidget>
|
|
|
|
class QVBoxLayout;
|
|
|
|
class InfoWindow : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit InfoWindow(QWidget* parent = nullptr);
|
|
|
|
protected:
|
|
void keyPressEvent(QKeyEvent*);
|
|
|
|
private slots:
|
|
void copyInfo();
|
|
|
|
private:
|
|
void initLabels();
|
|
QVBoxLayout* m_layout;
|
|
};
|
|
|
|
QString generateVersionString();
|
|
QString generateKernelString();
|