Overview     Modules     Class Hierarchy     Classes     Members  
tlp Namespace Reference

The ColorButton widget provides a push button to display and allow user selection of a color. More...

Classes

Typedefs

Functions

  • TLP_QT_SCOPE
    NetworkProxyConfiguration getNetworkProxyConfiguration ()
    return the current network proxy configuration
  • TLP_QT_SCOPE void setNetworkProxyConfiguration (const NetworkProxyConfiguration &)
    allow to set the current network proxy configuration
  • TLP_QT_SCOPE
    QNetworkAccessManager * getNetworkAccessManager ()
    return a proxy configured QNetworkAccessManager Only one QNetworkAccessManager is needed by application
  • TLP_QT_SCOPE bool openDataSetDialog (DataSet &outSet, const ParameterDescriptionList &sysDef, ParameterDescriptionList &inDef, const DataSet *inSet=NULL, const char *inName=NULL, Graph *inG=NULL, QWidget *parent=NULL)
  • TLP_QT_SCOPE void openGraphOnGlMainWidget (Graph *graph, DataSet *dataSet, GlMainWidget *glMainWidget)
  • TLP_QT_SCOPE void loadInteractorPluginsFromDir (std::string dir, PluginLoader *loader=NULL)
  • TLP_QT_SCOPE void loadViewPluginsFromDir (std::string dir, PluginLoader *loader=NULL)
  • TLP_QT_SCOPE void loadControllerPluginsFromDir (std::string dir, PluginLoader *loader=NULL)
  • TLP_QT_SCOPE bool canUseQGLPixelBuffer ()
  • TLP_QT_SCOPE bool getColorDialog (const QColor &color, QWidget *parent, const QString &title, QColor &result)
  • QColor colorToQColor (const Color &color)
  • Color QColorToColor (const QColor &color)
  • std::string QStringToTlpString (const QString &toConvert)
    Convert a string from Tulip to QString.
  • QString tlpStringToQString (const std::string &toConvert)
    Convert a QString to tulip string.
  • TLP_QT_SCOPE QString propertyTypeToPropertyTypeLabel (const std::string &typeName)
    Convert the property type string to a label to display in the GUI. The property type label is the string to display in the GUI instead of the basic property type string. By example for a property of type "double" the label displayed in the GUI will be "Metric".
  • QString propertyInterfaceToPropertyTypeLabel (const tlp::PropertyInterface *const property)
    Get the string to display as property type for the given property. The property type label is the string to display in the GUI instead of the property type string. By example for a property of type "double" the label displayed in the GUI will be "Metric".
  • TLP_QT_SCOPE std::string propertyTypeLabelToPropertyType (const QString &typeNameLabel)
    Convert the label of a property type to it's corresponding property type. The property type label is the string to display in the GUI instead of the property type string. By example for a property of type "double" the label displayed in the GUI will be "Metric".

Detailed Description

The ColorButton widget provides a push button to display and allow user selection of a color.

This file is part of Tulip (www.tulip-software.org)

Authors: David Auber and the Tulip development Team from LaBRI, University of Bordeaux 1 and Inria Bordeaux - Sud Ouest

Tulip is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Tulip is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

This file is part of Tulip (www.tulip-software.org)

Authors: David Auber and the Tulip development Team from LaBRI, University of Bordeaux 1 and Inria Bordeaux - Sud Ouest

Tulip is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Tulip is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Display a QColorDialog when clicking on it to let user select a new color.

This file is part of Tulip (www.tulip-software.org)

Authors: David Auber and the Tulip development Team from LaBRI, University of Bordeaux 1 and Inria Bordeaux - Sud Ouest

Tulip is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Tulip is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Author: Morgan Mathiaut Email : mathiaut@labri.fr Last modification : 24/10/2008 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This file is part of Tulip (www.tulip-software.org)

Authors: David Auber and the Tulip development Team from LaBRI, University of Bordeaux 1 and Inria Bordeaux - Sud Ouest

Tulip is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Tulip is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Author: Antoine Lambert and Morgan Mathiaut This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This file is part of Tulip (www.tulip-software.org)

Authors: David Auber and the Tulip development Team from LaBRI, University of Bordeaux 1 and Inria Bordeaux - Sud Ouest

Tulip is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Tulip is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Author: Antoine Lambert This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This file is part of Tulip (www.tulip-software.org)

Authors: David Auber and the Tulip development Team from LaBRI, University of Bordeaux 1 and Inria Bordeaux - Sud Ouest

Tulip is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Tulip is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Author: Morgan Mathiaut Email : mathiaut@labri.fr Last modification : 16/05/08 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.


Typedef Documentation

typedef TLP_HASH_MAP<int, std::string> tlp::GlyphTableString

Function Documentation

TLP_QT_SCOPE bool tlp::canUseQGLPixelBuffer ( )
QColor tlp::colorToQColor ( const Color &  color) [inline]
TLP_QT_SCOPE bool tlp::getColorDialog ( const QColor &  color,
QWidget *  parent,
const QString &  title,
QColor &  result 
)
TLP_QT_SCOPE QNetworkAccessManager* tlp::getNetworkAccessManager ( )

return a proxy configured QNetworkAccessManager Only one QNetworkAccessManager is needed by application

TLP_QT_SCOPE NetworkProxyConfiguration tlp::getNetworkProxyConfiguration ( )

return the current network proxy configuration

TLP_QT_SCOPE void tlp::loadControllerPluginsFromDir ( std::string  dir,
PluginLoader *  loader = NULL 
)
TLP_QT_SCOPE void tlp::loadInteractorPluginsFromDir ( std::string  dir,
PluginLoader *  loader = NULL 
)
TLP_QT_SCOPE void tlp::loadViewPluginsFromDir ( std::string  dir,
PluginLoader *  loader = NULL 
)
TLP_QT_SCOPE bool tlp::openDataSetDialog ( DataSet &  outSet,
const ParameterDescriptionList &  sysDef,
ParameterDescriptionList &  inDef,
const DataSet *  inSet = NULL,
const char *  inName = NULL,
Graph *  inG = NULL,
QWidget *  parent = NULL 
)

Open a QT Dialog Box to fill-up an user DataSet according to a required StructDef inDef : Input-variable informations outSet : Output (filled) set [inSet : Input (optional) set, containing some default values]

TLP_QT_SCOPE void tlp::openGraphOnGlMainWidget ( Graph *  graph,
DataSet *  dataSet,
GlMainWidget *  glMainWidget 
)

Create a main layout in GlMainWidget and display the graph on it

QString tlp::propertyInterfaceToPropertyTypeLabel ( const tlp::PropertyInterface *const  property) [inline]

Get the string to display as property type for the given property. The property type label is the string to display in the GUI instead of the property type string. By example for a property of type "double" the label displayed in the GUI will be "Metric".

TLP_QT_SCOPE std::string tlp::propertyTypeLabelToPropertyType ( const QString &  typeNameLabel)

Convert the label of a property type to it's corresponding property type. The property type label is the string to display in the GUI instead of the property type string. By example for a property of type "double" the label displayed in the GUI will be "Metric".

TLP_QT_SCOPE QString tlp::propertyTypeToPropertyTypeLabel ( const std::string &  typeName)

Convert the property type string to a label to display in the GUI. The property type label is the string to display in the GUI instead of the basic property type string. By example for a property of type "double" the label displayed in the GUI will be "Metric".

Color tlp::QColorToColor ( const QColor &  color) [inline]
std::string tlp::QStringToTlpString ( const QString &  toConvert) [inline]

Convert a string from Tulip to QString.

TLP_QT_SCOPE void tlp::setNetworkProxyConfiguration ( const NetworkProxyConfiguration &  )

allow to set the current network proxy configuration

QString tlp::tlpStringToQString ( const std::string &  toConvert) [inline]

Convert a QString to tulip string.



Tulip Software by LaBRI Visualization Team    2001 - 2012