# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'settings.ui'
#
# Created by: PyQt5 UI code generator 5.15.0
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtCore , QtGui , QtWidgets
class Ui_Dialog ( object ) :
def setupUi ( self , Dialog ) :
Dialog . setObjectName ( " Dialog " )
Dialog . resize ( 626 , 387 )
self . verticalLayout = QtWidgets . QVBoxLayout ( Dialog )
self . verticalLayout . setObjectName ( " verticalLayout " )
self . SettingsTab = QtWidgets . QTabWidget ( Dialog )
self . SettingsTab . setTabPosition ( QtWidgets . QTabWidget . North )
self . SettingsTab . setTabShape ( QtWidgets . QTabWidget . Rounded )
self . SettingsTab . setObjectName ( " SettingsTab " )
self . tab_2 = QtWidgets . QWidget ( )
self . tab_2 . setObjectName ( " tab_2 " )
self . verticalLayout_3 = QtWidgets . QVBoxLayout ( self . tab_2 )
self . verticalLayout_3 . setObjectName ( " verticalLayout_3 " )
self . label_help_launcher_whitelist = QtWidgets . QLabel ( self . tab_2 )
self . label_help_launcher_whitelist . setWordWrap ( True )
self . label_help_launcher_whitelist . setObjectName ( " label_help_launcher_whitelist " )
self . verticalLayout_3 . addWidget ( self . label_help_launcher_whitelist )
self . launcherWhitelistPlainTextEdit = QtWidgets . QPlainTextEdit ( self . tab_2 )
self . launcherWhitelistPlainTextEdit . setObjectName ( " launcherWhitelistPlainTextEdit " )
self . verticalLayout_3 . addWidget ( self . launcherWhitelistPlainTextEdit )
self . label_help_launcher_blacklist = QtWidgets . QLabel ( self . tab_2 )
self . label_help_launcher_blacklist . setWordWrap ( True )
self . label_help_launcher_blacklist . setObjectName ( " label_help_launcher_blacklist " )
self . verticalLayout_3 . addWidget ( self . label_help_launcher_blacklist )
self . launcherBlacklistPlainTextEdit = QtWidgets . QPlainTextEdit ( self . tab_2 )
self . launcherBlacklistPlainTextEdit . setObjectName ( " launcherBlacklistPlainTextEdit " )
self . verticalLayout_3 . addWidget ( self . launcherBlacklistPlainTextEdit )
self . SettingsTab . addTab ( self . tab_2 , " " )
self . tab = QtWidgets . QWidget ( )
self . tab . setObjectName ( " tab " )
self . verticalLayout_2 = QtWidgets . QVBoxLayout ( self . tab )
self . verticalLayout_2 . setObjectName ( " verticalLayout_2 " )
self . label_help_programstart = QtWidgets . QLabel ( self . tab )
self . label_help_programstart . setWordWrap ( True )
self . label_help_programstart . setObjectName ( " label_help_programstart " )
self . verticalLayout_2 . addWidget ( self . label_help_programstart )
self . label_help_path_rules = QtWidgets . QLabel ( self . tab )
self . label_help_path_rules . setWordWrap ( True )
self . label_help_path_rules . setObjectName ( " label_help_path_rules " )
self . verticalLayout_2 . addWidget ( self . label_help_path_rules )
self . programPathsPlainTextEdit = QtWidgets . QPlainTextEdit ( self . tab )
self . programPathsPlainTextEdit . setObjectName ( " programPathsPlainTextEdit " )
self . verticalLayout_2 . addWidget ( self . programPathsPlainTextEdit )
self . SettingsTab . addTab ( self . tab , " " )
self . verticalLayout . addWidget ( self . SettingsTab )
self . buttonBox = QtWidgets . QDialogButtonBox ( Dialog )
self . buttonBox . setOrientation ( QtCore . Qt . Horizontal )
self . buttonBox . setStandardButtons ( QtWidgets . QDialogButtonBox . Cancel | QtWidgets . QDialogButtonBox . Ok )
self . buttonBox . setObjectName ( " buttonBox " )
self . verticalLayout . addWidget ( self . buttonBox )
self . buttonBox . raise_ ( )
self . SettingsTab . raise_ ( )
self . retranslateUi ( Dialog )
self . SettingsTab . setCurrentIndex ( 0 )
self . buttonBox . accepted . connect ( Dialog . accept )
self . buttonBox . rejected . connect ( Dialog . reject )
QtCore . QMetaObject . connectSlotsByName ( Dialog )
def retranslateUi ( self , Dialog ) :
_translate = QtCore . QCoreApplication . translate
Dialog . setWindowTitle ( _translate ( " Dialog " , " Settings " ) )
self . label_help_launcher_whitelist . setText ( _translate ( " Dialog " , " Whitelist - Add executable names (not paths) to the program launcher. One executable per line. " ) )
self . label_help_launcher_blacklist . setText ( _translate ( " Dialog " , " Blacklist - Exclude executable names (not paths) from the program launcher. One executable per line. " ) )
self . SettingsTab . setTabText ( self . SettingsTab . indexOf ( self . tab_2 ) , _translate ( " Dialog " , " Launcher " ) )
self . label_help_programstart . setText ( _translate ( " Dialog " , " For advanced users only! Add executable paths to the environment, just for Agordejo and NSM. Changes need a program restart afterwards. If you want your programs in the application launcher use the launcher tab. " ) )
self . label_help_path_rules . setText ( _translate ( " Dialog " , " Add one absolute path to a directory (e.g. /home/user/audio-bin) per line. No wildcards. Trailing slashes/ don \' t matter. " ) )
self . SettingsTab . setTabText ( self . SettingsTab . indexOf ( self . tab ) , _translate ( " Dialog " , " $PATH " ) )