Add a QLineEdit to a qtoolbar in qtcreator (designer)
I have trouble with adding controls as a QLineEdit to a QToolbar from the IDE itself not by adding code (I can't do a开发者_JAVA技巧ny GUI coding without a WYSIWYG editor)
I'd also like help with overlapping controls on it.
Another last question is how can I get a link from QWebview by hovering it (more like when web browsers show you the link you hover on.
Sorry for asking too much questions i'm a newbie you know.
Thanks in advance
There are some things you can't do with the Designer, and adding a
QLineEditor other widgets to aQToolBaris one of them, but you can do it easily with code:ui.toolBar->addWidget(yourLineEdit); // or you can place it after an existing action: ui.toolBar->insertWidget(ui.anActionInYouToolBar, youLineEdit);QWebPagehas a signallinkHovered.
加载中,请稍侯......
精彩评论