1
package Padre::Wx::FBP::FindFast;
5
# This module was generated by Padre::Plugin::FormBuilder::Perl.
6
# To change this module edit the original .fbp file and regenerate.
7
# DO NOT MODIFY THIS FILE BY HAND!
13
use Padre::Wx::Role::Main ();
15
our $VERSION = '0.90';
25
my $self = $class->SUPER::new(
28
Wx::wxDefaultPosition,
30
Wx::wxNO_BORDER | Wx::wxTAB_TRAVERSAL,
33
$self->{cancel} = Wx::Button->new(
37
Wx::wxDefaultPosition,
41
Wx::Event::EVT_BUTTON(
45
shift->close_clicked(@_);
49
$self->{find_label} = Wx::StaticText->new(
52
Wx::gettext("Find") . ":",
55
$self->{find_text} = Wx::TextCtrl->new(
59
Wx::wxDefaultPosition,
68
shift->find_text_changed(@_);
72
$self->{find_next} = Wx::Button->new(
76
Wx::wxDefaultPosition,
79
$self->{find_next}->SetDefault;
81
Wx::Event::EVT_BUTTON(
85
shift->find_next_clicked(@_);
89
$self->{find_previous} = Wx::Button->new(
92
Wx::gettext("Previous"),
93
Wx::wxDefaultPosition,
97
Wx::Event::EVT_BUTTON(
99
$self->{find_previous},
101
shift->find_previous_clicked(@_);
105
$self->{find_case} = Wx::CheckBox->new(
108
Wx::gettext("Match Case"),
109
Wx::wxDefaultPosition,
113
my $sizer = Wx::FlexGridSizer->new( 1, 6, 0, 0 );
114
$sizer->AddGrowableRow(0);
115
$sizer->SetFlexibleDirection(Wx::wxBOTH);
116
$sizer->SetNonFlexibleGrowMode(Wx::wxFLEX_GROWMODE_SPECIFIED);
117
$sizer->Add( $self->{cancel}, 0, Wx::wxALIGN_CENTER_VERTICAL | Wx::wxALL, 5 );
118
$sizer->Add( $self->{find_label}, 0, Wx::wxALIGN_CENTER_VERTICAL | Wx::wxALL, 5 );
119
$sizer->Add( $self->{find_text}, 0, Wx::wxALIGN_CENTER_VERTICAL | Wx::wxALL, 5 );
120
$sizer->Add( $self->{find_next}, 0, Wx::wxALIGN_CENTER_VERTICAL | Wx::wxALL, 5 );
121
$sizer->Add( $self->{find_previous}, 0, Wx::wxALIGN_CENTER_VERTICAL | Wx::wxALL, 5 );
122
$sizer->Add( $self->{find_case}, 1, Wx::wxALIGN_CENTER_VERTICAL | Wx::wxALL, 5 );
124
$self->SetSizerAndFit($sizer);
139
$_[0]->{find_previous};
147
$_[0]->main->error('Handler method close_clicked for event cancel.OnButtonClick not implemented');
150
sub find_text_changed {
151
$_[0]->main->error('Handler method find_text_changed for event find_text.OnText not implemented');
154
sub find_next_clicked {
155
$_[0]->main->error('Handler method find_next_clicked for event find_next.OnButtonClick not implemented');
158
sub find_previous_clicked {
159
$_[0]->main->error('Handler method find_previous_clicked for event find_previous.OnButtonClick not implemented');
164
# Copyright 2008-2011 The Padre development team as listed in Padre.pm.
166
# This program is free software; you can redistribute it and/or
167
# modify it under the same terms as Perl 5 itself.
1
package Padre::Wx::FBP::FindFast;
5
# This module was generated by Padre::Plugin::FormBuilder::Perl.
6
# To change this module edit the original .fbp file and regenerate.
7
# DO NOT MODIFY THIS FILE BY HAND!
13
use Padre::Wx::Role::Main ();
15
our $VERSION = '0.92';
25
my $self = $class->SUPER::new(
30
Wx::NO_BORDER | Wx::TAB_TRAVERSAL,
33
$self->{cancel} = Wx::Button->new(
41
Wx::Event::EVT_BUTTON(
45
shift->close_clicked(@_);
49
$self->{find_label} = Wx::StaticText->new(
52
Wx::gettext("Find") . ":",
55
$self->{find_text} = Wx::TextCtrl->new(
68
shift->find_text_changed(@_);
72
$self->{find_previous} = Wx::Button->new(
75
Wx::gettext("Previous"),
80
Wx::Event::EVT_BUTTON(
82
$self->{find_previous},
84
shift->find_previous_clicked(@_);
88
$self->{find_next} = Wx::Button->new(
95
$self->{find_next}->SetDefault;
97
Wx::Event::EVT_BUTTON(
101
shift->find_next_clicked(@_);
105
$self->{find_case} = Wx::CheckBox->new(
108
Wx::gettext("Match Case"),
113
my $bSizer79 = Wx::BoxSizer->new(Wx::HORIZONTAL);
114
$bSizer79->Add( 0, 0, 0, Wx::ALL | Wx::EXPAND, 5 );
115
$bSizer79->Add( $self->{cancel}, 0, Wx::ALIGN_CENTER_VERTICAL | Wx::ALL, 5 );
116
$bSizer79->Add( $self->{find_label}, 0, Wx::ALIGN_CENTER_VERTICAL | Wx::ALL, 5 );
117
$bSizer79->Add( $self->{find_text}, 0, Wx::ALIGN_CENTER_VERTICAL | Wx::ALL, 5 );
118
$bSizer79->Add( $self->{find_previous}, 0, Wx::ALIGN_CENTER_VERTICAL | Wx::ALL, 5 );
119
$bSizer79->Add( $self->{find_next}, 0, Wx::ALIGN_CENTER_VERTICAL | Wx::ALL, 5 );
120
$bSizer79->Add( $self->{find_case}, 1, Wx::ALIGN_CENTER_VERTICAL | Wx::ALL, 5 );
121
$bSizer79->Add( 0, 0, 0, Wx::ALL | Wx::EXPAND, 5 );
123
$self->SetSizerAndFit($bSizer79);
134
$_[0]->{find_previous};
146
$_[0]->main->error('Handler method close_clicked for event cancel.OnButtonClick not implemented');
149
sub find_text_changed {
150
$_[0]->main->error('Handler method find_text_changed for event find_text.OnText not implemented');
153
sub find_previous_clicked {
154
$_[0]->main->error('Handler method find_previous_clicked for event find_previous.OnButtonClick not implemented');
157
sub find_next_clicked {
158
$_[0]->main->error('Handler method find_next_clicked for event find_next.OnButtonClick not implemented');
163
# Copyright 2008-2011 The Padre development team as listed in Padre.pm.
165
# This program is free software; you can redistribute it and/or
166
# modify it under the same terms as Perl 5 itself.