📄 issueliststyles.h
字号:
//---------------------------------------------------------------------------
#ifndef IssueListStylesH
#define IssueListStylesH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "cxButtons.hpp"
#include "cxLookAndFeelPainters.hpp"
#include "cxGrid.hpp"
#include <Dialogs.hpp>
#include "IssueListStyleData.h"
#include "cxListBox.hpp"
//---------------------------------------------------------------------------
class TIssueListStylesForm : public TForm
{
__published: // IDE-managed Components
TcxListBox *lbPredefinedStyleSheets;
TcxButton *btnEdit;
TcxButton *cxButton1;
TcxButton *cxButton2;
TcxButton *btnClear;
TOpenDialog *OpenDialog;
TSaveDialog *SaveDialog;
void __fastcall lbPredefinedStyleSheetsClick(TObject *Sender);
void __fastcall btnClearClick(TObject *Sender);
void __fastcall btnEditClick(TObject *Sender);
void __fastcall cxButton1Click(TObject *Sender);
void __fastcall cxButton2Click(TObject *Sender);
void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
void __fastcall FormCreate(TObject *Sender);
void __fastcall FormDestroy(TObject *Sender);
private: // User declarations
TdmStyles* FStyleData;
void __fastcall PopulateStylesList();
void __fastcall LoadStyleSheets(const TFileName AFileName);
void __fastcall SaveStyleSheets(const TFileName AFileName);
void __fastcall UpdateStyleAndController();
void __fastcall SetStyleSheet();
void __fastcall ResetStyleSheet();
void __fastcall SelectStyleFromList();
void __fastcall ResetStyleAndController();
public: // User declarations
TcxGridTableViewStyleSheet* SelectedStyleSheet;
__fastcall TIssueListStylesForm(TComponent* Owner);
__property TdmStyles* StyleData = { read = FStyleData };
};
//---------------------------------------------------------------------------
extern PACKAGE TIssueListStylesForm *IssueListStylesForm;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -