void LayoutSplit::Process()
{
+ printf("EED LayoutSplit::Process start\n");
+ printf("EED LayoutSplit::Process end\n");
}
void LayoutSplit::CreateWidget(QWidget* parent)
{
+ printf("EED LayoutSplit::CreateWidget\n");
Qt::Orientation ori;
if (bbtk::Utilities::loosematch(bbGetInputOrientation(),
"0|H|HORIZONTAL")==true)
// when window is shown
void LayoutSplit::OnShowWidget()
{
+ printf("EED LayoutSplit::OnShowWidget\n");
/*
bbUserOnShowWidget("Widget1");
bbUserOnShowWidget("Widget2");
void LayoutLine::Process()
{
+ printf("EED LayoutLine::Process start\n");
PutWinTitle();
+ printf("EED LayoutLine::Process end\n");
+
}
void LayoutLine::CreateWidget(wxWindow* parent)
{
+ printf("EED LayoutLine::CreateWidget\n");
+
+
wxBoxSizer *sizer;
wxPanel *w = new wxPanel(parent, -1, wxDefaultPosition, wxSize(40,40) );
w->SetName( bbtk::std2wx( bbGetInputWinTitle() ) );
w -> SetSizer(sizer);
w -> SetAutoLayout(true);
w -> Layout();
+ w->Enable(false);
bbSetOutputWidget( w );
}
// when window is shown
void LayoutLine::OnShowWidget()
{
+ printf("EED LayoutLine::OnShowWidget\n");
if (bbGetOutputWidget()!=NULL)
{
bbGetOutputWidget()->Layout();
+ bbGetOutputWidget()->Enable(true);
} // if bbGetOutputWidget
}
void LayoutTab::Process()
{
+ printf("EED LayoutTab::Process Start\n");
PutWinTitle();
SetTitleTabs();
+ printf("EED LayoutTab::Process End\n");
}
void LayoutTab::CreateWidget(wxWindow* parent)
{
+ printf("EED LayoutTab::CreateWidget \n");
+
long style = wxNB_TOP;
if (bbtk::Utilities::loosematch(bbGetInputOrientation(),"0|T|TOP")==true)
{ style=wxNB_TOP; }
// when window is shown
void LayoutTab::OnShowWidget()
{
+ printf("EED LayoutTab::OnShowWidget \n");
+
//EED2020-04-06
// wxNotebook* w = (wxNotebook*)bbGetOutputWidget();
wxNotebook* w = ((TabWidget*)bbGetOutputWidget())->GetmwxNotebook();