VOOZH about

URL: https://www.geeksforgeeks.org/python/pyqt5-combobox-setting-border-style-to-down-arrow-when-pressed/

⇱ PyQt5 ComboBox – Setting border style to down arrow when pressed - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

PyQt5 ComboBox – Setting border style to down arrow when pressed

Last Updated : 17 May, 2020
In this article we will see how we can set border style to the down arrow when it get pressed. Basically, when we set border to the down arrow it is of plain simple border although we can change its style. In order to do so we have to change the style sheet associated with the combo box below is the style sheet code
QComboBox::down-arrow::pressed
{
border : 4px black;
border-style : dotted;
}
Below is the implementation Output :
Comment