Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Filedialog customization
Qt 6.11 is out! See what's new in the release blog

Filedialog customization

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 2.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    Immii
    wrote on last edited by
    #1

    hello there, I am trying to customize non native file dialog of qt. I want to get rid of delete context menu and add one of my own context menu "Hide" I am able to find the listView object via findChild but i can not figure out how to remove "delete"(keep other context menu) and add my own little menu.
    I also want to add icon preview (but will do it latter)

    can any one help plese

    1 Reply Last reply
    0
    • R Offline
      R Offline
      rcari
      wrote on last edited by
      #2

      To find/access the properties of the file dialog individual widgets, you could use the "Squish":http://www.froglogic.com/squish/gui-testing/ tool that is able to do runtime introspection of QWidget trees. That could be useful to find the right properties that allow you to find the widgets you want to make disappear.

      1 Reply Last reply
      0
      • I Offline
        I Offline
        Immii
        wrote on last edited by
        #3

        I am able to find listView but can not find QAction "delete". using findChild.

        By the way I wrote to this forum because I dont want to use excellent/stupid Tools to do my work. more over I always thought this forum is Free from Spam/marketing stuff.
        Sounds like things are changing.

        Can any other Qt expert give me some real suggestion ( Qt way of doing this)??

        1 Reply Last reply
        0
        • R Offline
          R Offline
          rcari
          wrote on last edited by
          #4

          Sorry for trying to help you solve your problem. I am not affiliated in anyway with Squish and I just find it useful for that type of work. Now if you are just too full of yourself to accept a honest hint into a possible solution, you are probably not in the right place.

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved