forked from qt-creator/qt-creator
Add CompilerExplorer plugin
Change-Id: I534dea195a0b74f177fc227483752777485be177 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
34
src/plugins/compilerexplorer/compilerexploreroptions.cpp
Normal file
34
src/plugins/compilerexplorer/compilerexploreroptions.cpp
Normal file
@@ -0,0 +1,34 @@
|
||||
// Copyright (C) 2023 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
|
||||
#include "compilerexploreroptions.h"
|
||||
|
||||
#include "compilerexplorersettings.h"
|
||||
|
||||
#include <utils/layoutbuilder.h>
|
||||
|
||||
#include <QFutureWatcher>
|
||||
#include <QScrollArea>
|
||||
#include <QStandardItemModel>
|
||||
|
||||
namespace CompilerExplorer {
|
||||
|
||||
CompilerExplorerOptions::CompilerExplorerOptions(CompilerSettings &compilerSettings, QWidget *parent)
|
||||
: QDialog(parent, Qt::Popup)
|
||||
{
|
||||
using namespace Layouting;
|
||||
|
||||
// clang-format off
|
||||
Form {
|
||||
compilerSettings.compiler, br,
|
||||
compilerSettings.compilerOptions, br,
|
||||
compilerSettings.libraries, br,
|
||||
compilerSettings.compileToBinaryObject, br,
|
||||
compilerSettings.executeCode, br,
|
||||
compilerSettings.intelAsmSyntax, br,
|
||||
compilerSettings.demangleIdentifiers, br,
|
||||
}.attachTo(this);
|
||||
// clang-format on
|
||||
}
|
||||
|
||||
} // namespace CompilerExplorer
|
||||
Reference in New Issue
Block a user