#include <Iguana/Studio/interface/IgViewCreator.h>
Public Slots | |
void | createView (void) |
Public Member Functions | |
IgViewCreator (IgViewDB::Iterator &i, IgPage *page) | |
Private Attributes | |
IgViewDB::Iterator | m_iterator |
IgPage * | m_page |
Definition at line 22 of file IgViewCreator.h.
IgViewCreator::IgViewCreator | ( | IgViewDB::Iterator & | i, | |
IgPage * | page | |||
) |
Definition at line 18 of file IgViewCreator.cc.
00019 : m_page (page), 00020 m_iterator (i) 00021 { 00022 }
Definition at line 25 of file IgViewCreator.cc.
References m_page, and IgView::state().
00026 { 00027 // FIXME: IgView API is pretty small so that we have to explicitly 00028 // call show () in the Ig*View constructor in order to be able to 00029 // show the MDI window. It would be nice to have IgView::show() so 00030 // that view writers don't have to call it... But maybe 00031 // not...Let's wait for Lassi to see what he thinks... 00032 IgView* view = (*m_iterator)->create (m_page); 00033 if (!view->state ()) 00034 delete view; 00035 }
IgViewDB::Iterator IgViewCreator::m_iterator [private] |
Definition at line 34 of file IgViewCreator.h.
IgPage* IgViewCreator::m_page [private] |