?? qiopcbrowserpanel.hpp
字號:
// Borland C++ Builder
// Copyright (c) 1995, 2002 by Borland Software Corporation
// All rights reserved
// (DO NOT EDIT: machine generated header) 'QiOPCBrowserPanel.pas' rev: 6.00
#ifndef QiOPCBrowserPanelHPP
#define QiOPCBrowserPanelHPP
#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <QiOPCItem.hpp> // Pascal unit
#include <QiOPCDLLLoader.hpp> // Pascal unit
#include <QiEditorBasicComponents.hpp> // Pascal unit
#include <QiGPFunctions.hpp> // Pascal unit
#include <QiTypes.hpp> // Pascal unit
#include <QExtCtrls.hpp> // Pascal unit
#include <QStdCtrls.hpp> // Pascal unit
#include <QComCtrls.hpp> // Pascal unit
#include <QControls.hpp> // Pascal unit
#include <Variants.hpp> // Pascal unit
#include <Classes.hpp> // Pascal unit
#include <Types.hpp> // Pascal unit
#include <QTypes.hpp> // Pascal unit
#include <QClipbrd.hpp> // Pascal unit
#include <QDialogs.hpp> // Pascal unit
#include <QForms.hpp> // Pascal unit
#include <QGraphics.hpp> // Pascal unit
#include <Qt.hpp> // Pascal unit
#include <TypInfo.hpp> // Pascal unit
#include <SysUtils.hpp> // Pascal unit
#include <Windows.hpp> // Pascal unit
#include <SysInit.hpp> // Pascal unit
#include <System.hpp> // Pascal unit
//-- user supplied -----------------------------------------------------------
namespace Qiopcbrowserpanel
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TiOPCBrowserPanel;
class PASCALIMPLEMENTATION TiOPCBrowserPanel : public Qcontrols::TCustomControl
{
typedef Qcontrols::TCustomControl inherited;
private:
Qieditorbasiccomponents::TiComponentEditorListBox* FOPCItemList;
Qieditorbasiccomponents::TiComponentEditorButton* FAddItemButton;
Qieditorbasiccomponents::TiComponentEditorButton* FRemoveItemButton;
Qieditorbasiccomponents::TiComponentEditorEdit* FPropertyNameEdit;
Qieditorbasiccomponents::TiComponentEditorEdit* FGroupNameEdit;
Qieditorbasiccomponents::TiComponentEditorEdit* FComputerNameEdit;
Qieditorbasiccomponents::TiComponentEditorEdit* FOPCServerNameEdit;
Qieditorbasiccomponents::TiComponentEditorEdit* FItemNameEdit;
Qieditorbasiccomponents::TiComponentEditorCheckBox* FAutoConnectCheckBox;
Qieditorbasiccomponents::TiComponentEditorCheckBox* FAutoErrorCheckBox;
Qieditorbasiccomponents::TiComponentEditorButton* FPropertyNameEditButton;
Qieditorbasiccomponents::TiComponentEditorButton* FGroupNameEditButton;
Qieditorbasiccomponents::TiComponentEditorButton* FComputerNameEditButton;
Qieditorbasiccomponents::TiComponentEditorButton* FOPCServerNameEditButton;
Qieditorbasiccomponents::TiComponentEditorButton* FItemNameEditButton;
Qieditorbasiccomponents::TiComponentEditorEdit* FUpdateRateEdit;
Qstdctrls::TLabel* FPropertyLabel;
Qstdctrls::TLabel* FGroupLabel;
Qstdctrls::TLabel* FComputerLabel;
Qstdctrls::TLabel* FOPCServerLabel;
Qstdctrls::TLabel* FItemLabel;
Qstdctrls::TLabel* FUpdateRateLabel;
Qstdctrls::TLabel* FErrorLabel;
Qstdctrls::TLabel* FEvaluationLabel;
Classes::TNotifyEvent FOnChange;
Classes::TPersistent* FPersistent;
int FSessionHandle;
bool FShowProperty;
bool FShowAutoError;
void __fastcall SetShowAutoError(const bool Value);
protected:
void __fastcall SetShowProperty(const bool Value);
void __fastcall AddButtonClick(System::TObject* Sender);
void __fastcall RemoveButtonClick(System::TObject* Sender);
void __fastcall PropertyNameChange(System::TObject* Sender);
void __fastcall GroupNameChange(System::TObject* Sender);
void __fastcall ComputerNameChange(System::TObject* Sender);
void __fastcall OPCSeverNameChange(System::TObject* Sender);
void __fastcall ItemNameChange(System::TObject* Sender);
void __fastcall UpdateRateChange(System::TObject* Sender);
void __fastcall AutoConnectChange(System::TObject* Sender);
void __fastcall AutoErrorChange(System::TObject* Sender);
void __fastcall ItemMoveEvent(System::TObject* Sender);
void __fastcall OPCItemListClick(System::TObject* Sender);
void __fastcall PropertyNameEditButtonClick(System::TObject* Sender);
void __fastcall GroupNameEditButtonClick(System::TObject* Sender);
void __fastcall ComputerNameEditButtonClick(System::TObject* Sender);
void __fastcall OPCSeverNameEditButtonClick(System::TObject* Sender);
void __fastcall ItemNameEditButtonClick(System::TObject* Sender);
void __fastcall GetDefaults(Qiopcitem::TiOPCItem* OPCItem);
void __fastcall SetDefaults(AnsiString PropertyName, AnsiString PropertyData);
DYNAMIC void __fastcall Resize(void);
DYNAMIC void __fastcall DoEnter(void);
void __fastcall AdjustLayout(void);
virtual void __fastcall Loaded(void);
public:
__fastcall virtual TiOPCBrowserPanel(Classes::TComponent* AOwner);
__fastcall virtual ~TiOPCBrowserPanel(void);
void __fastcall UpdateItemEdit(void);
void __fastcall ItemChange(void);
int __fastcall AddItem(void);
int __fastcall ItemCount(void);
void __fastcall RemoveAllItems(void);
AnsiString __fastcall GetPropertyName(int Index);
AnsiString __fastcall GetGroupName(int Index);
AnsiString __fastcall GetComputerName(int Index);
AnsiString __fastcall GetServerName(int Index);
AnsiString __fastcall GetItemName(int Index);
int __fastcall GetUpdateRate(int Index);
bool __fastcall GetAutoConnect(int Index);
bool __fastcall GetAutoError(int Index);
void __fastcall SetPropertyName(int Index, AnsiString Value);
void __fastcall SetGroupName(int Index, AnsiString Value);
void __fastcall SetComputerName(int Index, AnsiString Value);
void __fastcall SetServerName(int Index, AnsiString Value);
void __fastcall SetItemName(int Index, AnsiString Value);
void __fastcall SetUpdateRate(int Index, int Value);
void __fastcall SetAutoConnect(int Index, bool Value);
void __fastcall SetAutoError(int Index, bool Value);
__property Classes::TPersistent* APersistent = {read=FPersistent, write=FPersistent};
__published:
__property Classes::TNotifyEvent OnChange = {read=FOnChange, write=FOnChange};
__property bool ShowProperty = {read=FShowProperty, write=SetShowProperty, default=1};
__property bool ShowAutoError = {read=FShowAutoError, write=SetShowAutoError, default=1};
__property Align = {default=0};
public:
#pragma option push -w-inl
/* TWidgetControl.CreateParented */ inline __fastcall TiOPCBrowserPanel(Qt::QWidgetH* ParentWidget) : Qcontrols::TCustomControl(ParentWidget) { }
#pragma option pop
};
//-- var, const, procedure ---------------------------------------------------
} /* namespace Qiopcbrowserpanel */
using namespace Qiopcbrowserpanel;
#pragma option pop // -w-
#pragma option pop // -Vx
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // QiOPCBrowserPanel
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -