00001 /*========================================================================= 00002 00003 Module: $RCSfile: vtkKWApplicationSettingsInterface.h,v $ 00004 00005 Copyright (c) Kitware, Inc. 00006 All rights reserved. 00007 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00008 00009 This software is distributed WITHOUT ANY WARRANTY; without even 00010 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00011 PURPOSE. See the above copyright notice for more information. 00012 00013 =========================================================================*/ 00023 #ifndef __vtkKWApplicationSettingsInterface_h 00024 #define __vtkKWApplicationSettingsInterface_h 00025 00026 #include "vtkKWUserInterfacePanel.h" 00027 00028 class vtkKWCheckButton; 00029 class vtkKWFrame; 00030 class vtkKWFrameWithLabel; 00031 class vtkKWPushButton; 00032 class vtkKWWindow; 00033 class vtkKWMenuButtonWithLabel; 00034 00035 class KWWidgets_EXPORT vtkKWApplicationSettingsInterface : public vtkKWUserInterfacePanel 00036 { 00037 // @cond section_public 00038 public: 00039 static vtkKWApplicationSettingsInterface* New(); 00040 vtkTypeRevisionMacro(vtkKWApplicationSettingsInterface,vtkKWUserInterfacePanel); 00041 void PrintSelf(ostream& os, vtkIndent indent); 00042 00044 virtual void Create(); 00045 00047 00049 vtkGetObjectMacro(Window, vtkKWWindow); 00050 virtual void SetWindow(vtkKWWindow*); 00052 00055 virtual void Update(); 00056 00063 virtual void UpdateEnableState(); 00064 00066 00067 virtual void PromptBeforeExitCallback(int state); 00068 virtual void SendErrorLogBeforeExitCallback(int state); 00069 virtual void SaveUserInterfaceGeometryCallback(int state); 00070 virtual void SplashScreenVisibilityCallback(int state); 00071 virtual void BalloonHelpVisibilityCallback(int state); 00072 virtual void ResetDragAndDropCallback(); 00073 virtual void FlatToolbarsCallback(int state); 00074 virtual void FlatToolbarWidgetsCallback(int state); 00075 virtual void DPICallback(double dpi); 00076 virtual void ViewPanelPositionCallback(); 00078 00079 // @endcond 00080 // @cond section_protected 00081 protected: 00082 vtkKWApplicationSettingsInterface(); 00083 ~vtkKWApplicationSettingsInterface(); 00084 00085 vtkKWWindow *Window; 00086 00087 // Interface settings 00088 00089 vtkKWFrameWithLabel *InterfaceSettingsFrame; 00090 00091 vtkKWCheckButton *PromptBeforeExitCheckButton; 00092 vtkKWCheckButton *SendErrorLogBeforeExitCheckButton; 00093 vtkKWCheckButton *SaveUserInterfaceGeometryCheckButton; 00094 vtkKWCheckButton *SplashScreenVisibilityCheckButton; 00095 vtkKWCheckButton *BalloonHelpVisibilityCheckButton; 00096 vtkKWMenuButtonWithLabel *ViewPanelPositionOptionMenu; 00097 00098 // Interface customization 00099 00100 vtkKWFrameWithLabel *InterfaceCustomizationFrame; 00101 vtkKWPushButton *ResetDragAndDropButton; 00102 00103 // Toolbar settings 00104 00105 vtkKWFrameWithLabel *ToolbarSettingsFrame; 00106 vtkKWCheckButton *FlatToolbarsCheckButton; 00107 vtkKWCheckButton *FlatToolbarWidgetsCheckButton; 00108 00109 // Print settings 00110 00111 vtkKWFrameWithLabel *PrintSettingsFrame; 00112 vtkKWMenuButtonWithLabel *DPIOptionMenu; 00113 00114 // @endcond 00115 // @cond section_private 00116 private: 00117 vtkKWApplicationSettingsInterface(const vtkKWApplicationSettingsInterface&); // Not implemented 00118 void operator=(const vtkKWApplicationSettingsInterface&); // Not Implemented 00119 }; 00120 00121 #endif 00122 00123 00124 // @endcond
1.6.1