Kaydet (Commit) f3ee3373 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

ManageNames: fix taborder for DefineNames dialog

the more button is not usable with the keyboard
üst b9c76854
...@@ -43,26 +43,27 @@ class ScViewData; ...@@ -43,26 +43,27 @@ class ScViewData;
class ScNameDefDlg : public ScAnyRefDlg class ScNameDefDlg : public ScAnyRefDlg
{ {
private: private:
PushButton maBtnAdd;
PushButton maBtnCancel;
DisclosureButton maBtnMore;
FixedText maFtInfo;
FixedText maFtName;
FixedText maFtRange;
FixedText maFtScope;
FixedLine maFlDiv;
Edit maEdName; Edit maEdName;
formula::RefEdit maEdRange; formula::RefEdit maEdRange;
formula::RefButton maRbRange; formula::RefButton maRbRange;
ListBox maLbScope; ListBox maLbScope;
DisclosureButton maBtnMore;
CheckBox maBtnRowHeader; CheckBox maBtnRowHeader;
CheckBox maBtnColHeader; CheckBox maBtnColHeader;
CheckBox maBtnPrintArea; CheckBox maBtnPrintArea;
CheckBox maBtnCriteria; CheckBox maBtnCriteria;
PushButton maBtnAdd;
PushButton maBtnCancel;
FixedText maFtInfo;
FixedText maFtName;
FixedText maFtRange;
FixedText maFtScope;
FixedLine maFlDiv;
bool mbUndo; //if true we need to add an undo action after creating a range name bool mbUndo; //if true we need to add an undo action after creating a range name
ScDocument* mpDoc; ScDocument* mpDoc;
......
...@@ -51,22 +51,22 @@ ScNameDefDlg::ScNameDefDlg( SfxBindings* pB, SfxChildWindow* pCW, Window* pParen ...@@ -51,22 +51,22 @@ ScNameDefDlg::ScNameDefDlg( SfxBindings* pB, SfxChildWindow* pCW, Window* pParen
ScViewData* pViewData, std::map<rtl::OUString, ScRangeName*> aRangeMap, ScViewData* pViewData, std::map<rtl::OUString, ScRangeName*> aRangeMap,
const ScAddress& aCursorPos, const bool bUndo ) : const ScAddress& aCursorPos, const bool bUndo ) :
ScAnyRefDlg( pB, pCW, pParent, RID_SCDLG_NAMES_DEFINE ), ScAnyRefDlg( pB, pCW, pParent, RID_SCDLG_NAMES_DEFINE ),
maBtnAdd( this, ScResId( BTN_ADD ) ),
maBtnCancel( this, ScResId( BTN_CANCEL ) ),
maBtnMore( this, ScResId( BTN_MORE ) ),
maFtInfo( this, ScResId( FT_INFO ) ),
maFtName( this, ScResId( FT_NAME ) ),
maFtRange( this, ScResId( FT_RANGE ) ),
maFtScope( this, ScResId( FT_SCOPE ) ),
maFlDiv( this, ScResId( FL_DIV ) ),
maEdName( this, ScResId( ED_NAME ) ), maEdName( this, ScResId( ED_NAME ) ),
maEdRange( this, this, ScResId( ED_RANGE ) ), maEdRange( this, this, ScResId( ED_RANGE ) ),
maRbRange( this, ScResId( RB_RANGE ), &maEdRange, this ), maRbRange( this, ScResId( RB_RANGE ), &maEdRange, this ),
maLbScope( this, ScResId( LB_SCOPE ) ), maLbScope( this, ScResId( LB_SCOPE ) ),
maBtnMore( this, ScResId( BTN_MORE ) ),
maBtnRowHeader( this, ScResId( BTN_ROWHEADER ) ), maBtnRowHeader( this, ScResId( BTN_ROWHEADER ) ),
maBtnColHeader( this, ScResId( BTN_COLHEADER ) ), maBtnColHeader( this, ScResId( BTN_COLHEADER ) ),
maBtnPrintArea( this, ScResId( BTN_PRINTAREA ) ), maBtnPrintArea( this, ScResId( BTN_PRINTAREA ) ),
maBtnCriteria( this, ScResId( BTN_CRITERIA ) ), maBtnCriteria( this, ScResId( BTN_CRITERIA ) ),
maBtnAdd( this, ScResId( BTN_ADD ) ),
maBtnCancel( this, ScResId( BTN_CANCEL ) ),
maFtInfo( this, ScResId( FT_INFO ) ),
maFtName( this, ScResId( FT_NAME ) ),
maFtRange( this, ScResId( FT_RANGE ) ),
maFtScope( this, ScResId( FT_SCOPE ) ),
maFlDiv( this, ScResId( FL_DIV ) ),
mbUndo( bUndo ), mbUndo( bUndo ),
mpDoc( pViewData->GetDocument() ), mpDoc( pViewData->GetDocument() ),
mpDocShell ( pViewData->GetDocShell() ), mpDocShell ( pViewData->GetDocShell() ),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment