Exemplo n.º 1
0
void MainWindow::on_actionAbout_triggered()
{
	// show about-dialog

	on_actionHelp_triggered();
/*	
	QLabel *pTxt = new QLabel(" qPicView by Ilkka Prusi 2011 ", this);
	pTxt->setWindowFlags(Qt::Window); //or Qt::Tool, Qt::Dialog if you like
	pTxt->show();
*/
}
Exemplo n.º 2
0
int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QMainWindow::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: horizontalSliderValueChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 1: btnAddClicked(); break;
        case 2: btnRemoveClicked(); break;
        case 3: btnResizeClicked(); break;
        case 4: btnSelectOutDirClicked(); break;
        case 5: on_actionHelp_triggered(); break;
        case 6: on_actionAbout_triggered(); break;
        case 7: on_actionQuit_triggered(); break;
        default: ;
        }
        _id -= 8;
    }
    return _id;
}