mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-28 03:35:38 +08:00
34 lines
906 B
C++
34 lines
906 B
C++
// SPDX-FileCopyrightText: Copyright (C) 2019 swift Project Community / Contributors
|
|
// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1
|
|
|
|
#include "modelbrowserdialog.h"
|
|
#include "ui_modelbrowserdialog.h"
|
|
#include "blackgui/guiapplication.h"
|
|
|
|
namespace BlackGui::Components
|
|
{
|
|
CModelBrowserDialog::CModelBrowserDialog(QWidget *parent) : QDialog(parent),
|
|
ui(new Ui::CModelBrowserDialog)
|
|
{
|
|
ui->setupUi(this);
|
|
}
|
|
|
|
CModelBrowserDialog::~CModelBrowserDialog()
|
|
{
|
|
// void;
|
|
}
|
|
|
|
bool CModelBrowserDialog::event(QEvent *event)
|
|
{
|
|
if (CGuiApplication::triggerShowHelp(this, event)) { return true; }
|
|
return QDialog::event(event);
|
|
}
|
|
|
|
void CModelBrowserDialog::done(int r)
|
|
{
|
|
ui->comp_ModelBrowser->close();
|
|
QDialog::done(r);
|
|
}
|
|
|
|
} // ns
|