示例#1
0
//restore action from checked button
void QG_CadToolBarMain::restoreAction()
{
    if(actionHandler==NULL) return;
    if ( bMenuPoint ->isChecked() ) {
        actionHandler->slotDrawPoint();
        return;
    }
    bHidden->setChecked(true);
    finishCurrentAction();
}
示例#2
0
void QG_CadToolBarMain::slotDrawImage()
{
    finishCurrentAction();
    actionHandler->slotDrawImage();
}
示例#3
0
void QG_CadToolBarInfo::on_bBack_clicked()
{
	finishCurrentAction(true);
	cadToolBar->showPreviousToolBar();
}
示例#4
0
void QG_CadToolBarMain::mouseReleaseEvent(QMouseEvent* e) {
 if (e->button()==Qt::RightButton) {
    finishCurrentAction(true);
 }
}
示例#5
0
/**
 * Called from the sub toolbar
 */
void QG_CadToolBar::back() {
	finishCurrentAction(false);
    showPreviousToolBar(true);
    //    emit(signalBack());
}
示例#6
0
void QG_CadToolBarLines::on_bBack_clicked()
{
	finishCurrentAction(true);
   LC_CadToolBarInterface::back();
}