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 5 of 5

Thread: Plugin Menus

Threaded View

  1. #1
    Join Date
    January 2010
    Location
    Germany
    Posts
    2,029

    Lightbulb Plugin Menus

    Client: 12.01.2012 15:22:23

    While the ability to finally add Menu Items to the Client & Channel Context Menu as well as to the global Menu Bar is certainly nice it is also quite useless in its current state imho.


    Some things that came to mind:
    • You HAVE to create all your Items in one place.
    • You CANNOT change your Items in any way once created.
    • You CANNOT remove your Items in any way.
    • It is generally way too abstract.

    Suggestions:
    • It would be nice if you just had a few Functions on ts3Functions Struct like these:
      • QAction* addMenuItem(PluginMenuType type, char* name = 0, char* IconPath = 0);
      • void removeMenuItem(QAction* menuItem);
      • void renameMenuItem(QAction* menuItem); // Not really required.


    Advantages:
    • Being able to create / change / remove Menu Items anywhere at anytime.
    • Giving Developers full Control over their Menu Items by actually returning the QAction Pointer.
    • Eliminate the need for the #define's
    • Eliminate the need for the Helper Function
    • Eliminate the need to know upfront how many Items one could possibly need at any given time
    • Allow for Menu Items to be hidden / disabled in certain situations
    • Make the Feature actually usable.


    Disadvantage:
    • Developers would need to download the Qt Source.


    While there is also the (rather small) disadvantage of having to have the Qt Source available I think the advantages clearly outrank the disadvantage.
    Last edited by SilentStorm; January 23rd, 2012 at 09:59 PM. Reason: Added small Disadvantage.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [No Bug] Permission menus are gone
    By varela1george in forum Bug Reports [EN/DE]
    Replies: 7
    Last Post: June 1st, 2011, 04:01 AM
  2. [Suggestion] More Menus
    By Conreason in forum Suggestions and Feedback
    Replies: 6
    Last Post: February 1st, 2010, 09:20 PM
  3. Confusing context menus
    By Horst33 in forum macOS
    Replies: 0
    Last Post: December 26th, 2009, 11:32 PM

Tags for this Thread

Posting Permissions

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