<?xml version="1.0" encoding="UTF-8"?>
<!--***********************************************************
 * 
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 * 
 *   http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 * 
 ***********************************************************-->

<!-- Would be cool to have others Editor layouts (e.g. Glade-like with
     a window for each function). -->

<dialog xmlns="http://openoffice.org/2007/layout"
        xmlns:cnt="http://openoffice.org/2007/layout/container"
        id="dialog" title="Layout Editor" sizeable="true" >
	<vbox>
		<hbox>
			<min-size min-width="120" cnt:expand="false">
				<vbox>
					<fixedtext label="Layout:" cnt:expand="false" />
					<hbox>
						<listbox id="layout-tree" has_border="true" />
						<vbox cnt:expand="false">
							<pushbutton id="layout-up-button" cnt:expand="false" />
							<pushbutton id="layout-down-button" cnt:expand="false" />
							<fixedtext cnt:expand="true" />
							<pushbutton id="layout-remove-button" cnt:expand="false" />
						</vbox>
					</hbox>
				</vbox>
			</min-size>
			<min-size min-width="120">
				<vbox>
					<fixedtext label="Preview:" cnt:expand="false" />
					<vbox border="50">
						<bin id="preview-box" />
					</vbox>
				</vbox>
			</min-size>
			<min-size min-width="120" cnt:expand="false">
				<vbox>
					<fixedtext label="Properties:" cnt:expand="false" />
					<table id="properties-box" columns="3" />
				</vbox>
			</min-size>
		</hbox>
		<hfixedline cnt:expand="false" />
		<vbox cnt:expand="false">
			<fixedtext label="Create widgets:" cnt:expand="false" />
			<flow id="create-widget" homogeneous="true" spacing="2" />
			<fixedtext label="Create containers:" cnt:expand="false" />
			<flow id="create-container" homogeneous="true" spacing="2" />
		</vbox>
		<hbox cnt:expand="false">
			<vbox><fixedline /><fixedline /><fixedline /><fixedline /></vbox>
<!--			<pushbutton id="import-button" label="Import..." cnt:expand="false"/>-->
			<pushbutton id="export-button" label="Export (stdout)" cnt:expand="false"/>
		</hbox>
	</vbox>
</dialog>
