Results 1 to 2 of 2

Thread: Component names.

  1. #1
    Join Date
    Nov 2010
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Component names.

    Helly everbody,
    I've been working on several Teamspeak 3 skins lately, and these use .Qss stylesheets. I understand most things of it, but the problem is... I don't have a full list of all the 'components' (?). (I'm unfamiliar with the terms used in Qt, so take it easy on me)

    Let's say I only want to edit the QLineEdit in one window only, and give the rest another skin. The problem is, that I need to know the proper name for the one field I want to edit. In the Qss files the QTextEdit does have several different instances, meaning I could skin each one of them differently.
    Qt Code:
    1. QTextEdit#pluginDescTextEdit
    2. QTextEdit#descriptionTextEdit
    3. QTextEdit#vserverWelcomeTextEdit
    To copy to clipboard, switch view to plain text mode 
    I wan't do the same thing with the QLineEdit... This is just one example... There are a million more names of windows, boxes, etc etc I would like to know. Is there anyway I can figure these out?

    The people who make Teamspeak aren't really responsive on the forums...
    I'm guessing I need some sort of source coding to do this, but if there is any other way to get a full list that would be great!

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Component names.

    Theoretically - again, theoretically, you can open the exe and libs in a hex editor and look for the symbols.
    But you really need to be a masochist to try that, and will probably not work in the sense, that you will manage to find all the object names you are looking for.
    So, with out the source code, you can't really know which object names correspond to which objects, apart of obvious cases.
    IMHO.
    Last edited by high_flyer; 29th November 2010 at 15:33.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

Similar Threads

  1. Need Listbox with Columns - which component?
    By scintillion in forum Qt Programming
    Replies: 3
    Last Post: 8th April 2010, 04:44
  2. Software Component
    By mickey in forum General Discussion
    Replies: 0
    Last Post: 20th July 2009, 22:51
  3. Is there a QIpAddrLineEdit component ?
    By lovelypp in forum Qt Programming
    Replies: 1
    Last Post: 13th July 2008, 14:10
  4. Is there an Led component for qt ?
    By lovelypp in forum Qt Programming
    Replies: 2
    Last Post: 10th July 2008, 17:36
  5. Generic Component Framework
    By prashanthudupa in forum Qt-based Software
    Replies: 5
    Last Post: 4th October 2007, 12:16

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.