Arcane  v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
QHyodaX11Embed.cc
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2022 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
4// See the top-level COPYRIGHT file for details.
5// SPDX-License-Identifier: Apache-2.0
6//-----------------------------------------------------------------------------
7#include "QHyodaX11.h"
8#include "QHyodaX11Embed.h"
9
10/**********************************************************
11 * QHyodaX11Embed class
12 **********************************************************/
13QHyodaX11Embed::QHyodaX11Embed(QWidget *wdgt,
14 QHyodaX11 *X11):QWidget(wdgt)
15{
16 qDebug()<<"[QHyodaX11Embed::QHyodaX11Embed] NEW";
17 connect(this,SIGNAL(clientIsEmbedded()),X11, SLOT(clientIsEmbedded()));
18 connect(this,SIGNAL(clientClosed()),X11, SLOT(clientClosed()));
19 //connect(this,SIGNAL(error(QX11EmbedContainer::Error)),X11,SLOT(error(QX11EmbedContainer::Error)));
20 show();
21}
22
23/**********************************************************
24 * ~QHyodaX11Embed
25 **********************************************************/
26QHyodaX11Embed::~QHyodaX11Embed(void){
27 qDebug()<<"[QHyodaX11Embed::~QHyodaX11Embed]";
28 close();
29}