53 lines
1.7 KiB
C++
53 lines
1.7 KiB
C++
//---------------------------------------------------------------------------
|
|
|
|
#ifndef ImportSegmentFormUnitH
|
|
#define ImportSegmentFormUnitH
|
|
//---------------------------------------------------------------------------
|
|
#include <System.Classes.hpp>
|
|
#include <Vcl.Controls.hpp>
|
|
#include <Vcl.StdCtrls.hpp>
|
|
#include <Vcl.Forms.hpp>
|
|
|
|
#include "GlobalUnit.h"
|
|
#include "StyleItem.h"
|
|
#include "ComboBoxComponent.h"
|
|
#include "GeneralDialogPanel.h"
|
|
#include "LineEdit.h"
|
|
#include "TextButton.h"
|
|
#include "PreStylePanel.h"
|
|
#include <Vcl.ExtCtrls.hpp>
|
|
//#include <Vcl.ExtCtrls.hpp>
|
|
//---------------------------------------------------------------------------
|
|
class TImportSegmentForm : public TForm
|
|
{
|
|
__published: // IDE-managed Components
|
|
TLabel *m_lblFileName;
|
|
TLabel *m_lblSegType;
|
|
TGeneralDialogPanel *m_panelBk;
|
|
TLineEdit *m_editFileName;
|
|
TTextButton *m_btnBrowse;
|
|
TTextButton *m_btnCancel;
|
|
TTextButton *m_btnOk;
|
|
TLabel *m_lblTips;
|
|
TComboBoxComponent *m_cbSegType;
|
|
void __fastcall OkClick(TObject *Sender);
|
|
void __fastcall BrowseClick(TObject *Sender);
|
|
void __fastcall FormKeyDown(TObject *Sender, WORD &Key, TShiftState Shift);
|
|
void __fastcall FormCreate(TObject *Sender);
|
|
private: // User declarations
|
|
// TStyleItem* m_pStyItem;
|
|
// TSegmentItem* m_pSegItem;
|
|
TPreStylePanel* m_pStylePanel;
|
|
vector<DWORD> m_aParams;
|
|
|
|
void SetSegType();
|
|
public: // User declarations
|
|
__fastcall TImportSegmentForm(TComponent* Owner, TPreStylePanel* pStylePanel );
|
|
|
|
// TSegmentItem* GetTempSegment() { return m_pSegItem; };
|
|
};
|
|
//---------------------------------------------------------------------------
|
|
extern PACKAGE TImportSegmentForm *ImportSegmentForm;
|
|
//---------------------------------------------------------------------------
|
|
#endif
|