Changeset 610 for trunk/src/series.m


Ignore:
Timestamp:
Apr 14, 2013, 9:37:42 AM (8 years ago)
Author:
sommeria
Message:

various bugs fixed after tests under widows
introduce uigetfile_uvmat for series/status (some problems need to be solved)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/series.m

    r609 r610  
    24732473    OutputSubDir=[Param.OutputSubDir Param.OutputDirExt];% subdirectory for output files
    24742474    OutputDir=fullfile(RootPath,OutputSubDir);
    2475     hfig=findobj(allchild(0),'name','series_status');
    2476     if isempty(hfig)
    2477         ScreenSize=get(0,'ScreenSize');
    2478         hfig=figure('DeleteFcn',@stop_status,'Position',[ScreenSize(3)-600 ScreenSize(4)-640 560 600]);
    2479         set(hfig,'MenuBar','none')% suppress the menu bar
    2480         set(hfig,'NumberTitle','off')%suppress the fig number in the title
    2481         set(hfig,'name','series_status')
    2482         set(hfig,'tag','series_status')
    2483         uicontrol('Style','listbox','Units','normalized', 'Position',[0.05 0.09 0.9 0.71], 'Callback', @view_file,'tag','list','UserData',OutputDir);
    2484         uicontrol('Style','edit','Units','normalized', 'Position', [0.05 0.87 0.9 0.1],'tag','titlebox','Max',2,'String',OutputDir);
    2485         uicontrol('Style','frame','Units','normalized', 'Position', [0.05 0.81 0.9 0.05]);
    2486         uicontrol('Style','pushbutton','Units','normalized', 'Position', [0.7 0.01 0.2 0.07],'String','Close','FontWeight','bold','FontUnits','points','FontSize',11,'Callback',@stop_status);
    2487         uicontrol('Style','pushbutton','Units','normalized', 'Position', [0.1 0.01 0.2 0.07],'String','Refresh','FontWeight','bold','FontUnits','points','FontSize',11,'Callback',@refresh_GUI);
    2488         %set(hrefresh,'UserData',StatusData)
    2489         BarPosition=[0.05 0.81 0.01 0.05];
    2490         uicontrol('Style','frame','Units','normalized', 'Position',BarPosition ,'BackgroundColor',[1 0 0],'tag','waitbar');
    2491         drawnow
    2492     end
    2493     refresh_GUI(hfig)
     2475    uigetfile_uvmat('status_display',OutputDir)
     2476   
     2477%     hfig=findobj(allchild(0),'name','series_status');
     2478%     if isempty(hfig)
     2479%         ScreenSize=get(0,'ScreenSize');
     2480%         hfig=figure('DeleteFcn',@stop_status,'Position',[ScreenSize(3)-600 ScreenSize(4)-640 560 600]);
     2481%         set(hfig,'MenuBar','none')% suppress the menu bar
     2482%         set(hfig,'NumberTitle','off')%suppress the fig number in the title
     2483%         set(hfig,'name','series_status')
     2484%         set(hfig,'tag','series_status')
     2485%         uicontrol('Style','listbox','Units','normalized', 'Position',[0.05 0.09 0.9 0.71], 'Callback', @view_file,'tag','list','UserData',OutputDir);
     2486%         uicontrol('Style','edit','Units','normalized', 'Position', [0.05 0.87 0.9 0.1],'tag','titlebox','Max',2,'String',OutputDir);
     2487%         uicontrol('Style','frame','Units','normalized', 'Position', [0.05 0.81 0.9 0.05]);
     2488%         uicontrol('Style','pushbutton','Units','normalized', 'Position', [0.7 0.01 0.2 0.07],'String','Close','FontWeight','bold','FontUnits','points','FontSize',11,'Callback',@stop_status);
     2489%         uicontrol('Style','pushbutton','Units','normalized', 'Position', [0.1 0.01 0.2 0.07],'String','Refresh','FontWeight','bold','FontUnits','points','FontSize',11,'Callback',@refresh_GUI);
     2490%         %set(hrefresh,'UserData',StatusData)
     2491%         BarPosition=[0.05 0.81 0.01 0.05];
     2492%         uicontrol('Style','frame','Units','normalized', 'Position',BarPosition ,'BackgroundColor',[1 0 0],'tag','waitbar');
     2493%         drawnow
     2494%     end
     2495%     refresh_GUI(hfig)
    24942496else
    24952497    %% delete current display fig if selection is off
Note: See TracChangeset for help on using the changeset viewer.