Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Examples  

timingsettings.h

Go to the documentation of this file.
00001 
00002 //
00003 // YASA timing settings declarations
00004 //
00005 // Project: Yasa 2
00006 // Author : Jan Blumenthal
00007 // Start  : 2002/02/28
00008 // $Header: /sources/yasa/yasagui/timingsettings.h,v 1.4 2003/01/24 15:47:43 bj Exp $
00009 //
00011 //
00012 // This program is free software; you can redistribute it and/or modify
00013 // it under the terms of the GNU General Public License as published by
00014 // the Free Software Foundation; either version 2 of the License, or
00015 // (at your option) any later version.
00016 //
00017 // This program is distributed in the hope that it will be useful,
00018 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00019 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00020 // GNU General Public License for more details.
00021 //
00022 // You should have received a copy of the GNU General Public License
00023 // along with this program (See the included file COPYING);
00024 // if not, write to the Free Software Foundation, Inc.,
00025 // 675 Mass Ave, Cambridge, MA 02139, USA.
00026 //
00028 // This file contains settings of the timing windows
00030 #ifndef YASAGUI_TIMING_SETTINGS_INCLUDE
00031 #define YASAGUI_TIMING_SETTINGS_INCLUDE
00032 
00033 
00035 #define YTIMING_FIGURE_HEIGHT       16          // must be lower than YTIMING_FIGURE_HEIGHT
00036 #define YTIMING_FIGURE_WIDTH        16          //
00037 #define YTIMING_BAR_HEIGHT          10          // should be lower than YTIMING_FIGURE_HEIGHT
00038 #define YTIMING_TIMING_HEIGHT       YTIMING_FIGURE_HEIGHT
00039 #define YTIMING_TASK_HEIGHT         10          // must be lower than YTIMING_FIGURE_HEIGHT
00040 #define YTIMING_TOP_OFFSET          20          // offset from top of widget to first content
00041 #define YTIMING_SPACING_Y           5
00042 #define YTIMING_SPACING_X           5
00043 #define YTIMING_GRID_LINE_WIDTH     1           // width of the vertical line in the legend
00044 #define YTIMING_GRID_LINE_HEIGHT    1           // height of the horizontal line
00045 #define YTIMING_GRID_LEGEND_WIDTH   3           // width of the vertical square in the legend
00046 #define YTIMING_GRID_LEGEND_HEIGHT  5           // height of the horizontal square
00047 #define YTIMING_EDGE_SPACING_X      10          // space between left window edge and first diagram line (must be higher than YTIMING_SPACING_Y)
00048 //#define YTIMING_EDGE_SPACING_Y        10          // space between top window edge and top point of vertically diagram line
00049 #define YTIMING_NAME_WIDTH          100         // max width of a name to align the timing diagrams
00050 #define YTIMING_DEFAULT_ZOOMFACTOR  1       // logging entries at times between 0-999 are drawn at one pixel
00051 #define YTIMING_DEFAULT_ZOOMFACTOR_CHANGE   2   // double or halve
00052 //#define YTIMING_DEFAULT_ZOOMFACTOR_MAX    10      // minimal zoom factor
00053 #define YTIMING_DEFAULT_LEGENDFACTOR YTIMING_DEFAULT_ZOOMFACTOR*100 // every t=1000000 a legend entry should be painted
00054 #define YTIMING_LEGENDFACTOR_CHANGE 2
00055 #define YTIMING_GRID_COLOR          QColor(0,0,0)
00056 
00057 
00059 #endif                                                                          // ifndef YASAGUI_TIMING_SETTINGS_INCLUDE

Generated on Thu Feb 13 23:43:57 2003 for Yasa by doxygen1.3-rc3