Linux ns1.utparral.edu.mx 6.8.0-79-generic #79~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 15 16:54:53 UTC 2 x86_64
Apache/2.4.58 (Unix) OpenSSL/1.1.1w PHP/8.2.12 mod_perl/2.0.12 Perl/v5.34.1
: 10.10.1.9 | : 10.10.1.254
Cant Read [ /etc/named.conf ]
daemon
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
README
+ Create Folder
+ Create File
/
usr /
lib /
python3 /
dist-packages /
orca /
[ HOME SHELL ]
Name
Size
Permission
Action
backends
[ DIR ]
drwxr-xr-x
__pycache__
[ DIR ]
drwxr-xr-x
scripts
[ DIR ]
drwxr-xr-x
acss.py
3.49
KB
-rw-r--r--
bookmarks.py
8.37
KB
-rw-r--r--
braille_generator.py
21
KB
-rw-r--r--
braille.py
70.54
KB
-rw-r--r--
braille_rolenames.py
10.33
KB
-rw-r--r--
brlmon.py
6.45
KB
-rw-r--r--
brltablenames.py
7.3
KB
-rw-r--r--
caret_navigation.py
13.66
KB
-rw-r--r--
chat.py
33.71
KB
-rw-r--r--
chnames.py
23.03
KB
-rw-r--r--
cmdnames.py
55.23
KB
-rw-r--r--
colornames.py
38.13
KB
-rw-r--r--
common_keyboardmap.py
6.64
KB
-rw-r--r--
debug.py
17.79
KB
-rw-r--r--
desktop_keyboardmap.py
4.62
KB
-rw-r--r--
event_manager.py
41.45
KB
-rw-r--r--
eventsynthesizer.py
18.13
KB
-rw-r--r--
find.py
12.77
KB
-rw-r--r--
flat_review.py
48.16
KB
-rw-r--r--
formatting.py
55.22
KB
-rw-r--r--
generator.py
60.81
KB
-rw-r--r--
guilabels.py
46.35
KB
-rw-r--r--
__init__.py
115
B
-rw-r--r--
input_event.py
40.29
KB
-rw-r--r--
keybindings.py
17.82
KB
-rw-r--r--
keynames.py
9.71
KB
-rw-r--r--
label_inference.py
21.29
KB
-rw-r--r--
laptop_keyboardmap.py
4.61
KB
-rw-r--r--
liveregions.py
21.77
KB
-rw-r--r--
logger.py
1.97
KB
-rw-r--r--
mathsymbols.py
88.14
KB
-rw-r--r--
messages.py
141.35
KB
-rw-r--r--
mouse_review.py
21.57
KB
-rw-r--r--
notification_messages.py
6.18
KB
-rw-r--r--
object_properties.py
33.38
KB
-rw-r--r--
orca_gtkbuilder.py
5.35
KB
-rw-r--r--
orca_gui_commandlist.py
4.19
KB
-rw-r--r--
orca_gui_find.py
8.12
KB
-rw-r--r--
orca_gui_navlist.py
6.66
KB
-rw-r--r--
orca_gui_prefs.py
139.1
KB
-rw-r--r--
orca_gui_profile.py
4.06
KB
-rw-r--r--
orca_i18n.py
3.18
KB
-rw-r--r--
orca_platform.py
1.44
KB
-rw-r--r--
orca.py
27.86
KB
-rw-r--r--
orca_state.py
2.4
KB
-rw-r--r--
phonnames.py
2.76
KB
-rw-r--r--
pronunciation_dict.py
2.61
KB
-rw-r--r--
punctuation_settings.py
13.64
KB
-rw-r--r--
script_manager.py
14.37
KB
-rw-r--r--
script.py
19.04
KB
-rw-r--r--
script_utilities.py
201.5
KB
-rw-r--r--
settings_manager.py
24.55
KB
-rw-r--r--
settings.py
12.88
KB
-rw-r--r--
sound_generator.py
11.99
KB
-rw-r--r--
sound.py
5.47
KB
-rw-r--r--
speechdispatcherfactory.py
26.19
KB
-rw-r--r--
speech_generator.py
113.82
KB
-rw-r--r--
speech.py
10.22
KB
-rw-r--r--
speechserver.py
6.92
KB
-rw-r--r--
spellcheck.py
10.07
KB
-rw-r--r--
structural_navigation.py
124.25
KB
-rw-r--r--
text_attribute_names.py
28.62
KB
-rw-r--r--
tutorialgenerator.py
30.41
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : orca_gui_find.py
# Orca # # Copyright 2005-2009 Sun Microsystems Inc. # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # version 2.1 of the License, or (at your option) any later version. # # This library 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 # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with this library; if not, write to the # Free Software Foundation, Inc., Franklin Street, Fifth Floor, # Boston MA 02110-1301 USA. """Displays a GUI for the Orca Find window""" __id__ = "$Id$" __version__ = "$Revision$" __date__ = "$Date$" __copyright__ = "Copyright (c) 2005-2009 Sun Microsystems Inc." __license__ = "LGPL" import os import sys from gi.repository import Gtk import locale from . import find from . import guilabels from . import orca_gtkbuilder from . import orca_state from . import orca_platform OS = None class OrcaFindGUI(orca_gtkbuilder.GtkBuilderWrapper): def __init__(self, fileName, windowName): """Initialize the Orca configuration GUI. Arguments: - fileName: name of the GtkBuilder file. - windowName: name of the component to get from the GtkBuilder file. """ orca_gtkbuilder.GtkBuilderWrapper.__init__(self, fileName, windowName) # Initialize variables to None to keep pylint happy. # self.activeScript = None self.caseSensitive = None self.matchEntireWord = None self.searchBackwards = None self.searchString = None self.startAtTop = None self.windowWrap = None def init(self): # Initialize the dialog box controls. self.searchString = "" self.searchBackwards = False self.caseSensitive = False self.matchEntireWord = False self.windowWrap = True self.startAtTop = False self.activeScript = orca_state.activeScript def showGUI(self): """Show the Orca Find dialog. This assumes that the GUI has already been created. """ findDialog = self.get_widget("findDialog") ts = orca_state.lastInputEvent.timestamp if ts == 0: ts = Gtk.get_current_event_time() findDialog.present_with_time(ts) # Populate the dialog box from the previous searchQuery, should # one exist. Note: This is necessary because we are destroying # the dialog (rather than merely hiding it) before performing the # search. try: searchForEntry = self.get_widget("searchForEntry") searchForEntry.set_text(orca_state.searchQuery.searchString) searchForEntry.select_region(0, len(searchForEntry.get_text())) if orca_state.searchQuery.startAtTop: self.get_widget("topRadioButton").set_active(True) self.get_widget("matchCaseCheckbox").set_active(\ orca_state.searchQuery.caseSensitive) self.get_widget("matchEntireWordCheckbox").set_active(\ orca_state.searchQuery.matchEntireWord) self.get_widget("wrapAroundCheckbox").set_active(\ orca_state.searchQuery.windowWrap) self.get_widget("searchBackwardsCheckbox").set_active(\ orca_state.searchQuery.searchBackwards) except: pass def searchForEntryChanged(self, widget): """Signal handler for the "changed" signal for the searchForEntry GtkEntry widget. The user has changed the string to be searched for. Arguments: - widget: the component that generated the signal. """ self.searchString = widget.get_text() findButton = self.get_widget("findButton") if len(self.searchString) > 0: findButton.set_sensitive(True) else: findButton.set_sensitive(False) def startingPointChanged(self, widget): """Signal handler for the "toggled" signal for the currentLocationRadioButton or topRadioButton GtkRadioButton widgets. The user has toggled the starting point for the search. Arguments: - widget: the component that generated the signal. """ if widget.get_active(): if widget.get_label() == guilabels.FIND_START_AT_CURRENT_LOCATION: self.startAtTop = False else: self.startAtTop = True def matchCaseChecked(self, widget): """Signal handler for the "toggled" signal for the matchCaseCheckbox GtkCheckButton widget. The user has [un]checked the "Match Case" checkbox. Arguments: - widget: the component that generated the signal. """ self.caseSensitive = widget.get_active() def matchEntireWordChecked(self, widget): """Signal handler for the "toggled" signal for the matchEntireWordCheckbox GtkCheckButton widget. The user has [un]checked the "Match entire word" checkbox. Arguments: - widget: the component that generated the signal. """ self.matchEntireWord = widget.get_active() def searchBackwardsChecked(self, widget): """Signal handler for the "toggled" signal for the searchBackwardsCheckbox GtkCheckButton widget. The user has [un]checked the "Search backwards" checkbox. Arguments: - widget: the component that generated the signal. """ self.searchBackwards = widget.get_active() def wrapAroundChecked(self, widget): """Signal handler for the "toggled" signal for the wrapAroundCheckbox GtkCheckButton widget. The user has [un]checked the "Wrap around" checkbox. Arguments: - widget: the component that generated the signal. """ self.windowWrap = widget.get_active() def closeButtonClicked(self, widget): """Signal handler for the "clicked" signal for the cancelButton GtkButton widget. The user has clicked the Cancel button. Hide the dialog. Arguments: - widget: the component that generated the signal. """ self.get_widget("findDialog").hide() def findButtonClicked(self, widget): """Signal handler for the "clicked" signal for the findButton GtkButton widget. The user has clicked the Find button. Call the method to begin the search. Arguments: - widget: the component that generated the signal. """ orca_state.searchQuery = find.SearchQuery() orca_state.searchQuery.searchString = self.searchString orca_state.searchQuery.searchBackwards = self.searchBackwards orca_state.searchQuery.caseSensitive = self.caseSensitive orca_state.searchQuery.matchEntireWord = self.matchEntireWord orca_state.searchQuery.startAtTop = self.startAtTop orca_state.searchQuery.windowWrap = self.windowWrap self.activeScript.findCommandRun = True # Merely hiding the dialog causes the find to take place before # the original window has fully regained focus. self.get_widget("findDialog").destroy() def findDialogDestroyed(self, widget): """Signal handler for the "destroyed" signal for the findDialog GtkWindow widget. Reset OS to None. Arguments: - widget: the component that generated the signal. """ global OS OS = None def showFindUI(): global OS if not OS: uiFile = os.path.join(orca_platform.datadir, orca_platform.package, "ui", "orca-find.ui") OS = OrcaFindGUI(uiFile, "findDialog") OS.init() OS.showGUI() def main(): locale.setlocale(locale.LC_ALL, '') showFindUI() Gtk.main() sys.exit(0) if __name__ == "__main__": main()
Close