Help with customization

Windows specific questions, problems.
Post Reply
accacc
Newbie
Newbie
Posts: 3
Joined: Tue Nov 21, 2023 11:48 am

Help with customization

Post by accacc »

Cheers guys,
Been trying to find out the specific name of the items in the pic attached so I could customize them. I know they are QPushButton (in QWidget) but leaving it at that will affect all other buttons in the pic.
Any one has any ideas?
Thanks in advance.
Attachments
Screenshot 2023-11-21 at 13-41-35 qBittorrent 4.5 - Download for PC Free.png
Screenshot 2023-11-21 at 13-41-35 qBittorrent 4.5 - Download for PC Free.png (425.46 KiB) Viewed 588 times
User avatar
Peter
Administrator
Administrator
Posts: 2702
Joined: Wed Jul 07, 2010 6:14 pm

Re: Help with customization

Post by Peter »

Code: Select all

         <item>
          <widget class="QPushButton" name="selectAllButton">
           <property name="text">
            <string>Select All</string>
           </property>
          </widget>
         </item>
         <item>
          <widget class="QPushButton" name="selectNoneButton">
           <property name="text">
            <string>Select None</string>
           </property>
          </widget>
         </item>
There you go. Propertieswidget.ui
accacc
Newbie
Newbie
Posts: 3
Joined: Tue Nov 21, 2023 11:48 am

Re: Help with customization

Post by accacc »

Thanks mate, you're very helpful.
How to modify this code to go in a stylesheet (qss)?
(actually I'm thinking of removing/modifying them from qbittorrent ui)
Not possible?
Thanks again!
User avatar
Peter
Administrator
Administrator
Posts: 2702
Joined: Wed Jul 07, 2010 6:14 pm

Re: Help with customization

Post by Peter »

What would you like to change about them?
accacc
Newbie
Newbie
Posts: 3
Joined: Tue Nov 21, 2023 11:48 am

Re: Help with customization

Post by accacc »

Hey man sorry I don't get notifications about replies, don't know why used to work.
Anyway, here's what I want to do, remove this whole red rectangle area marked in the pic below.
Tried all approaches I know but to no avail.
I use qss stylesheet bc I just find it easier than re-compiling with every change.
So, if you have any pointers I'll be very thankful.
Thanks and sorry again!
Attachments
Screenshot 2023-11-24 at 11-46-51 qBittorrent 4.5 - Download for PC Free.png
Screenshot 2023-11-24 at 11-46-51 qBittorrent 4.5 - Download for PC Free.png (419.67 KiB) Viewed 513 times
Post Reply