exampleMenuItem.h
#pragma once
{
public:
protected:
protected:
};
exampleMenuItem.cxx
#include <vrfExtProtocol/simInterfaceContent.h>
#include <QtGui/QAction>
#include <QtGui/QMessageBox>
#include <QtGui/QInputDialog>
#include <QtGui/QApplication>
using namespace makVrf;
, myDe(de)
{
}
{
}
{
act->setText(makVrv::DtMenuItem::tr("Send Comment Interaction..."));
return act;
}
{
if(action)
{
parent = action->parentWidget();
}
QString message = QInputDialog::getText(parent, "Send Comment Interaction", "Comment Data:");
{
DtString(message.toLocal8Bit().data()));
}
else
{
QMessageBox::information(parent, "Info", "Could not find theExConnInterface.");
}
}