def __init__(self): self.tab = widgets.Tab() self.tab.children = [ Tabs.PolicyComparisonTab(), Tabs.LearningCurvesTab(), Tabs.EpisodeReviewTab(), Tabs.PiePlotTab(), Tabs.HeatMapTab(), Tabs.HeatMapComparisonTab(), Tabs.DimensionalityReductionPlotTab(), Tabs.ExperimentsDirectoryTab() ] titles = [ 'Policy performance', 'Learing curves', 'Episode review', 'Success Pie', 'Success Heatmap', 'Heatmap Compare', 'Failures scatter plot', 'Edit', ] # self.tab.children = [Tabs.HeatMapComparisonTab()] # titles = ['test'] for i in range(len(self.tab.children)): self.tab.set_title(i, titles[i])
def __init__(self, root): tk.Frame.__init__(self, root) self.root = root Menubar.Menubar(root) Ribbon.Ribbon(root) Tabs.Tabs(root) LeftPane.LeftPane(root)
def View1Action_open(self): try: dlg = Dialogs.UTCDialog(self) dlg.exec() self.UTC = dlg.UTC self.widget = Tabs.MyWidget(self, self.UTC) self.setCentralWidget(self.widget) except: pass
def __init__(self): super().__init__() self.title = 'Pre-Analyzer' # 실행 프로그램의 이름 self.showMaximized() self.initUI() # UTC 변환 self.UTC = None self.init_UTC() # Widget 띄우기 self.widget = Tabs.MyWidget(self, self.UTC) self.setCentralWidget(self.widget)
def loadSinks(self): self.sink_list.addSink(Info.init()) self.sink_list.addSink(Buttons.init()) self.sink_list.addSink(Menus.init()) self.sink_list.addSink(Images.init()) self.sink_list.addSink(Layouts.init()) self.sink_list.addSink(Lists.init()) self.sink_list.addSink(Popups.init()) self.sink_list.addSink(Tables.init()) self.sink_list.addSink(Text.init()) self.sink_list.addSink(Trees.init()) self.sink_list.addSink(Frames.init()) self.sink_list.addSink(Tabs.init())
def loadSinks(self): self.sink_list.add(Info.init()) self.sink_list.add(Buttons.init()) self.sink_list.add(Menus.init()) self.sink_list.add(Images.init()) self.sink_list.add(Layouts.init()) self.sink_list.add(Lists.init()) self.sink_list.add(Popups.init()) self.sink_list.add(Tables.init()) self.sink_list.add(Text.init()) self.sink_list.add(Trees.init()) self.sink_list.add(Frames.init()) self.sink_list.add(Tabs.init())
def __init__(self): super().__init__() self.title = 'Believe Me Sister' # 실행 프로그램의 이름 # 실행 프로그램의 시작 위치 설정 self.left = 100 self.top = 100 self.width = 1000 self.height = 700 self.initUI() # UTC 변환 self.UTC = None self.init_UTC() self.widget = Tabs.MyWidget(self, self.UTC) self.setCentralWidget(self.widget)
def loadSinks(self): #self.sink_list.addSink(DataTree.init()) #self.sink_list.addSink(RecipeSystemIFACE.init()) self.sink_list.addSink(ADViewerIFACE.init()) self.sink_list.addSink(RecipeViewer.init()) self.sink_list.addSink(FITSStoreFACE.init()) self.sink_list.addSink(DisplayIFACE.init()) self.sink_list.addSink(Info.init()) if False: self.sink_list.addSink(Buttons.init()) self.sink_list.addSink(Menus.init()) self.sink_list.addSink(Images.init()) self.sink_list.addSink(Layouts.init()) self.sink_list.addSink(Lists.init()) self.sink_list.addSink(Popups.init()) self.sink_list.addSink(Tables.init()) self.sink_list.addSink(Text.init()) if False: #preserving originaly order self.sink_list.addSink(Frames.init()) self.sink_list.addSink(Tabs.init())
def __init__(self): self.tab = widgets.Tab() self.tab.children = [ Tabs.PolicyComparisonTab(), Tabs.EpisodeReviewTab(), Tabs.PiePlotTab(), Tabs.HeatMapTab(), Tabs.HeatMapComparisonTab(), Tabs.DimensionalityReductionPlotTab(), # Tabs.ExperimentsDirectoryTab() ] titles = [ "Policy performance", "Episode review", "Success Pie", "Success Heatmap", "Heatmap Compare", "Failures scatter plot", # 'Edit', ] # self.tab.children = [Tabs.HeatMapComparisonTab()] # titles = ['test'] for i in range(len(self.tab.children)): self.tab.set_title(i, titles[i])
def tabs(self): #import webbrowser Tabs.tabs()