CallBackery::GuiPlugin::AbstractCardlist - Base class for a cardlist plugin
use Mojo::Base 'CallBackery::GuiPlugin::AbstractCardlist';
The base class for cardlist plugins, derived from CallBackery::GuiPlugin::AbstractTable
The attributes of the CallBackery::GuiPlugin::AbstractTable class and these:
Configuration of the card list cards
return [ layout => { class => 'qx.ui.layout.Grid', setFunctions => { setColumnFlex => [ [ 0, 1 ], [ 5, 1 ], ], setColumnWidth => [ [ 5, 200 ], ], setColumnAlign => [ [ 5, 'right', 'bottom' ], ], setSpacingX => [ [20], ], setSpacingY => [ [3], ], }, }, form => [ { label => { addSet => { row => 0, column => 0, }, set => { value => trm('Type'), }, }, field => { addSet => { row => 1, column => 0, }, class => 'qx.ui.form.TextField', key => 'oatkg_label', set => { width => 100, readOnly => true }, }, }, ], ];
is not used for card plugins, use cardCfg instead.
All the methods of CallBackery::GuiPlugin::AbstractTable plus:
Return the requested card data and pass other types of request on to the upper levels.
is not used for card plugins.
Create export button. Not yet implemented for card plugins.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
Copyright (c) 2013-2020 by OETIKER+PARTNER AG. All rights reserved.
Fritz Zaucker <fritz.zaucker@oetiker.ch>
2020-09-01 fz 1.0 first version
To install CallBackery, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CallBackery
CPAN shell
perl -MCPAN -e shell install CallBackery
For more information on module installation, please visit the detailed CPAN module installation guide.