Results 1 to 2 of 2
Thread: TS3 GUI - add a button
20-07-2010, 16:48 #1-= TeamSpeak User =-
- Join Date
- Dec 2009
TS3 GUI - add a button
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?
20-07-2010, 21:49 #2-= TeamSpeak User =-
- Join Date
- Jan 2010
You can do it like this
foreach (QWidget* pWidget, QApplication::allWidgets())
const char* className = pWidget->metaObject()->className();
if (strcmp(className, "MainWindow") == 0)
Got this tip from somewhere in this forum, dont remember who it was though.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By umarsa in forum Server SupportReplies: 2Last Post: 22-07-2010, 07:59
By xEvAngelx in forum Linux / FreeBSDReplies: 12Last Post: 24-06-2010, 18:30
By bohdalb in forum Linux / FreeBSDReplies: 11Last Post: 18-01-2010, 16:05
By AndresCL in forum Linux / FreeBSDReplies: 28Last Post: 03-01-2010, 14:15