Esempio n. 1
0
//! [0]
TicTacToeTaskMenu::TicTacToeTaskMenu(TicTacToe *tic, QObject *parent)
    : QObject(parent)
{
    ticTacToe = tic;

    editStateAction = new QAction(tr("Edit State..."), this);
    connect(editStateAction, SIGNAL(triggered()), this, SLOT(editState()));
}
caPolyLineTaskMenu::caPolyLineTaskMenu(caPolyLine *tic, QObject *parent)
    : QObject(parent)
{
    capolyLine = tic;

    editStateAction = new QAction(tr("Edit PolyLine..."), this);
    connect(editStateAction, SIGNAL(triggered()), this, SLOT(editState()));
}
Esempio n. 3
0
BfSubFormTaskMenu::BfSubFormTaskMenu(BfSubForm *sf, QObject *parent)
    : QObject(parent)
{
    bfsf = sf;

    editStateAction = new QAction(tr("Editar campos..."), this);
    connect(editStateAction, SIGNAL(triggered()), this, SLOT(editState()));
}
Esempio n. 4
0
	atcmgraphTaskMenu::atcmgraphTaskMenu(ATCMgraph *anim, QObject *parent)
: QObject(parent)
{
	graph = anim;

	editStateAction = new QAction(tr("Edit ATCM Graph..."), this);
	connect(editStateAction, SIGNAL(triggered()), this, SLOT(editState()));
}