Quantcast
Channel: Installation and Deployment
Viewing all articles
Browse latest Browse all 22112

Toolbar's Action Disable Problem

$
0
0
Hello guys. I want to disable a toolbar button sometimes. I mean toolbar button is unclickable and visible. I look for the internet but I cant find the solution. This code crush my program. filterAction->setEnabled(false); createActions() filterAction = new QAction(tr("&Filter Data"), this);     filterAction->setIcon(QIcon("filter.ico"));     connect(filterAction, SIGNAL(triggered()), this, SLOT(filterData())); ... createToolbars() QToolBar *toolbar; toolbar = addToolBar(tr("Processes"));     toolbar->addAction(filterAction); ...

Viewing all articles
Browse latest Browse all 22112

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>