Cube GUI Plugin User Guide  (CubeGUI 4.8.2, revision 7895e762)
How to develop a Cube GUI Plugin, road map and examples
/****************************************************************************
** CUBE http://www.scalasca.org/ **
*****************************************************************************
** Copyright (c) 1998-2022 **
** Forschungszentrum Juelich GmbH, Juelich Supercomputing Centre **
** **
** This software may be modified and distributed under the terms of **
** a BSD-style license. See the COPYING file in the package base **
** directory for details. **
****************************************************************************/
#ifndef ContextFreePluginExample_H
#define ContextFreePluginExample_H
namespace contextfreepluginexample
{
class ContextFreePluginExample : public QObject, public cubepluginapi::ContextFreePlugin
{
Q_OBJECT
Q_PLUGIN_METADATA( IID "ContextFreePluginExample" )
public:
// ContextFreePlugin interface
virtual QString
name() const;
virtual void
opened( cubepluginapi::ContextFreeServices* service );
virtual void
closed();
virtual void
version( int& major,
int& minor,
int& bugfix ) const;
virtual QString
getHelpText() const;
private slots:
void
startAction();
private:
cubepluginapi::ContextFreeServices* service;
};
}
#endif // ContextFreePluginExample_H

Cube Writer Library    Copyright © 1998–2022 Forschungszentrum Jülich GmbH, Jülich Supercomputing Centre
Copyright © 2009–2015 German Research School for Simulation Sciences GmbH, Laboratory for Parallel Programming