Results 1 to 3 of 3

Thread: QComboBox: remove drop Down Arrow

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2006
    Location
    Argentina - CABA
    Posts
    66
    Thanks
    2
    Thanked 1 Time in 1 Post
    Qt products
    Platforms
    Unix/X11

    Default QComboBox: remove drop Down Arrow

    Hi folks!

    Actually i want to remove the drop Down arrow since i did it in the border-image, and seems i can't:

    Qt Code:
    1. border-image: url(:/Styles/styles/comboBox.png) 2 8 2 8 stretch stretch;
    2. border-width: 2x 8px 2px 8px;
    3. min-height: 19px;}
    4. QComboBox:hover {
    5. border-image: url(:/Styles/styles/comboBox_hover.png) 2 8 2 8 stretch stretch;
    6. border-width: 2px 8px 2px 8px;
    7. min-height: 19px;}
    8. QComboBox:on {
    9. border-image: url(:/Styles/styles/comboBox_pressed.png) 2 8 2 8 stretch stretch;
    10. border-width: 2px 8px 2px 8px;
    11. min-height: 19px;}
    12. QComboBox::down-arrow {
    13. image: none;}
    14. QComboBox::down-arrow:on {
    15. image: none;}
    16. border-image: url(:/Styles/styles/menuBg.png) 2 2 2 2;
    17. border-width: 2px 2px 2px 2px;}
    To copy to clipboard, switch view to plain text mode 
    And i have this weird result (Attached image).

    Any tip?

    Thanks
    Attached Images Attached Images
    Gustavo A. DÃ*az
    artistic.gdnet.com.ar

Similar Threads

  1. QComboBox drop list button events
    By maird in forum Qt Programming
    Replies: 5
    Last Post: 20th October 2007, 20:25

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.