Kaydet (Commit) 9f0644d6 authored tarafından Csikós Tamás's avatar Csikós Tamás Kaydeden (comit) Caolán McNamara

modern .ui widgetlayout for areasdlg/printareasdlg

Change-Id: I91ae85f6ca896bdc91d43654213a079480e627e0
Reviewed-on: https://gerrit.libreoffice.org/4866Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 08225e92
......@@ -88,6 +88,7 @@ $(eval $(call gb_UIConfig_add_uifiles,modules/scalc,\
sc/uiconfig/scalc/ui/optdlg \
sc/uiconfig/scalc/ui/optformula \
sc/uiconfig/scalc/ui/optsortlists \
sc/uiconfig/scalc/ui/printareasdialog \
sc/uiconfig/scalc/ui/printeroptions \
sc/uiconfig/scalc/ui/protectsheetdlg \
sc/uiconfig/scalc/ui/rightfooterdialog \
......
......@@ -48,24 +48,24 @@ public:
virtual sal_Bool Close();
private:
FixedLine aFlPrintArea;
ListBox aLbPrintArea;
formula::RefEdit aEdPrintArea;
formula::RefButton aRbPrintArea;
FixedLine aFlRepeatRow;
ListBox aLbRepeatRow;
formula::RefEdit aEdRepeatRow;
formula::RefButton aRbRepeatRow;
FixedLine aFlRepeatCol;
ListBox aLbRepeatCol;
formula::RefEdit aEdRepeatCol;
formula::RefButton aRbRepeatCol;
OKButton aBtnOk;
CancelButton aBtnCancel;
HelpButton aBtnHelp;
FixedLine* pFlPrintArea;
ListBox* pLbPrintArea;
formula::RefEdit* pEdPrintArea;
formula::RefButton* pRbPrintArea;
FixedLine* pFlRepeatRow;
ListBox* pLbRepeatRow;
formula::RefEdit* pEdRepeatRow;
formula::RefButton* pRbRepeatRow;
FixedLine* pFlRepeatCol;
ListBox* pLbRepeatCol;
formula::RefEdit* pEdRepeatCol;
formula::RefButton* pRbRepeatCol;
OKButton* pBtnOk;
CancelButton* pBtnCancel;
HelpButton* pBtnHelp;
sal_Bool bDlgLostFocus;
formula::RefEdit* pRefInputEdit;
......
......@@ -31,26 +31,4 @@
#define IMG_LEFTRIGHT (SC_DIALOGS_START + 43 + 23)
#define IMG_TOPDOWN (SC_DIALOGS_START + 43 + 24)
//================================================
// Dialog: Druckbereiche
#define FL_PRINTAREA 10
#define ED_PRINTAREA 11
#define RB_PRINTAREA 12
#define LB_PRINTAREA 13
#define FL_REPEATROW 20
#define ED_REPEATROW 21
#define RB_REPEATROW 22
#define LB_REPEATROW 23
#define FL_REPEATCOL 30
#define ED_REPEATCOL 31
#define RB_REPEATCOL 32
#define LB_REPEATCOL 33
#define BTN_OK 1
#define BTN_CANCEL 2
#define BTN_HELP 3
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
......@@ -18,138 +18,6 @@
*/
#include "pagedlg.hrc"
ModelessDialog RID_SCDLG_AREAS
{
HelpId = HID_SCPAGE_AREAS ;
Size = MAP_APPFONT ( 316 , 90 ) ;
OutputSize = TRUE ;
Moveable = TRUE ;
//Closeable = TRUE; // Dieser Dialog hat einen Cancel-Button !
Hide = TRUE ;
SVLook = TRUE ;
Text [ en-US ] = "Edit Print Ranges" ;
OKButton BTN_OK
{
Pos = MAP_APPFONT ( 260 , 6 ) ;
Size = MAP_APPFONT ( 50 , 14 ) ;
DefButton = TRUE ;
};
CancelButton BTN_CANCEL
{
Pos = MAP_APPFONT ( 260 , 23 ) ;
Size = MAP_APPFONT ( 50 , 14 ) ;
};
HelpButton BTN_HELP
{
Pos = MAP_APPFONT ( 260 , 43 ) ;
Size = MAP_APPFONT ( 50 , 14 ) ;
};
FixedLine FL_PRINTAREA
{
Pos = MAP_APPFONT ( 6 , 3 ) ;
Size = MAP_APPFONT ( 248 , 8 ) ;
Text [ en-US ] = "Print range" ;
};
ListBox LB_PRINTAREA
{
HelpID = "sc:ListBox:RID_SCDLG_AREAS:LB_PRINTAREA";
Border = TRUE ;
Pos = MAP_APPFONT ( 12 , 14 ) ;
Size = MAP_APPFONT ( 90 , 60 ) ;
DropDown = TRUE ;
StringList [ en-US ] =
{
< "- none -" ; Default ; > ;
< "- entire sheet -" ; Default ; > ;
< "- user defined -" ; Default ; > ;
< "- selection -" ; Default ; > ;
};
};
Edit ED_PRINTAREA
{
HelpID = "sc:Edit:RID_SCDLG_AREAS:ED_PRINTAREA";
Border = TRUE ;
Pos = MAP_APPFONT ( 106 , 14 ) ;
Size = MAP_APPFONT ( 131 , 12 ) ;
};
ImageButton RB_PRINTAREA
{
HelpID = "sc:ImageButton:RID_SCDLG_AREAS:RB_PRINTAREA";
Pos = MAP_APPFONT ( 239 , 13 ) ;
Size = MAP_APPFONT ( 13 , 15 ) ;
TabStop = FALSE ;
QuickHelpText [ en-US ] = "Shrink" ;
};
FixedLine FL_REPEATROW
{
Pos = MAP_APPFONT ( 6 , 32 ) ;
Size = MAP_APPFONT ( 248 , 8 ) ;
Text [ en-US ] = "Rows to repeat" ;
};
ListBox LB_REPEATROW
{
HelpID = "sc:ListBox:RID_SCDLG_AREAS:LB_REPEATROW";
Border = TRUE ;
Pos = MAP_APPFONT ( 12 , 43 ) ;
Size = MAP_APPFONT ( 90 , 60 ) ;
DropDown = TRUE ;
StringList [ en-US ] =
{
< "- none -" ; Default ; > ;
< "- user defined -" ; Default ; > ;
};
};
Edit ED_REPEATROW
{
HelpID = "sc:Edit:RID_SCDLG_AREAS:ED_REPEATROW";
Border = TRUE ;
Pos = MAP_APPFONT ( 106 , 43 ) ;
Size = MAP_APPFONT ( 131 , 12 ) ;
};
ImageButton RB_REPEATROW
{
HelpID = "sc:ImageButton:RID_SCDLG_AREAS:RB_REPEATROW";
Pos = MAP_APPFONT ( 239 , 42 ) ;
Size = MAP_APPFONT ( 13 , 15 ) ;
TabStop = FALSE ;
QuickHelpText [ en-US ] = "Shrink" ;
};
FixedLine FL_REPEATCOL
{
Pos = MAP_APPFONT ( 6 , 61 ) ;
Size = MAP_APPFONT ( 248 , 8 ) ;
Text [ en-US ] = "Columns to repeat" ;
};
ListBox LB_REPEATCOL
{
HelpID = "sc:ListBox:RID_SCDLG_AREAS:LB_REPEATCOL";
Border = TRUE ;
Pos = MAP_APPFONT ( 12 , 72 ) ;
Size = MAP_APPFONT ( 90 , 60 ) ;
DropDown = TRUE ;
StringList [ en-US ] =
{
< "- none -" ; Default ; > ;
< "- user defined -" ; Default ; > ;
};
};
Edit ED_REPEATCOL
{
HelpID = "sc:Edit:RID_SCDLG_AREAS:ED_REPEATCOL";
Border = TRUE ;
Pos = MAP_APPFONT ( 106 , 72 ) ;
Size = MAP_APPFONT ( 131 , 12 ) ;
};
ImageButton RB_REPEATCOL
{
HelpID = "sc:ImageButton:RID_SCDLG_AREAS:RB_REPEATCOL";
Pos = MAP_APPFONT ( 239 , 71 ) ;
Size = MAP_APPFONT ( 13 , 15 ) ;
TabStop = FALSE ;
QuickHelpText [ en-US ] = "Shrink" ;
};
};
Image IMG_LEFTRIGHT
{
ImageBitmap = Bitmap { File = "lftrgt.png" ; };
......
This diff is collapsed.
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