exampleMenuItem.h
#pragma once
{
public:
protected:
protected:
};
exampleMenuItem.cxx
#include <QtWidgets/QAction>
#include <QtWidgets/QMessageBox>
#include <QtWidgets/QInputDialog>
#include <QtWidgets/QApplication>
using namespace makVrf;
, myDe(de)
{
}
{
}
{
act->setText(makVrv::DtMenuItem::tr("Send Comment Interaction..."));
return act;
}
{
QWidget* parent = 0;
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.");
}
}