ADD: Continue to add archivers options to "Options dialog"

This commit is contained in:
Alexander Koblov 2010-02-19 21:33:31 +00:00
commit bbf79ad781
4 changed files with 588 additions and 389 deletions

File diff suppressed because it is too large Load diff

View file

@ -195,6 +195,7 @@ TFRMOPTIONS.LBLSAVEIN.CAPTION=&Save in:
TFRMOPTIONS.CHKIGNOREENABLE.CAPTION=&Ignore (don't show) the following files and folders:
TFRMOPTIONS.BTNADDSEL.CAPTION=&Add selected names
TFRMOPTIONS.BTNADDSELWITHPATH.CAPTION=Add selected names with &full path
TFRMOPTIONS.TBARCHIVERGENERAL.CAPTION=General
TFRMOPTIONS.LBLDESCRIPTION.CAPTION=Description:
TFRMOPTIONS.LBLARCHIVER.CAPTION=Archiver:
TFRMOPTIONS.LBLARCHIVEEXTENSION.CAPTION=Extension:
@ -204,6 +205,14 @@ TFRMOPTIONS.LBLARCHIVEADD.CAPTION=Add:
TFRMOPTIONS.LBLARCHIVEDELETE.CAPTION=Delete:
TFRMOPTIONS.LBLARCHIVELISTFORMAT.CAPTION=Listing format:
TFRMOPTIONS.LBLARCHIVETEST.CAPTION=Test:
TFRMOPTIONS.TBARCHIVERADDITIONAL.CAPTION=Additional
TFRMOPTIONS.GBARCHIVEROPTIONS.CAPTION=Options
TFRMOPTIONS.CHKMULTIARCCONSOLEOUTPUT.CAPTION=Show console output
TFRMOPTIONS.CHKMULTIARCDEBUG.CAPTION=Debug mode
TFRMOPTIONS.LBLARCHIVEMOVE.CAPTION=Move:
TFRMOPTIONS.LBLARCHIVEENCRYPT.CAPTION=Encrypt:
TFRMOPTIONS.BTNMULTIARCAPPLY.CAPTION=Apply
TFRMOPTIONS.BTNMULTIARCRENAME.CAPTION=Rename
TFRMOPTIONS.BTNMULTIARCDELETE.CAPTION=Delete
TFRMOPTIONS.BTNMULTIARCADD.CAPTION=Add
TFRMOPTIONS.CHKMULTIARCENABLED.CAPTION=Enabled

View file

@ -45,6 +45,10 @@ type
bbtnAddCategory: TBitBtn;
bbtnApplyCategory: TBitBtn;
bbtnDeleteCategory: TBitBtn;
btnMultiArcAdd: TBitBtn;
btnMultiArcDelete: TBitBtn;
btnMultiArcRename: TBitBtn;
btnMultiArcApply: TBitBtn;
btnAddSel: TButton;
btnAddSelWithPath: TButton;
btnCategoryColor: TButton;
@ -131,15 +135,18 @@ type
cbToolsRunInTerminal: TCheckBox;
cbToolsKeepTerminalOpen: TCheckBox;
cbToolsUseExternalProgram: TCheckBox;
chkMultiArcDebug: TCheckBox;
chkMultiArcConsoleOutput: TCheckBox;
chkMultiArcEnabled: TCheckBox;
chkAutoFillColumns: TCheckBox;
chkIgnoreEnable: TCheckBox;
chkMultiArcConsoleOutput: TCheckBox;
chkMultiArcDebug: TCheckBox;
cmbTabsPosition: TComboBox;
cmbAutoSizeColumn: TComboBox;
cTextLabel: TLabel;
dlgFnt: TFontDialog;
edHotKey: TEdit;
edtArchiveEncrypt: TEdit;
edtArchiveMove: TEdit;
edtArchiveAdd: TEdit;
edtArchiveDelete: TEdit;
edtArchiveExtension: TEdit;
@ -167,6 +174,7 @@ type
fneArchiver: TFileNameEdit;
fneToolsPath: TFileNameEdit;
fneSaveIn: TFileNameEdit;
gbArchiverOptions: TGroupBox;
gbExactNameMatch: TGroupBox;
fneLogFileName: TFileNameEdit;
gbFileTypesColors: TGroupBox;
@ -203,8 +211,9 @@ type
gbAutoRefreshEnable: TGroupBox;
gbAutoRefreshDisable: TGroupBox;
gbShowToolTip: TGroupBox;
gbArchiverOptions: TGroupBox;
grpQuickSearchFilterKeys: TGroupBox;
lblArchiveEncrypt: TLabel;
lblArchiveMove: TLabel;
lblArchiveAdd: TLabel;
lblArchiveDelete: TLabel;
lblArchiveExtension: TLabel;
@ -224,8 +233,11 @@ type
lbxMultiArc: TListBox;
memArchiveListFormat: TMemo;
memIgnoreList: TMemo;
pnlMultiArcButtons: TPanel;
pcArchiverCommands: TPageControl;
pgArchivers: TPage;
pgIgnoreList: TPage;
pnlArchiverCommands: TPanel;
sbxMultiArc: TScrollBox;
pnlQuickSearch: TPanel;
pnlQuickFilter: TPanel;
@ -339,6 +351,8 @@ type
gbIconsSize: TGroupBox;
stgHotkeys: TStringGrid;
stgTools: TStringGrid;
tbArchiverAdditional: TTabSheet;
tbArchiverGeneral: TTabSheet;
tbInactivePanelBrightness: TTrackBar;
tsWLX: TTabSheet;
tsDSX: TTabSheet;
@ -1949,8 +1963,10 @@ begin
edtArchiveAdd.Text:= FAdd;
edtArchiveDelete.Text:= FDelete;
edtArchiveTest.Text:= FTest;
edtArchiveMove.Text:= FMove;
chkMultiArcConsoleOutput.Checked:= FConsoleOutput;
chkMultiArcDebug.Checked:= FDebug;
chkMultiArcEnabled.Checked:= FEnabled;
end;
end;

View file

@ -43,7 +43,8 @@ type
FTest,
FDelete,
FAdd,
FMove: UTF8String;
FMove,
FEncrypt: UTF8String;
public
FEnabled: Boolean;
FConsoleOutput: Boolean;
@ -163,6 +164,7 @@ begin
FDelete:= TrimQuotes(IniFile.ReadString(Section, 'Delete', EmptyStr));
FAdd:= TrimQuotes(IniFile.ReadString(Section, 'Add', EmptyStr));
FMove:= TrimQuotes(IniFile.ReadString(Section, 'Move', EmptyStr));
FEncrypt:= TrimQuotes(IniFile.ReadString(Section, 'Encrypt', EmptyStr));
// optional
FEnabled:= IniFile.ReadBool(Section, 'Enabled', True);
FConsoleOutput:= IniFile.ReadBool(Section, 'ConsoleOutput', False);
@ -203,6 +205,7 @@ begin
IniFile.WriteString(Section, 'Delete', FDelete);
IniFile.WriteString(Section, 'Add', FAdd);
IniFile.WriteString(Section, 'Move', FMove);
IniFile.WriteString(Section, 'Encrypt', FEncrypt);
// optional
IniFile.WriteBool(Section, 'Enabled', FEnabled);
IniFile.WriteBool(Section, 'ConsoleOutput', FConsoleOutput);