Notice to all users

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

Results 1 to 2 of 2
  1. #1
    Join Date
    December 2009

    TS3 GUI - add a button

    hi guys.

    i'm playing around with the plugin sdk.
    i thought that it would be finde, if i could add a button in the tool bar.
    i can access the ts3 window very easy using qt library but the window's children dont hava all names.
    do i have to try out how i can access the tool bar and add a button or is there an easier way supported by the interface between my dll and teamspeak?

    yours tomix

  2. #2
    Join Date
    January 2010
    You can do it like this
    foreach (QWidget* pWidget, QApplication::allWidgets())
    const char* className = pWidget->metaObject()->className();
    if (strcmp(className, "MainWindow") == 0)

    Try "Toolbar" or a dynamic_cast in a QToolBar and check for not NULL pointer and you should get your toolbar.
    Got this tip from somewhere in this forum, dont remember who it was though.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Hot button mod
    By 2r33l4U in forum Suggestions and Feedback
    Replies: 1
    Last Post: September 2nd, 2013, 06:47 AM
  2. PTT button
    By Ohnakin in forum Windows
    Replies: 2
    Last Post: November 5th, 2011, 12:45 AM
  3. Button help
    By Hssarth in forum Skins / Icon & Sound Packs
    Replies: 3
    Last Post: February 8th, 2010, 05:04 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