📄 qm_pgopt.hpp
字号:
// Borland C++ Builder
// Copyright (c) 1995, 2002 by Borland Software Corporation
// All rights reserved
// (DO NOT EDIT: machine generated header) 'QM_Pgopt.pas' rev: 6.00
#ifndef QM_PgoptHPP
#define QM_PgoptHPP
#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <QM_Prntr.hpp> // Pascal unit
#include <Dialogs.hpp> // Pascal unit
#include <Buttons.hpp> // Pascal unit
#include <ComCtrls.hpp> // Pascal unit
#include <ExtCtrls.hpp> // Pascal unit
#include <Printers.hpp> // Pascal unit
#include <StdCtrls.hpp> // Pascal unit
#include <Forms.hpp> // Pascal unit
#include <Controls.hpp> // Pascal unit
#include <Graphics.hpp> // Pascal unit
#include <Classes.hpp> // Pascal unit
#include <SysUtils.hpp> // Pascal unit
#include <Messages.hpp> // Pascal unit
#include <Windows.hpp> // Pascal unit
#include <SysInit.hpp> // Pascal unit
#include <System.hpp> // Pascal unit
//-- user supplied -----------------------------------------------------------
namespace Qm_pgopt
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TQMPageSetupForm;
class PASCALIMPLEMENTATION TQMPageSetupForm : public Forms::TForm
{
typedef Forms::TForm inherited;
__published:
Stdctrls::TButton* bbCancel;
Stdctrls::TButton* btnSaveDefault;
Comctrls::TPageControl* PageControl1;
Comctrls::TTabSheet* TabSheet1;
Comctrls::TTabSheet* TabSheet2;
Stdctrls::TGroupBox* GroupBox1;
Stdctrls::TLabel* Label1;
Stdctrls::TLabel* Label7;
Stdctrls::TLabel* Label8;
Stdctrls::TLabel* Label6;
Stdctrls::TLabel* Label9;
Stdctrls::TComboBox* cbxPaperNames;
Stdctrls::TCheckBox* cbDefaultSize;
Stdctrls::TGroupBox* GroupBox2;
Extctrls::TImage* Image2;
Extctrls::TImage* Image1;
Stdctrls::TRadioButton* rbPortrait;
Stdctrls::TRadioButton* rbLandscape;
Stdctrls::TGroupBox* GroupBox3;
Stdctrls::TLabel* Label2;
Stdctrls::TLabel* Label3;
Stdctrls::TLabel* Label4;
Stdctrls::TLabel* Label5;
Stdctrls::TEdit* edtLength;
Stdctrls::TEdit* edtWidth;
Comctrls::TUpDown* updLength;
Comctrls::TUpDown* updWidth;
Stdctrls::TEdit* edtLeft;
Comctrls::TUpDown* updLeft;
Comctrls::TUpDown* updRight;
Stdctrls::TEdit* edtRight;
Stdctrls::TEdit* edtTop;
Comctrls::TUpDown* updTop;
Stdctrls::TEdit* edtBottom;
Comctrls::TUpDown* updBottom;
Stdctrls::TButton* bbOk;
Stdctrls::TGroupBox* GroupBox4;
Stdctrls::TCheckBox* cbPageFooter;
Stdctrls::TCheckBox* cbPageHeader;
Stdctrls::TGroupBox* GroupBox5;
Stdctrls::TComboBox* cbxColorMode;
Stdctrls::TLabel* Label12;
Stdctrls::TEdit* edtPercent;
Comctrls::TUpDown* updPencent;
Stdctrls::TEdit* edtScale;
Comctrls::TUpDown* updScale;
Stdctrls::TLabel* Label13;
Stdctrls::TCheckBox* cbFitToPageWidth;
Stdctrls::TGroupBox* GroupBox6;
Stdctrls::TCheckBox* cbCenter;
Stdctrls::TCheckBox* cbAllowExtend;
Stdctrls::TRadioButton* rbScaleWhole;
Stdctrls::TRadioButton* rbScaleWidth;
Stdctrls::TCheckBox* cbUseBodyFont;
Stdctrls::TEdit* edtBodyFont;
Dialogs::TFontDialog* FontDialog1;
Buttons::TSpeedButton* sbBodyFont;
Stdctrls::TCheckBox* cbUseRepWidth;
Stdctrls::TEdit* edtColumns;
Stdctrls::TEdit* edtColumnSpace;
Stdctrls::TLabel* Label10;
Stdctrls::TLabel* Label11;
Comctrls::TUpDown* UpDown1;
Comctrls::TUpDown* UpDown2;
void __fastcall rbPortraitClick(System::TObject* Sender);
void __fastcall cbxPaperNamesChange(System::TObject* Sender);
void __fastcall cbDefaultSizeClick(System::TObject* Sender);
void __fastcall btnSaveDefaultClick(System::TObject* Sender);
void __fastcall FormCreate(System::TObject* Sender);
void __fastcall updLengthChangingEx(System::TObject* Sender, bool &AllowChange, short NewValue, Comctrls::TUpDownDirection Direction);
void __fastcall edtLengthExit(System::TObject* Sender);
void __fastcall cbFitToPageWidthClick(System::TObject* Sender);
void __fastcall bbOkClick(System::TObject* Sender);
void __fastcall sbBodyFontClick(System::TObject* Sender);
void __fastcall edtBodyFontKeyPress(System::TObject* Sender, char &Key);
void __fastcall Localize(void);
private:
Qm_prntr::TQMPrinterInfo* FPrinterInfo;
System::TObject* FQMReportConsole;
Graphics::TFont* FBodyFont;
void __fastcall PrinterChange(void);
void __fastcall SetDefaultPaper(void);
void __fastcall PageChange(int id, double increment);
public:
__property System::TObject* QMReportConsole = {read=FQMReportConsole, write=FQMReportConsole};
__property Graphics::TFont* BodyFont = {read=FBodyFont, write=FBodyFont};
public:
#pragma option push -w-inl
/* TCustomForm.Create */ inline __fastcall virtual TQMPageSetupForm(Classes::TComponent* AOwner) : Forms::TForm(AOwner) { }
#pragma option pop
#pragma option push -w-inl
/* TCustomForm.CreateNew */ inline __fastcall virtual TQMPageSetupForm(Classes::TComponent* AOwner, int Dummy) : Forms::TForm(AOwner, Dummy) { }
#pragma option pop
#pragma option push -w-inl
/* TCustomForm.Destroy */ inline __fastcall virtual ~TQMPageSetupForm(void) { }
#pragma option pop
public:
#pragma option push -w-inl
/* TWinControl.CreateParented */ inline __fastcall TQMPageSetupForm(HWND ParentWindow) : Forms::TForm(ParentWindow) { }
#pragma option pop
};
//-- var, const, procedure ---------------------------------------------------
extern PACKAGE TQMPageSetupForm* QMPageSetupForm;
} /* namespace Qm_pgopt */
using namespace Qm_pgopt;
#pragma option pop // -w-
#pragma option pop // -Vx
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // QM_Pgopt
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -