Path: blob/main/src/netedit/dialogs/basic/GNEInformationBasicDialog.cpp
169684 views
/****************************************************************************/1// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.dev/sumo2// Copyright (C) 2006-2025 German Aerospace Center (DLR) and others.3// This program and the accompanying materials are made available under the4// terms of the Eclipse Public License 2.0 which is available at5// https://www.eclipse.org/legal/epl-2.0/6// This Source Code may also be made available under the following Secondary7// Licenses when the conditions for such availability set forth in the Eclipse8// Public License 2.0 are satisfied: GNU General Public License, version 29// or later which is available at10// https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html11// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later12/****************************************************************************/13/// @file GNEInformationBasicDialog.cpp14/// @author Pablo Alvarez Lopez15/// @date Jul 202516///17// Custom FXDialogBox information dialog used in Netedit that supports internal tests18/****************************************************************************/19#include <config.h>2021#include "GNEInformationBasicDialog.h"2223// ===========================================================================24// method definitions25// ===========================================================================2627GNEInformationBasicDialog::GNEInformationBasicDialog(GNEApplicationWindow* applicationWindow,28const std::string& name, const std::string& info) :29GNEBasicDialog(applicationWindow, name, info, GUIIcon::INFORMATION_SMALL, DialogType::BASIC_INFORMATION,30GNEDialog::Buttons::OK, GUIIcon::INFORMATION_LARGE) {31}323334GNEInformationBasicDialog::GNEInformationBasicDialog(GNEApplicationWindow* applicationWindow, const std::string& name,35const std::string& infoLineA, const std::string& infoLineB) :36GNEBasicDialog(applicationWindow, name, infoLineA + "\n" + infoLineB, GUIIcon::INFORMATION_SMALL,37DialogType::BASIC_INFORMATION, GNEDialog::Buttons::OK, GUIIcon::INFORMATION_LARGE) {38}394041