summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/misc/WizardPages.src
diff options
context:
space:
mode:
authorSzymon Kłos <eszkadev@gmail.com>2014-08-05 23:55:21 +0200
committerDavid Tardon <dtardon@redhat.com>2014-08-06 13:15:04 +0000
commit3067d228cd0db321868d766c917089540d02678d (patch)
treef302bf633e7c2492999ed43a31362428a39844a6 /dbaccess/source/ui/misc/WizardPages.src
parentf71d65f39eac01374bb96d63054444a7b21bd4fc (diff)
TAB_WIZ_TYPE_SELECT and TAB_WIZ_NAME_MATCHING conversion to .ui
Conflicts: dbaccess/UIConfig_dbaccess.mk dbaccess/source/ui/misc/WizardPages.src Change-Id: I1a628dd6220f3f180cc01353380fe4aa7e166cf4 Reviewed-on: https://gerrit.libreoffice.org/10776 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'dbaccess/source/ui/misc/WizardPages.src')
-rw-r--r--dbaccess/source/ui/misc/WizardPages.src228
1 files changed, 17 insertions, 211 deletions
diff --git a/dbaccess/source/ui/misc/WizardPages.src b/dbaccess/source/ui/misc/WizardPages.src
index de9634c03851..ed04106ea192 100644
--- a/dbaccess/source/ui/misc/WizardPages.src
+++ b/dbaccess/source/ui/misc/WizardPages.src
@@ -17,19 +17,10 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include "WizardPages.hrc"
#include "dbu_misc.hrc"
#include "dbaccess_helpid.hrc"
#include "dbaccess_slotid.hrc"
-#define WINDOW_SIZE_X 276
-#define WINDOW_SIZE_Y 185
-
-#define WINDOW_BORDER_Y 14
-
-#define BUTTON_SIZE_X 50
-#define BUTTON_SIZE_Y 14
-
String STR_WIZ_COLUMN_SELECT_TITEL
{
Text [ en-US ] = "Apply columns";
@@ -65,76 +56,6 @@ String STR_WIZ_PB_OK
Text [ en-US ] = "C~reate";
};
-TabPage TAB_WIZ_TYPE_SELECT
-{
- SVLook = TRUE ;
- Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
-
- HelpId = HID_TAB_WIZ_TYPE_SELECT;
- Hide = TRUE;
-
- MultiListBox LB_NEW_COLUMN_NAMES
- {
- HelpID = "dbaccess:MultiListBox:TAB_WIZ_TYPE_SELECT:LB_NEW_COLUMN_NAMES";
- Border = TRUE ;
- Pos = MAP_APPFONT ( 6 , 6 ) ;
- Size = MAP_APPFONT ( 87 , WINDOW_SIZE_Y - 12 ) ;
- TabStop = TRUE ;
- HScroll = TRUE;
- VScroll = TRUE;
- AutoHScroll = TRUE;
- SimpleMode = TRUE;
- };
-
- FixedLine FL_COLUMN_NAME
- {
- Pos = MAP_APPFONT ( 99 , 3 ) ;
- Size = MAP_APPFONT ( WINDOW_SIZE_X - 105, 8 ) ;
- Text [ en-US ] = "Column information" ;
- };
-
- TabPage CONTROL_CONTAINER
- {
- HelpID = "dbaccess:TabPage:CONTROL_CONTAINER";
- Pos = MAP_APPFONT ( 102 , WINDOW_BORDER_Y ) ;
- Size = MAP_APPFONT ( WINDOW_SIZE_X - 111, WINDOW_SIZE_Y - WINDOW_BORDER_Y - 67 );
- SVLook = TRUE;
- DialogControl = TRUE;
- };
-
- FixedLine FL_AUTO_TYPE
- {
- Pos = MAP_APPFONT ( 99 , WINDOW_SIZE_Y - WINDOW_BORDER_Y - 41 ) ;
- Size = MAP_APPFONT ( WINDOW_SIZE_X - 105, 8 ) ;
- Text [ en-US ] = "Automatic type recognition" ;
- };
-
- FixedText FT_AUTO
- {
- Pos = MAP_APPFONT ( 105 , WINDOW_SIZE_Y - WINDOW_BORDER_Y - 28 ) ;
- Size = MAP_APPFONT ( 40 , 8 ) ;
- Text [ en-US ] = "Lines (ma~x)";
- };
-
- NumericField ET_AUTO
- {
- HelpID = "dbaccess:NumericField:TAB_WIZ_TYPE_SELECT:ET_AUTO";
- Border = TRUE ;
- Pos = MAP_APPFONT ( 151 , WINDOW_SIZE_Y - WINDOW_BORDER_Y - 29) ;
- Size = MAP_APPFONT ( 40 , 12 ) ;
- TabStop = TRUE ;
- };
-
- PushButton PB_AUTO
- {
- HelpID = "dbaccess:PushButton:TAB_WIZ_TYPE_SELECT:PB_AUTO";
- Pos = MAP_APPFONT ( WINDOW_SIZE_X - 62 , WINDOW_SIZE_Y - WINDOW_BORDER_Y - 30 ) ;
- Size = MAP_APPFONT ( BUTTON_SIZE_X , BUTTON_SIZE_Y ) ;
- TabStop = TRUE ;
- Text = "~Auto" ;
- };
-};
-
Menu RID_SBA_RTF_PKEYPOPUP
{
ItemList =
@@ -149,147 +70,32 @@ Menu RID_SBA_RTF_PKEYPOPUP
};
};
-TabPage TAB_WIZ_NAME_MATCHING
-{
- HelpID = "dbaccess:TabPage:TAB_WIZ_NAME_MATCHING";
- SVLook = TRUE ;
- Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
-
- Hide = TRUE;
-
- FixedText FT_TABLE_LEFT
- {
- Pos = MAP_APPFONT ( 52 , 6 ) ;
- Size = MAP_APPFONT ( 75 , 20) ;
- Text [ en-US ] = "Source table: \n";
- };
-
- FixedText FT_TABLE_RIGHT
- {
- Pos = MAP_APPFONT ( 144, 6 ) ;
- Size = MAP_APPFONT ( 75 , 20) ;
- Text [ en-US ] = "Destination table: \n";
- };
- Control CTRL_LEFT
- {
- Border = TRUE;
- Pos = MAP_APPFONT ( 52, 28) ;
- Size = MAP_APPFONT ( 82 , WINDOW_SIZE_Y - 34 ) ;
- TabStop = TRUE;
- HelpId = HID_TAB_NAMEMATCHING_COLS_AVAIL;
- /*DialogControl = TRUE;*/
- };
-
- Control CTRL_RIGHT
- {
- Border = TRUE ;
- Pos = MAP_APPFONT ( 144, 28) ;
- Size = MAP_APPFONT ( 82 , WINDOW_SIZE_Y - 34 ) ;
- TabStop = TRUE;
- HelpId = HID_TAB_NAMEMATCHING_COLS_ASSIGN;
- /*DialogControl = TRUE;*/
- };
-
- ImageButton IB_COLUMN_UP
- {
- HelpID = "dbaccess:ImageButton:TAB_WIZ_NAME_MATCHING:IB_COLUMN_UP";
- Pos = MAP_APPFONT ( 19 , 45 ) ;
- Size = MAP_APPFONT ( 14 , 14 ) ;
- TabStop = TRUE;
- DefButton = TRUE;
- ButtonImage = Image
- {
- ImageBitmap = Bitmap
- {
- File = "sortup.png" ;
- };
- MaskColor = Color
- {
- Red = 0xFFFF ;
- Green = 0x0000 ;
- Blue = 0xFFFF ;
- };
- };
- };
- ImageButton IB_COLUMN_DOWN
- {
- HelpID = "dbaccess:ImageButton:TAB_WIZ_NAME_MATCHING:IB_COLUMN_DOWN";
- Pos = MAP_APPFONT ( 19 , 63 ) ;
- Size = MAP_APPFONT ( 14 , 14 ) ;
- TabStop = TRUE;
- ButtonImage = Image
- {
- ImageBitmap = Bitmap
- {
- File = "sortdown.png" ;
- };
- MaskColor = Color
- {
- Red = 0xFFFF ;
- Green = 0x0000 ;
- Blue = 0xFFFF ;
- };
- };
- };
- ImageButton IB_COLUMN_UP_RIGHT
+Image IMG_UP
+{
+ ImageBitmap = Bitmap
{
- HelpID = "dbaccess:ImageButton:TAB_WIZ_NAME_MATCHING:IB_COLUMN_UP_RIGHT";
- Pos = MAP_APPFONT ( WINDOW_SIZE_X - 33, 45 ) ;
- Size = MAP_APPFONT ( 14 , 14 ) ;
- TabStop = TRUE;
- DefButton = TRUE;
- ButtonImage = Image
- {
- ImageBitmap = Bitmap
- {
- File = "sortup.png" ;
- };
- MaskColor = Color
- {
- Red = 0xFFFF ;
- Green = 0x0000 ;
- Blue = 0xFFFF ;
- };
- };
+ File = "sortup.png" ;
};
- ImageButton IB_COLUMN_DOWN_RIGHT
+ MaskColor = Color
{
- HelpID = "dbaccess:ImageButton:TAB_WIZ_NAME_MATCHING:IB_COLUMN_DOWN_RIGHT";
- Pos = MAP_APPFONT ( WINDOW_SIZE_X - 33, 63) ;
- Size = MAP_APPFONT ( 14 , 14 ) ;
- TabStop = TRUE ;
- ButtonImage = Image
- {
- ImageBitmap = Bitmap
- {
- File = "sortdown.png" ;
- };
- MaskColor = Color
- {
- Red = 0xFFFF ;
- Green = 0x0000 ;
- Blue = 0xFFFF ;
- };
- };
+ Red = 0xFFFF ;
+ Green = 0x0000 ;
+ Blue = 0xFFFF ;
};
+};
- PushButton PB_ALL
+Image IMG_DOWN
+{
+ ImageBitmap = Bitmap
{
- HelpID = "dbaccess:PushButton:TAB_WIZ_NAME_MATCHING:PB_ALL";
- Pos = MAP_APPFONT ( 6, 83) ;
- Size = MAP_APPFONT ( 40 , 14 ) ;
- TabStop = TRUE ;
- Text [ en-US ] = "~All" ;
+ File = "sortdown.png" ;
};
-
- PushButton PB_NONE
+ MaskColor = Color
{
- HelpID = "dbaccess:PushButton:TAB_WIZ_NAME_MATCHING:PB_NONE";
- Pos = MAP_APPFONT ( 6, 103) ;
- Size = MAP_APPFONT ( 40 , 14 ) ;
- TabStop = TRUE ;
- Text [ en-US ] = "Non~e" ;
+ Red = 0xFFFF ;
+ Green = 0x0000 ;
+ Blue = 0xFFFF ;
};
};