mirror of
https://github.com/aidygus/LinVAM.git
synced 2024-11-30 20:38:04 +11:00
7b4ae4d3e7
- hacked profileexcutor to reload command list when changing it. it did not do that, so changing the profile had no effect at all. - hacked profileexecutor to somewhat make use of "Enable listening". It was an option without functionality at all until now. - created new directory 'voicepacks', copy HCS voicepacks here - new command to play a sound - new gui to select sounds from voicepacks - created playsound class that reads voicepack files and plays audio files with ffplay - added alternate keypress handling using xdotool, which won't require root privileges. might not work for any key existing in profiles, as some need to be remapped. added some remappings to profileexecutor.py pressKey() - added basic command line argument reading to set some configs. right now there: -noroot - will enable xdotool usage for keypresses -xdowindowid <windowid> - will send keypresses to this window only, makes it more relyable when window is not focused for any reason - added auto-detection of Elite Dangerous client window id if -noroot is used and no -xdowindowid is supplied. for this to work, start this script AFTER the client is already running. - monkey-wrenched a volume slider to the main window - added confirmation dialog for removing a profile (!) - copy existing profile. added a copy button to the main menu - properly shutdown audio recording stream - updated gitignore to ignore audio files
242 lines
5.6 KiB
XML
242 lines
5.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>SoundSelect</class>
|
|
<widget class="QGroupBox" name="SoundSelect">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>1119</width>
|
|
<height>362</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Sound selection</string>
|
|
</property>
|
|
<property name="locale">
|
|
<locale language="English" country="UnitedStates"/>
|
|
</property>
|
|
<widget class="QLabel" name="labelVoicepacks">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>30</y>
|
|
<width>111</width>
|
|
<height>17</height>
|
|
</rect>
|
|
</property>
|
|
<property name="locale">
|
|
<locale language="English" country="UnitedStates"/>
|
|
</property>
|
|
<property name="text">
|
|
<string>VoicePacks:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="labelCategories">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>160</x>
|
|
<y>30</y>
|
|
<width>111</width>
|
|
<height>17</height>
|
|
</rect>
|
|
</property>
|
|
<property name="locale">
|
|
<locale language="English" country="UnitedStates"/>
|
|
</property>
|
|
<property name="text">
|
|
<string>Categories:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QListView" name="listFiles">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>660</x>
|
|
<y>90</y>
|
|
<width>451</width>
|
|
<height>231</height>
|
|
</rect>
|
|
</property>
|
|
<property name="locale">
|
|
<locale language="English" country="UnitedStates"/>
|
|
</property>
|
|
<property name="editTriggers">
|
|
<set>QAbstractItemView::NoEditTriggers</set>
|
|
</property>
|
|
<property name="showDropIndicator" stdset="0">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="alternatingRowColors">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
<widget class="QListView" name="listCategories">
|
|
<property name="enabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>160</x>
|
|
<y>90</y>
|
|
<width>491</width>
|
|
<height>231</height>
|
|
</rect>
|
|
</property>
|
|
<property name="locale">
|
|
<locale language="English" country="UnitedStates"/>
|
|
</property>
|
|
<property name="editTriggers">
|
|
<set>QAbstractItemView::NoEditTriggers</set>
|
|
</property>
|
|
<property name="showDropIndicator" stdset="0">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="alternatingRowColors">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
<widget class="QListView" name="listVoicepacks">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>50</y>
|
|
<width>141</width>
|
|
<height>271</height>
|
|
</rect>
|
|
</property>
|
|
<property name="locale">
|
|
<locale language="English" country="UnitedStates"/>
|
|
</property>
|
|
<property name="editTriggers">
|
|
<set>QAbstractItemView::NoEditTriggers</set>
|
|
</property>
|
|
<property name="showDropIndicator" stdset="0">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="alternatingRowColors">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="labelFiles">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>660</x>
|
|
<y>30</y>
|
|
<width>111</width>
|
|
<height>17</height>
|
|
</rect>
|
|
</property>
|
|
<property name="locale">
|
|
<locale language="English" country="UnitedStates"/>
|
|
</property>
|
|
<property name="text">
|
|
<string>Voice files:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="buttonOkay">
|
|
<property name="enabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>940</x>
|
|
<y>330</y>
|
|
<width>80</width>
|
|
<height>25</height>
|
|
</rect>
|
|
</property>
|
|
<property name="locale">
|
|
<locale language="English" country="UnitedStates"/>
|
|
</property>
|
|
<property name="text">
|
|
<string>Ok</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="buttonCancel">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>1030</x>
|
|
<y>330</y>
|
|
<width>80</width>
|
|
<height>25</height>
|
|
</rect>
|
|
</property>
|
|
<property name="locale">
|
|
<locale language="English" country="UnitedStates"/>
|
|
</property>
|
|
<property name="text">
|
|
<string>Cancel</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPlainTextEdit" name="filterCategories">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>160</x>
|
|
<y>50</y>
|
|
<width>491</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Filter categories</string>
|
|
</property>
|
|
<property name="statusTip">
|
|
<string>Filter</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPlainTextEdit" name="filterFiles">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>660</x>
|
|
<y>50</y>
|
|
<width>451</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Filter voice files</string>
|
|
</property>
|
|
<property name="statusTip">
|
|
<string>Filter</string>
|
|
</property>
|
|
<property name="plainText">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="buttonPlaySound">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>410</x>
|
|
<y>330</y>
|
|
<width>80</width>
|
|
<height>25</height>
|
|
</rect>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string/>
|
|
</property>
|
|
<property name="text">
|
|
<string>Play Sound</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="buttonStopSound">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>500</x>
|
|
<y>330</y>
|
|
<width>80</width>
|
|
<height>25</height>
|
|
</rect>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string/>
|
|
</property>
|
|
<property name="text">
|
|
<string>Stop Sound</string>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|