aMainLayout->addWidget( theWidget );
}
+void HYDROGUI_InputPanel::addLayout( QLayout* theLayout )
+{
+ QBoxLayout* aMainLayout = dynamic_cast<QBoxLayout*>( myMainFrame->layout() );
+ aMainLayout->addLayout( theLayout );
+}
+
void HYDROGUI_InputPanel::addStretch()
{
QBoxLayout* aMainLayout = dynamic_cast<QBoxLayout*>( myMainFrame->layout() );
aMainLayout->addStretch();
}
+
+QFrame* HYDROGUI_InputPanel::mainFrame() const
+{
+ return myMainFrame;
+}
+