Problems with Open-Source Downloads read https://www.qt.io/blog/problem-with-open-source-downloads and https://forum.qt.io/post/638946
Clickable property of QToolButtons get lost when adding border
GAURAV PANT last edited by
Hi, I have created a toolbar and added some toolbuttons to it.
Then using style sheet i have added a border to toobar.
This is code for style sheet
m_QToolBar->setStyleSheet("background:qlineargradient(x1:0.5,y1:0,x2:0.5,y2:1,stop: 0.2 White, stop:1 #C7D8FF);border-width:1px;border-color:#9AB8FF;border-style:solid");
Now after adding border to toolbar , border is automatically added to QtoolButtons and clickable property of tool buttons get lost.
[edit: add @ tags around code please, Eddy]