As shown in figure, how to realize: when the cursor stays on the splitter bar in the window or through the article separates the change window, splitter according to other color, when the cursor is not on the splitter splitter according to other colors?
CodePudding user response:
See if splitter window made of Qt, is Qt is mouseEnter mousePress etc. The use of the mouse events, is the need to look for the API systemCodePudding user response:
QSS stylesheetsCodePudding user response:
Splitter see QSplitter,If it is Qt Quick procedure, is better to do, is really a SplitView, its handle properties can be customized, also can response SplitHandle. Pressed, SplitHandle. Additional attributes such as hovered,