@@ -61,6 +61,11 @@ def _setup_ui(self):
6161
6262 self .shell_combo = QComboBox ()
6363 self ._populate_shells ()
64+ self .shell_combo .setToolTip ("Shell für das integrierte Terminal auswählen" )
65+ self .shell_combo .setAccessibleName ("Terminal-Shell auswählen" )
66+ self .shell_combo .setAccessibleDescription (
67+ "Wählt aus, welche lokale Shell im integrierten Terminal gestartet wird."
68+ )
6469 self .shell_combo .currentTextChanged .connect (self ._restart_shell )
6570 toolbar .addWidget (QLabel ("Shell:" ))
6671 toolbar .addWidget (self .shell_combo )
@@ -69,10 +74,21 @@ def _setup_ui(self):
6974
7075 self .cwd_label = QLabel (self .working_dir )
7176 self .cwd_label .setStyleSheet ("color: #888; font-size: 10px;" )
77+ self .cwd_label .setToolTip ("Aktueller Arbeitsordner des Terminals" )
78+ self .cwd_label .setAccessibleName ("Terminal-Arbeitsordner" )
79+ self .cwd_label .setAccessibleDescription (
80+ "Zeigt den Ordner, in dem Befehle im integrierten Terminal ausgeführt werden."
81+ )
7282 toolbar .addWidget (self .cwd_label )
7383
74- btn_clear = QPushButton ("Clear " )
84+ btn_clear = QPushButton ("Leeren " )
7585 btn_clear .setFixedWidth (50 )
86+ btn_clear .setToolTip ("Terminalausgabe leeren" )
87+ btn_clear .setAccessibleName ("Terminalausgabe leeren" )
88+ btn_clear .setAccessibleDescription (
89+ "Entfernt die sichtbare Ausgabe des integrierten Terminals."
90+ )
91+ self .clear_btn = btn_clear
7692 btn_clear .clicked .connect (self .clear )
7793 toolbar .addWidget (btn_clear )
7894
@@ -81,6 +97,11 @@ def _setup_ui(self):
8197 # Output
8298 self .output = QTextEdit ()
8399 self .output .setReadOnly (True )
100+ self .output .setToolTip ("Ausgabe des integrierten Terminals" )
101+ self .output .setAccessibleName ("Terminalausgabe" )
102+ self .output .setAccessibleDescription (
103+ "Zeigt Ausgaben, Fehlermeldungen und Statuszeilen der gestarteten Shell."
104+ )
84105 self .output .setFont (QFont ("Consolas" , 10 ))
85106 self .output .setStyleSheet (
86107 "QTextEdit { background-color: #0c0c0c; color: #cccccc; border: none; }"
@@ -93,10 +114,16 @@ def _setup_ui(self):
93114
94115 self .prompt_label = QLabel (">" )
95116 self .prompt_label .setStyleSheet ("color: #4ec9b0; font-family: Consolas;" )
117+ self .prompt_label .setAccessibleName ("Terminal-Eingabeaufforderung" )
96118 input_row .addWidget (self .prompt_label )
97119
98120 self .input = TerminalInput ()
99121 self .input .setFont (QFont ("Consolas" , 10 ))
122+ self .input .setToolTip ("Befehl im integrierten Terminal eingeben" )
123+ self .input .setAccessibleName ("Terminal-Befehl" )
124+ self .input .setAccessibleDescription (
125+ "Eingabefeld für Shell-Befehle. Pfeil hoch und Pfeil runter wechseln durch die Befehlshistorie."
126+ )
100127 self .input .setStyleSheet (
101128 "QLineEdit { background: #1a1a1a; color: #cccccc; border: 1px solid #333; padding: 4px; }"
102129 )
0 commit comments