view m-toolbox/m/gui/gltpda/pan3repo.m @ 51:9d5c88356247 database-connection-manager

Make unit tests database connection parameters configurable
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Wed, 07 Dec 2011 17:24:37 +0100
parents f0afece42f48
children
line wrap: on
line source

function pan3repo(varargin)

% ========================================================================
% ===================== Panel to recall the RepoGUI ======================
% ========================================================================
%
%  $Id: pan3repo.m,v 1.2 2008/12/16 19:30:26 nicola Exp $

scaleX = getappdata(0, 'ltpda_gui_scalefactor');
guiFontSize = round(10*scaleX);
set(gcf,'NextPlot','new');

% alltimers = timerfindall;
% stop(alltimers(2));
% set(alltimers(2),'TimerFcn',@ContinuousCheck,'Period',1);
% start(alltimers(2));

%%

currPanel   = varargin{1};
panelDimens = get(currPanel, 'Position');
backColor   = get(currPanel, 'BackgroundColor');


  uicontrol('Parent',currPanel,'Units','normalized','HorizontalAlignment','center','Position',[0.2 .5 .6 .08],'FontSize',guiFontSize,'String','Open the Repository GUI','TooltipString','Open the Repository GUI','Visible','on','Callback',@repogui2,'Style','pushbutton');

end