Asger Ottar Alstrup wrote:
> - Table toolbar in menu problem. (Peter reported missing the drag-able
> table insertion gadget, but that exists in the toolbar. Is that not good
> enough?)

It's a Qt bug. I've reported this:

Qt: Using Qt version 4.2.2-snapshot-20061031
also buggy with older versions
MSVC Express

While building LyX we've found this bug:

When I replace in

/examples/mainwindows/application/mainwindow

the createToolBars function with the following
I get attached buggy window.

void MainWindow::createToolBars()
{
    fileToolBar = new QToolBar(tr("File"));
    fileToolBar->addAction(newAct);
    fileToolBar->addAction(openAct);
    fileToolBar->addAction(saveAct);

    editToolBar = new QToolBar(tr("Edit"));
    editToolBar->addAction(cutAct);
    editToolBar->addAction(copyAct);
    editToolBar->addAction(pasteAct);

    fileToolBar->hide();
    editToolBar->hide();

    addToolBar(Qt::BottomToolBarArea, fileToolBar);
    addToolBarBreak(Qt::BottomToolBarArea);
    addToolBar(Qt::BottomToolBarArea, editToolBar);
    addToolBarBreak(Qt::BottomToolBarArea);

    fileToolBar->show();
    editToolBar->show();
}

Peter

PNG image

Reply via email to