msgstr ""
"Project-Id-Version: example-Qt-message-extraction\n"
"POT-Creation-Date: 1999-02-23 15:38+0200\n"
-"PO-Revision-Date: 2005-05-05 10:19+0400\n"
+"PO-Revision-Date: 1999-02-23 15:38+0200\n"
"Last-Translator: \n"
"Content-Type: text/plain; charset=iso-8859-1\n"
msgstr "Saves the active view in the image file"
msgid "MNU_DUMP_VIEW"
-msgstr "Dump view..."
+msgstr "Dump"
msgid "GL_IMAGE_FILES"
msgstr "Images Files (*.bmp *.png)"
msgid "BUT_OK"
msgstr "Ok"
-msgid "GLViewer_Viewer2d::CHANGE_BGCOLOR"
+msgid "CHANGE_BGCOLOR"
msgstr "Change background..."
msgid "GLViewer_ViewFrame::DUMP_VIEW_SAVE_FILE_DLG_CAPTION"
-msgstr "Dump View"
+msgstr "Save Dump View in file"
msgid "GLViewer_ViewFrame::DUMP_VIEW_ERROR_DLG_CAPTION"
msgstr "Error"
msgid "GLViewer_ViewFrame::DUMP_VIEW_ERROR_DLG_TEXT"
-msgstr "Dump view operation failed."
-
-msgid "GLViewer_ViewFrame::DUMP_VIEW_ERROR_UNSUPPORTED_FORMAT"
-msgstr "Can't dump view. Unsupported image format: %1."
+msgstr "Can't save Dump View in file"
#define SALOME_GLOWNER_H
#include <string>
+//#include <GLViewer.h>
#include <GLViewer_Object.h>
-class Standard_EXPORT SALOME_GLOwner : public GLViewer_Owner
+class GLVIEWER_API SALOME_GLOwner : public GLViewer_Owner
{
public:
SALOME_GLOwner( const char* );
return;
QMap<QString, GLViewer_Object*> aDisplayed;
- const ObjectMap& displayed = cont->getObjects();
- for ( ObjectMap::const_iterator it = displayed.begin(); it != displayed.end(); ++it )
+ const ObjList& displayed = cont->getObjects();
+ for ( ObjList::const_iterator it = displayed.begin(); it != displayed.end(); ++it )
{
- if ( it.key()->getVisible() )
+ GLViewer_Object* obj = *it;
+ if ( obj && obj->getVisible() )
{
- GLViewer_Object* obj = it.key();
- if ( obj )
- {
- SALOME_GLOwner* owner = dynamic_cast< SALOME_GLOwner* >( obj->owner() );
- if ( owner )
- aDisplayed.insert( owner->entry(), obj );
- }
+ SALOME_GLOwner* owner = dynamic_cast< SALOME_GLOwner* >( obj->owner() );
+ if ( owner )
+ aDisplayed.insert( owner->entry(), obj );
}
}