Forum


Notice to all users

We are migrating towards a new forum system located at community.teamspeak.com, as such this forum will become read-only on January 29, 2020

Results 1 to 3 of 3
  1. #1
    Join Date
    February 2010
    Location
    US
    Posts
    10

    How to find class name for styles

    Click image for larger version. 

Name:	Screenshot (1).jpg 
Views:	224 
Size:	208.0 KB 
ID:	11581 its when the mouse cursor hovers over the Qmenu it pops up in lower corner, needs to be adjusted, need to know the name of the selection in the picture, pls.

  2. #2
    Join Date
    June 2008
    Posts
    18,495
    The statusbar has no object name, but is has a class to work with.

    Here is the way to find the classes of the objects
    Code:
    1. Go into Settings -> Options -> Hotkeys
    2. Create a new hotkey for the stylesheet helper
    3. Hover with your mouse above the object
    4. Press and hold the hotkey
    Click image for larger version. 

Name:	stylesheet helper.jpg 
Views:	106 
Size:	27.9 KB 
ID:	11582
    Click image for larger version. 

Name:	stylesheet helper2.jpg 
Views:	77 
Size:	10.9 KB 
ID:	11583
    Last edited by dante696; November 11th, 2014 at 09:55 AM. Reason: second pic
    When sending me private messages: Please make sure to include reference link to your forum thread or post.

    TeamSpeak FAQ || What should i report, when i open a client thread?

  3. #3
    Join Date
    February 2010
    Location
    US
    Posts
    10
    I have that turned on and it works but, it wont work due to you have to have the mouse over the drop down menus to get it to show up, and as soon as you try to move the mouse over the area it goes away. is there any other way to find out what all the
    StatusBar ParentClass#ObjectsNames are? I know for the fact theres one cause you can change the color of it by using StatusBar { color: #FF0000; } but when you adjust the bar it stays in same area, therefore it must have a #ObjectName. you can see the pic I have has my mouse cursor over the menu and in lower left corner there the info text that appears when you mouse over almost all buttons and menus in TeamSpeak.

    here are some of the ones I know
    QLabel#StatusCharCountDisplayLabel {}
    QLabel#NewsLeftLabel {}
    QLabel#ServerStatusLabel {}
    QWidget#NewsBanner {}
    QToolButton#NewsCloseButton {}

    here's a link that better helps describes what i'm talking about. http://qt-project.org/doc/qt-4.8/qst...r.html#details
    Last edited by Glen348; November 12th, 2014 at 09:00 PM. Reason: added link

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Styles and updates
    By efialt in forum Suggestions and Feedback
    Replies: 0
    Last Post: January 19th, 2010, 04:40 AM
  2. Qt Styles
    By morris in forum Linux
    Replies: 2
    Last Post: December 24th, 2009, 07:06 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •