| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package TUI::Dialogs;
|
|
2
|
2
|
|
|
2
|
|
3661
|
use strict;
|
|
|
2
|
|
|
|
|
3
|
|
|
|
2
|
|
|
|
|
75
|
|
|
3
|
2
|
|
|
2
|
|
10
|
use warnings;
|
|
|
2
|
|
|
|
|
3
|
|
|
|
2
|
|
|
|
|
205
|
|
|
4
|
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
our $VERSION = '2.0.0';
|
|
6
|
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=encoding utf8
|
|
8
|
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
=head1 NAME
|
|
10
|
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
TUI::Dialogs - Dialog components for the TUI::Vision framework
|
|
12
|
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
=head1 SYNOPSIS
|
|
14
|
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
use TUI::Dialogs;
|
|
16
|
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
# Placeholder module.
|
|
18
|
|
|
|
|
|
|
# The full dialog system will be migrated from TV::Dialogs.
|
|
19
|
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=head1 DESCRIPTION
|
|
21
|
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
TUI::Dialogs provides the dialog and widget layer for the TUI::Vision
|
|
23
|
|
|
|
|
|
|
framework. It corresponds to the Turbo Vision dialog subsystem and
|
|
24
|
|
|
|
|
|
|
includes a wide range of interactive UI components.
|
|
25
|
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
This module re-exported numerous dialog-related classes, including:
|
|
27
|
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=over 4
|
|
29
|
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=item * Const
|
|
31
|
|
|
|
|
|
|
Symbolic constants for dialog behavior.
|
|
32
|
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=item * History and HistoryViewer
|
|
34
|
|
|
|
|
|
|
History lists, history windows, and history initialization.
|
|
35
|
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=item * Basic widgets
|
|
37
|
|
|
|
|
|
|
Button, Label, StaticText, InputLine, ParamText.
|
|
38
|
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=item * Selection widgets
|
|
40
|
|
|
|
|
|
|
CheckBoxes, MultiCheckBoxes, RadioButtons, Cluster.
|
|
41
|
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=item * List widgets
|
|
43
|
|
|
|
|
|
|
ListBox, StrItem.
|
|
44
|
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=item * Utility modules
|
|
46
|
|
|
|
|
|
|
Dialog helpers and internal utilities.
|
|
47
|
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=back
|
|
49
|
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
This stub does not implement any of these features yet.
|
|
51
|
|
|
|
|
|
|
It exists solely to reserve the namespace for the upcoming migration.
|
|
52
|
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=head1 ROADMAP
|
|
54
|
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=over 4
|
|
56
|
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=item * Phase 2
|
|
58
|
|
|
|
|
|
|
Migration of TV::Dialogs::* modules into TUI::Dialogs::*.
|
|
59
|
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=item * Phase 3
|
|
61
|
|
|
|
|
|
|
Reintroduction of the import/unimport dispatcher.
|
|
62
|
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=item * Phase 4
|
|
64
|
|
|
|
|
|
|
Integration with TUI::Views and TUI::Objects for unified widget behavior.
|
|
65
|
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=item * Phase 5
|
|
67
|
|
|
|
|
|
|
Modernization of history handling and dialog layout logic.
|
|
68
|
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=back
|
|
70
|
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=head1 AUTHOR
|
|
72
|
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
J. Schneider
|
|
74
|
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=cut
|
|
76
|
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
1;
|