Home > Mobile >  Using Qt how to make the following effect excuse me?
Using Qt how to make the following effect excuse me?

Time:09-25


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 system

CodePudding user response:

QSS stylesheets

CodePudding 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,
  •  Tags:  
  • Qt
  • Related