Salome HOME
refs #497: redesign of HYDRO main menu.
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_Tool.h
index 1fd8154c2b0fb1903f8c41d9e9a8d721c30c7488..1a9100b130226ef928354c2b2f1f0c500540ce29 100644 (file)
@@ -33,6 +33,8 @@
 #include <TCollection_HAsciiString.hxx>
 #include <TCollection_HExtendedString.hxx>
 
+#include <Image_PixMap.hxx>
+
 // IDL includes
 #include <SALOMEconfig.h>
 #include CORBA_SERVER_HEADER(GEOM_Gen)
@@ -344,6 +346,13 @@ public:
    * \return coordinate as a string
    */
   static QString                  GetCoordinateString( const double theNumber, bool isInLocale );
+
+  /**
+   * \brief Converts Qt QImage object to OCCT Image_PixMap object.
+   * \param theImage QImage object
+   * \return Image_PixMap object
+   */
+  static Handle(Image_PixMap)     Pixmap( const QImage& theImage );
 };
 
 #endif