mirror of https://github.com/cutefishos/calamares
Stubs for DebugWindow.
parent
bc8793e66a
commit
00565d0f12
@ -0,0 +1,41 @@
|
||||
/* === This file is part of Calamares - <http://github.com/calamares> ===
|
||||
*
|
||||
* Copyright 2015, Teo Mrnjavac <teo@kde.org>
|
||||
*
|
||||
* Calamares is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Calamares is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with Calamares. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "DebugWindow.h"
|
||||
#include "utils/Retranslator.h"
|
||||
|
||||
namespace Calamares {
|
||||
|
||||
DebugWindow::DebugWindow()
|
||||
: QWidget( nullptr )
|
||||
{
|
||||
|
||||
setupUi( this );
|
||||
|
||||
CALAMARES_RETRANSLATE( retranslateUi( this ); )
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
DebugWindow::closeEvent( QCloseEvent* e )
|
||||
{
|
||||
Q_UNUSED( e )
|
||||
emit closed();
|
||||
}
|
||||
|
||||
} // namespace Calamares
|
||||
@ -0,0 +1,45 @@
|
||||
/* === This file is part of Calamares - <http://github.com/calamares> ===
|
||||
*
|
||||
* Copyright 2015, Teo Mrnjavac <teo@kde.org>
|
||||
*
|
||||
* Calamares is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Calamares is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with Calamares. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef CALAMARES_DEBUGWINDOW_H
|
||||
#define CALAMARES_DEBUGWINDOW_H
|
||||
|
||||
#include "ui_DebugWindow.h"
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
namespace Calamares {
|
||||
|
||||
class DebugWindow : public QWidget, private Ui::DebugWindow
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit DebugWindow();
|
||||
|
||||
signals:
|
||||
void closed();
|
||||
|
||||
protected:
|
||||
void closeEvent( QCloseEvent* e ) override;
|
||||
|
||||
};
|
||||
|
||||
|
||||
} // namespace Calamares
|
||||
#endif // CALAMARES_DEBUGWINDOW_H
|
||||
@ -0,0 +1,21 @@
|
||||
<ui version="4.0">
|
||||
<author/>
|
||||
<comment/>
|
||||
<exportmacro/>
|
||||
<class>Calamares::DebugWindow</class>
|
||||
<widget class="QWidget" name="Calamares::DebugWindow">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>400</width>
|
||||
<height>300</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Form</string>
|
||||
</property>
|
||||
</widget>
|
||||
<pixmapfunction/>
|
||||
<connections/>
|
||||
</ui>
|
||||
Loading…
Reference in New Issue