51802df732
- Update fpicker files that include them. - Separate Place class into its own header and move it to svtools. Change-Id: I83a285d4c7fc21d6e76e4d7e47e347dac2bb4344
223 lines
6.1 KiB
Text
223 lines
6.1 KiB
Text
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
|
/*
|
|
* Version: MPL 1.1 / GPLv3+ / LGPLv3+
|
|
*
|
|
* The contents of this file are subject to the Mozilla Public License Version
|
|
* 1.1 (the "License"); you may not use this file except in compliance with
|
|
* the License or as specified alternatively below. You may obtain a copy of
|
|
* the License at http://www.mozilla.org/MPL/
|
|
*
|
|
* Software distributed under the License is distributed on an "AS IS" basis,
|
|
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
|
* for the specific language governing rights and limitations under the
|
|
* License.
|
|
*
|
|
* Major Contributor(s):
|
|
* [ Copyright (C) 2012 SUSE <cbosdonnat@suse.com> (initial developer) ]
|
|
*
|
|
* All Rights Reserved.
|
|
*
|
|
* For minor contributions see the git repository.
|
|
*
|
|
* Alternatively, the contents of this file may be used under the terms of
|
|
* either the GNU General Public License Version 3 or later (the "GPLv3+"), or
|
|
* the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
|
|
* in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
|
|
* instead of those above.
|
|
*/
|
|
|
|
#include "PlaceEditDialog.hrc"
|
|
|
|
// Place Edit Dialog --------------------------------------------------------------
|
|
|
|
ModalDialog DLG_FPICKER_PLACE_EDIT
|
|
{
|
|
OutputSize = TRUE ;
|
|
Border = TRUE ;
|
|
SVLook = TRUE ;
|
|
Moveable = TRUE ;
|
|
Closeable = TRUE ;
|
|
Sizeable = TRUE;
|
|
Size = MAP_APPFONT ( 200 , 76 ) ;
|
|
FixedText FT_ADDPLACE_SERVERNAME
|
|
{
|
|
Pos = MAP_APPFONT ( 12 , 14 ) ;
|
|
Size = MAP_APPFONT ( 40 , 10 ) ;
|
|
Text [ en-US ] = "Name" ;
|
|
};
|
|
FixedText FT_ADDPLACE_SERVERTYPE
|
|
{
|
|
Pos = MAP_APPFONT ( 12 , 30 ) ;
|
|
Size = MAP_APPFONT ( 40 , 10 ) ;
|
|
Text [ en-US ] = "Type" ;
|
|
};
|
|
FixedText FT_ADDPLACE_HOST
|
|
{
|
|
Pos = MAP_APPFONT ( 12 , 46 ) ;
|
|
Size = MAP_APPFONT ( 40 , 10 ) ;
|
|
Text [ en-US ] = "Host" ;
|
|
};
|
|
Edit ED_ADDPLACE_HOST
|
|
{
|
|
Pos = MAP_APPFONT ( 55, 44 ) ;
|
|
Size = MAP_APPFONT ( 71 , 12 ) ;
|
|
Border = TRUE ;
|
|
};
|
|
FixedText FT_ADDPLACE_PORT
|
|
{
|
|
Pos = MAP_APPFONT ( 129 , 46 ) ;
|
|
Size = MAP_APPFONT ( 20 , 10 ) ;
|
|
Text [ en-US ] = "Port" ;
|
|
};
|
|
NumericField ED_ADDPLACE_PORT
|
|
{
|
|
Pos = MAP_APPFONT ( 152, 44 ) ;
|
|
Size = MAP_APPFONT ( 40 , 12 ) ;
|
|
Border = TRUE ;
|
|
Spin = TRUE ;
|
|
Minimum = 0 ;
|
|
Maximum = 65535 ;
|
|
};
|
|
FixedText FT_ADDPLACE_PATH
|
|
{
|
|
Pos = MAP_APPFONT ( 12 , 62 ) ;
|
|
Size = MAP_APPFONT ( 40 , 10 ) ;
|
|
Text [ en-US ] = "Path" ;
|
|
};
|
|
Edit ED_ADDPLACE_PATH
|
|
{
|
|
Pos = MAP_APPFONT ( 55, 60 ) ;
|
|
Size = MAP_APPFONT ( 137 , 12 ) ;
|
|
Border = TRUE ;
|
|
};
|
|
CheckBox CB_ADDPLACE_DAVS
|
|
{
|
|
Pos = MAP_APPFONT ( 55, 74 ) ;
|
|
Size = MAP_APPFONT ( 137 , 10 ) ;
|
|
Text[ en-US ] = "Secured WebDAV (HTTPS)" ;
|
|
};
|
|
Edit ED_ADDPLACE_SMBHOST
|
|
{
|
|
Pos = MAP_APPFONT ( 55, 44 ) ;
|
|
Size = MAP_APPFONT ( 137 , 12 ) ;
|
|
Border = TRUE ;
|
|
};
|
|
FixedText FT_ADDPLACE_SHARE
|
|
{
|
|
Pos = MAP_APPFONT ( 12 , 62 ) ;
|
|
Size = MAP_APPFONT ( 40 , 10 ) ;
|
|
Text [ en-US ] = "Share" ;
|
|
};
|
|
Edit ED_ADDPLACE_SHARE
|
|
{
|
|
Pos = MAP_APPFONT ( 55, 60 ) ;
|
|
Size = MAP_APPFONT ( 137 , 12 ) ;
|
|
Border = TRUE ;
|
|
};
|
|
FixedText FT_ADDPLACE_SMBPATH
|
|
{
|
|
Pos = MAP_APPFONT ( 12 , 78 ) ;
|
|
Size = MAP_APPFONT ( 40 , 10 ) ;
|
|
Text [ en-US ] = "Path" ;
|
|
};
|
|
Edit ED_ADDPLACE_SMBPATH
|
|
{
|
|
Pos = MAP_APPFONT ( 55, 76 ) ;
|
|
Size = MAP_APPFONT ( 137 , 12 ) ;
|
|
Border = TRUE ;
|
|
};
|
|
Edit ED_ADDPLACE_SERVERNAME
|
|
{
|
|
Pos = MAP_APPFONT ( 55, 12 ) ;
|
|
Size = MAP_APPFONT ( 137 , 12 ) ;
|
|
Border = TRUE ;
|
|
};
|
|
FixedText FT_ADDPLACE_CMIS_BINDING
|
|
{
|
|
Pos = MAP_APPFONT ( 12 , 46 ) ;
|
|
Size = MAP_APPFONT ( 40 , 10 ) ;
|
|
Text [ en-US ] = "Binding URL" ;
|
|
};
|
|
Edit ED_ADDPLACE_CMIS_BINDING
|
|
{
|
|
Pos = MAP_APPFONT ( 55, 44 ) ;
|
|
Size = MAP_APPFONT ( 137 , 12 ) ;
|
|
Border = TRUE ;
|
|
};
|
|
FixedText FT_ADDPLACE_CMIS_REPOSITORY
|
|
{
|
|
Pos = MAP_APPFONT ( 12 , 62 ) ;
|
|
Size = MAP_APPFONT ( 40 , 10 ) ;
|
|
Text [ en-US ] = "Repository" ;
|
|
};
|
|
ListBox LB_ADDPLACE_CMIS_REPOSITORY
|
|
{
|
|
Pos = MAP_APPFONT ( 55, 60 ) ;
|
|
Size = MAP_APPFONT ( 122 , 75 ) ;
|
|
Border = TRUE ;
|
|
DropDown = TRUE;
|
|
};
|
|
ImageButton BT_ADDPLACE_CMIS_REPOREFRESH
|
|
{
|
|
Pos = MAP_APPFONT ( 180, 60 ) ;
|
|
Size = MAP_APPFONT ( 12, 12 );
|
|
TabStop = FALSE ;
|
|
QuickHelpText [ en-US ] = "Refresh" ;
|
|
ButtonImage = Image
|
|
{
|
|
ImageBitmap = Bitmap
|
|
{
|
|
File = "reload.png" ;
|
|
};
|
|
MaskColor = Color { Red = 0xFF00; Green = 0x0000; Blue = 0xFF00; } ;
|
|
};
|
|
};
|
|
ListBox LB_ADDPLACE_SERVERTYPE
|
|
{
|
|
Pos = MAP_APPFONT ( 55, 28 ) ;
|
|
Size = MAP_APPFONT ( 137 , 75 ) ;
|
|
Border = TRUE ;
|
|
DropDown = TRUE;
|
|
StringList [ en-US ] =
|
|
{
|
|
< "WebDAV" ; >;
|
|
< "FTP" ; >;
|
|
< "SSH" ; >;
|
|
< "Windows Share" ; >;
|
|
< "CMIS (Atom Binding)" ; >;
|
|
};
|
|
};
|
|
FixedText FT_ADDPLACE_USERNAME
|
|
{
|
|
Pos = MAP_APPFONT ( 12 , 46 ) ;
|
|
Size = MAP_APPFONT ( 40 , 10 ) ;
|
|
Text [ en-US ] = "Login" ;
|
|
};
|
|
Edit ED_ADDPLACE_USERNAME
|
|
{
|
|
Pos = MAP_APPFONT ( 55, 44 ) ;
|
|
Size = MAP_APPFONT ( 137 , 12 ) ;
|
|
Border = TRUE ;
|
|
};
|
|
OKButton BT_ADDPLACE_OK
|
|
{
|
|
Pos = MAP_APPFONT ( 80 , 60 ) ;
|
|
Size = MAP_APPFONT ( 50 , 14 ) ;
|
|
DefButton = TRUE ;
|
|
};
|
|
CancelButton BT_ADDPLACE_CANCEL
|
|
{
|
|
Pos = MAP_APPFONT ( 140, 60 ) ;
|
|
Size = MAP_APPFONT ( 50 , 14 ) ;
|
|
};
|
|
PushButton BT_ADDPLACE_DELETE
|
|
{
|
|
Pos = MAP_APPFONT ( 10 , 60 ) ;
|
|
Size = MAP_APPFONT ( 50 , 14 ) ;
|
|
Text [ en-US ] = "Delete" ;
|
|
};
|
|
};
|
|
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|