calamares/src/modules/interactiveterminal/InteractiveTerminalPage.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
790 B
C
Raw Normal View History

/* === This file is part of Calamares - <https://calamares.io> ===
*
2020-08-22 01:19:58 +02:00
* SPDX-FileCopyrightText: 2014-2015 Teo Mrnjavac <teo@kde.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*
* Calamares is Free Software: see the License-Identifier above.
*
*/
#ifndef INTERACTIVETERMINALPAGE_H
#define INTERACTIVETERMINALPAGE_H
#include <QWidget>
class QLabel;
class QVBoxLayout;
class InteractiveTerminalPage : public QWidget
{
Q_OBJECT
public:
explicit InteractiveTerminalPage( QWidget* parent = nullptr );
void onActivate();
void setCommand( const QString& command );
private:
QVBoxLayout* m_layout;
QWidget* m_termHostWidget;
QString m_command;
QLabel* m_headerLabel;
void errorKonsoleNotInstalled();
};
2020-08-22 01:19:58 +02:00
#endif // INTERACTIVETERMINALPAGE_H