Action at the menubar can't be disabled? Probably a bug of Qt or Ubuntu?
-
So @ui->actionAction->setEnabled(false);@ doesn't work for me...
If you want see it yourself: "Link":http://dl.dropbox.com/u/11379868/example.zip
The same with setting an icon while iconvisibleinmenu is true:
@ui->actionHistory->setIcon(QIcon(":/icons/Pictures/time_machine.png"));@I have to say that this was working at Ubuntu 10.10...
-
this is my outpout:
@QT_INSTALL_PREFIX:/usr
QT_INSTALL_DATA:/usr/share/qt4
QT_INSTALL_DOCS:/usr/share/qt4/doc
QT_INSTALL_HEADERS:/usr/include/qt4
QT_INSTALL_LIBS:/usr/lib
QT_INSTALL_BINS:/usr/bin
QT_INSTALL_PLUGINS:/usr/lib/qt4/plugins
QT_INSTALL_IMPORTS:/usr/lib/qt4/imports
QT_INSTALL_TRANSLATIONS:/usr/share/qt4/translations
QT_INSTALL_CONFIGURATION:/etc/xdg
QT_INSTALL_EXAMPLES:/usr/lib/qt4/examples
QT_INSTALL_DEMOS:/usr/lib/qt4/demos
QMAKE_MKSPECS:/usr/share/qt4/mkspecs
QMAKE_VERSION:2.01a
QT_VERSION:4.7.2
@So?
-
The same again...
Look some screenshots: "1":http://i55.tinypic.com/15q6yvp.jpg, "2":http://i55.tinypic.com/15yspie.jpg -
This could be a valid bug in Qt or Ubuntu 11.04. The change in the handling of the menu bar in 11.04 may have broken the enabling and disabling of actions. You should report it in the "Qt bug tracker":http://bugreports.qt.nokia.com anyway. I cannot test it, because I'm still running 10.04 for stability..
-
-
this is how it looks for me, so perfectly fine.
I added the QT Version running on my machine running Ubuntu 11.04
"On my machine":http://i55.tinypic.com/2uf9aag.png
"Whole Desktop with Unity":http://i53.tinypic.com/2cz6m1e.png