SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-QWizard rpm build for : openSUSE Tumbleweed. For other distributions click perl-QWizard.

Name : perl-QWizard
Version : 3.15 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : 8.2 Date : 2015-06-08 17:26:55
Group : Development/Libraries/Perl Source RPM : perl-QWizard-3.15-8.2.src.rpm
Size : 0.34 MB
Packager : (none)
Summary : Display a series of questions, get the answers, and act on the
Description :
QWizard displays a list of grouped questions, and retrieves and processes
user-specified answers to the questions. Multiple question/answer sets may
be displayed before the answers are dealt with. Once a \"commit\" action is
taken (instigated by the user), a series of actions is performed to handle
the answers. The actions are executed in the order required by the QWizard
programmer.

QWizard\'s real power lies in its inherent ability to keep track of all
state information between one wizard screen and the next, even in normally
stateless transaction environments like HTTP and HTML. This allows a
QWizard programmer to collect a large body of data with a number of simple
displays. After all the data has been gathered and verified, then it can be
handled as appropriate (e.g., written to a database, used for system
configuration, or used to generate a graph.)

Current user interfaces that exist are HTML, Gtk2, Tk, and (minimally)
ReadLine. A single QWizard script implementation can make use of any of the
output formats without code modification. Thus it is extremely easy to
write portable _wizard_ scripts that can be used without modification by
both graphical window environments (Gtk2 and Tk) and HTML-based web
environments (e.g., CGI scripts.), as well with intercative command line
enviornments (ReadLine).

Back-end interfaces (child classes of the _QWizard::Generator_ module) are
responsible for displaying the information to the user. Currently HTML,
Gtk2, Tk and ReadLine, are the output mechanisms that work the best (in
that order). Some others are planned (namely a curses version), but are not
far along in development. Developing new generator back-ends is fairly
simple and doesn\'t take a lot of code (assuming the graphic interface is
fairly powerful and contains a widget library.)

QWizard operates by displaying a series of \"screens\" to the user. Each
screen is defined in a QWizard construct called a _primary_ that describes
the attributes of a given screen, including the list of _questions_ to be
presented to the user. Primaries can contain questions, things to do
immediately after the questions are answered (_post_answers_), and things
to do once the entire series of screens have been answered (_actions_).
Other information, such as a title and an introduction, can also be
attached to a primary.

An example very minimal primary definition containing one question:

my %primaries = (
myprimary =>
{
title => \"my screen title\",
introduction => \"optional introduction to the screen\",
questions =>
[
{
type => \'checkbox\',
text => \'Should the chicken cross the road?\',
}
],
}

After defining a set of primaries, a new QWizard object must be created.
The QWizard _new_() constructor is given a set of options, such as window
title and a reference to a hash table containing the primaries. (The
complete set of options may be found in the \"QWizard new() Options\"
section.) The question display and data collection is started by calling
the _magic_() routine of the new QWizard object.

my $qw = new QWizard(primaries => \\%primaries,
title => \'my title\');
$qw->magic(\'myprimary\');

There are examples distributed with the QWizard module sources that may
help to understand the whole system and what it is capable of. See the
*examples* directory of the QWizard source code tree for details. Also,
QWizard was written mostly due to requirements of the Net-Policy project.
Net-Policy makes very extensive use of QWizard and is another good place to
look for examples. In fact, the QWizard CVS code is located inside the
Net-Policy CVS tree. See http://net-policy.sourceforge.net/ for details on
the Net-Policy project. There are a number of screen shots showing all the
interfaces as well on the main net-policy web site.

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-Q/openSUSE_Tumbleweed/noarch

Content of RPM  Provides Requires

Download
ftp.icm.edu.pl  perl-QWizard-3.15-8.2.noarch.rpm
     

Provides :
perl(QWizard)
perl(QWizard::API)
perl(QWizard::Generator)
perl(QWizard::Generator::Best)
perl(QWizard::Generator::Gtk2)
perl(QWizard::Generator::HTML)
perl(QWizard::Generator::HTML::Vertical)
perl(QWizard::Generator::ReadLine)
perl(QWizard::Generator::Tk)
perl(QWizard::Plugins::Bookmarks)
perl(QWizard::Plugins::History)
perl(QWizard::Storage::Base)
perl(QWizard::Storage::CGICookie)
perl(QWizard::Storage::CGIParam)
perl(QWizard::Storage::File)
perl(QWizard::Storage::Memory)
perl(QWizard::Storage::SQL)
perl-QWizard

Requires :
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsLzma) <= 4.4.6-1
perl(:MODULE_COMPAT_5.20.1)


Content of RPM :
/usr/lib/perl5/vendor_perl/5.20.1/QWizard
/usr/lib/perl5/vendor_perl/5.20.1/QWizard.pm
/usr/lib/perl5/vendor_perl/5.20.1/QWizard/API.pm
/usr/lib/perl5/vendor_perl/5.20.1/QWizard/Generator
/usr/lib/perl5/vendor_perl/5.20.1/QWizard/Generator.pm
/usr/lib/perl5/vendor_perl/5.20.1/QWizard/Generator/Best.pm
/usr/lib/perl5/vendor_perl/5.20.1/QWizard/Generator/Gtk2.pm
/usr/lib/perl5/vendor_perl/5.20.1/QWizard/Generator/HTML
/usr/lib/perl5/vendor_perl/5.20.1/QWizard/Generator/HTML.pm
/usr/lib/perl5/vendor_perl/5.20.1/QWizard/Generator/HTML/Vertical.pm
/usr/lib/perl5/vendor_perl/5.20.1/QWizard/Generator/ReadLine.pm
/usr/lib/perl5/vendor_perl/5.20.1/QWizard/Generator/Tk.pm
/usr/lib/perl5/vendor_perl/5.20.1/QWizard/Plugins
/usr/lib/perl5/vendor_perl/5.20.1/QWizard/Plugins/Bookmarks.pm
/usr/lib/perl5/vendor_perl/5.20.1/QWizard/Plugins/History.pm
/usr/lib/perl5/vendor_perl/5.20.1/QWizard/Storage
/usr/lib/perl5/vendor_perl/5.20.1/QWizard/Storage/Base.pm
/usr/lib/perl5/vendor_perl/5.20.1/QWizard/Storage/CGICookie.pm
/usr/lib/perl5/vendor_perl/5.20.1/QWizard/Storage/CGIParam.pm
/usr/lib/perl5/vendor_perl/5.20.1/QWizard/Storage/File.pm
/usr/lib/perl5/vendor_perl/5.20.1/QWizard/Storage/Memory.pm
/usr/lib/perl5/vendor_perl/5.20.1/QWizard/Storage/SQL.pm
/usr/lib/perl5/vendor_perl/5.20.1/QWizard_Widgets.pl
/usr/lib/perl5/vendor_perl/5.20.1/QWizard_Widgets.pod
/usr/lib/perl5/vendor_perl/5.20.1/auto/QWizard
/usr/lib/perl5/vendor_perl/5.20.1/auto/QWizard/Generator
/usr/lib/perl5/vendor_perl/5.20.1/auto/QWizard/Generator/autosplit.ix
/usr/lib/perl5/vendor_perl/5.20.1/x86_64-linux-thread-multi
/usr/share/doc/packages/perl-QWizard
/usr/share/doc/packages/perl-QWizard/CHANGES
There is 21 files more in these RPM.

 
ICM