torsten@472: /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz torsten@472: * Software engineering by Intevation GmbH torsten@472: * torsten@472: * This file is Free Software under the GNU GPL (v>=3) torsten@472: * and comes with ABSOLUTELY NO WARRANTY! Check out raimund@497: * the documentation coming with IMIS-Labordaten-Application for details. torsten@472: */ torsten@472: torsten@349: /* torsten@349: * Grid to list available search queryies torsten@349: */ raimund@497: Ext.define('Lada.view.search.List', { torsten@31: extend: 'Ext.form.FieldSet', torsten@31: alias: 'widget.queryselector', raimund@498: raimund@498: require: [ raimund@498: 'Ext.layout.container.Column' raimund@498: ], raimund@498: raimund@497: title: 'SQL-Auswahl', torsten@6: initComponent: function() { raimund@497: this.layout = 'column'; raimund@491: this.items = [{ raimund@491: id: 'search', raimund@491: xtype: 'combobox', raimund@491: editable: false, raimund@491: store: 'Queries', raimund@497: displayField: 'name', raimund@497: valueField: 'id', raimund@497: emptyText: 'Wählen Sie eine Abfrage' raimund@491: }, { raimund@491: xtype: 'panel', raimund@491: maxWidth: '500', raimund@491: border: false, raimund@491: margin: '0 10', raimund@491: items: [{ raimund@491: id: 'sqldesc', raimund@491: xtype: 'displayfield', raimund@491: fieldLabel: 'Beschreibung', raimund@491: value: '-/-' raimund@491: }, { raimund@491: id: 'sqlquery', raimund@491: xtype: 'displayfield', raimund@491: fieldLabel: 'Abfrage', raimund@491: value: '-/-' raimund@491: }] raimund@491: }]; torsten@6: this.callParent(arguments); torsten@6: } torsten@6: });