Commit 4380c5c3 authored by Hans-Christian Ebke's avatar Hans-Christian Ebke

Core: Added a fancy online documentation for the new getToolbox scripting method.


git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@15118 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 0b4c141b
......@@ -1568,6 +1568,10 @@ void Core::setDescriptions(){
emit setSlotDescription("setToolBoxSide(QString)", tr("Determine whether the toolboxes should be displayed on the right or on the left side."),
QStringList(tr("side")), QStringList(tr("The desired side of the toolboxes (either 'left' or 'right')")));
emit setSlotDescription("getToolbox(QString,QString)", tr("Returns a pointer to the requested toolbox widget if it was found, nullptr, otherwise."),
tr("Plugin Name\rToolbox Name").split("\r"),
tr("The plugin which the requested toolbox belongs to.\rThe name of the requested toolbox.").split("\r"));
}
void Core::deleteObject( int _id ){
......
......@@ -951,9 +951,9 @@ private slots:
/**
* Get a toolbox.
*
* @param _pluginName The plugin which the requested toolbox belongs tp.
* @param _pluginName The plugin which the requested toolbox belongs to.
* @param _toolboxName The name of the requested toolbox.
* @return A pointer to the requested widget if it was found, nullptr, otherwise.
* @return A pointer to the requested toolbox widget if it was found, nullptr, otherwise.
*/
QWidget *getToolbox(QString _pluginName, QString _toolboxName);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment