@@ -11,12 +11,44 @@ all: build | |||
build: UI RES LANG | |||
UI: tools | |||
UI: catarina tools | |||
catarina: src/ui_catarina.py \ | |||
src/ui_catarina_addgroup.py src/ui_catarina_removegroup.py src/ui_catarina_renamegroup.py \ | |||
src/ui_catarina_addport.py src/ui_catarina_removeport.py src/ui_catarina_renameport.py \ | |||
src/ui_catarina_connectports.py src/ui_catarina_disconnectports.py | |||
tools: \ | |||
src/ui_logs.py src/ui_render.py src/ui_xycontroller.py \ | |||
src/ui_settings_jack.py | |||
src/ui_catarina.py: src/ui/catarina.ui | |||
$(PYUIC) -o src/ui_catarina.py $< | |||
src/ui_catarina_addgroup.py: src/ui/catarina_addgroup.ui | |||
$(PYUIC) -o src/ui_catarina_addgroup.py $< | |||
src/ui_catarina_removegroup.py: src/ui/catarina_removegroup.ui | |||
$(PYUIC) -o src/ui_catarina_removegroup.py $< | |||
src/ui_catarina_renamegroup.py: src/ui/catarina_renamegroup.ui | |||
$(PYUIC) -o src/ui_catarina_renamegroup.py $< | |||
src/ui_catarina_addport.py: src/ui/catarina_addport.ui | |||
$(PYUIC) -o src/ui_catarina_addport.py $< | |||
src/ui_catarina_removeport.py: src/ui/catarina_removeport.ui | |||
$(PYUIC) -o src/ui_catarina_removeport.py $< | |||
src/ui_catarina_renameport.py: src/ui/catarina_renameport.ui | |||
$(PYUIC) -o src/ui_catarina_renameport.py $< | |||
src/ui_catarina_connectports.py: src/ui/catarina_connectports.ui | |||
$(PYUIC) -o src/ui_catarina_connectports.py $< | |||
src/ui_catarina_disconnectports.py: src/ui/catarina_disconnectports.ui | |||
$(PYUIC) -o src/ui_catarina_disconnectports.py $< | |||
src/ui_logs.py: src/ui/logs.ui | |||
$(PYUIC) -o src/ui_logs.py $< | |||
@@ -10,6 +10,7 @@ | |||
<file>48x48/media-record.png</file> | |||
<file>scalable/catarina.svg</file> | |||
<file>scalable/jack.svg</file> | |||
<file>bitmaps/dial_01.png</file> | |||
@@ -0,0 +1,798 @@ | |||
<?xml version="1.0" encoding="UTF-8"?> | |||
<ui version="4.0"> | |||
<class>CatarinaMainW</class> | |||
<widget class="QMainWindow" name="CatarinaMainW"> | |||
<property name="geometry"> | |||
<rect> | |||
<x>0</x> | |||
<y>0</y> | |||
<width>651</width> | |||
<height>487</height> | |||
</rect> | |||
</property> | |||
<property name="windowTitle"> | |||
<string>Catarina</string> | |||
</property> | |||
<widget class="QWidget" name="centralwidget"> | |||
<layout class="QVBoxLayout" name="verticalLayout"> | |||
<item> | |||
<widget class="QFrame" name="frame_toolbar"> | |||
<layout class="QHBoxLayout" name="horizontalLayout_3"> | |||
<property name="spacing"> | |||
<number>4</number> | |||
</property> | |||
<property name="margin"> | |||
<number>0</number> | |||
</property> | |||
<item> | |||
<widget class="QGroupBox" name="group_project"> | |||
<property name="title"> | |||
<string>Project</string> | |||
</property> | |||
<layout class="QHBoxLayout" name="horizontalLayout"> | |||
<item> | |||
<widget class="QPushButton" name="b_project_new"> | |||
<property name="maximumSize"> | |||
<size> | |||
<width>23</width> | |||
<height>16777215</height> | |||
</size> | |||
</property> | |||
<property name="toolTip"> | |||
<string>New Project</string> | |||
</property> | |||
<property name="text"> | |||
<string/> | |||
</property> | |||
<property name="icon"> | |||
<iconset resource="../icons/icons.qrc"> | |||
<normaloff>:/16x16/document-new.png</normaloff>:/16x16/document-new.png</iconset> | |||
</property> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QPushButton" name="b_project_open"> | |||
<property name="maximumSize"> | |||
<size> | |||
<width>23</width> | |||
<height>16777215</height> | |||
</size> | |||
</property> | |||
<property name="toolTip"> | |||
<string>Open Project</string> | |||
</property> | |||
<property name="text"> | |||
<string/> | |||
</property> | |||
<property name="icon"> | |||
<iconset resource="../icons/icons.qrc"> | |||
<normaloff>:/16x16/document-open.png</normaloff>:/16x16/document-open.png</iconset> | |||
</property> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QPushButton" name="b_project_save"> | |||
<property name="maximumSize"> | |||
<size> | |||
<width>23</width> | |||
<height>16777215</height> | |||
</size> | |||
</property> | |||
<property name="toolTip"> | |||
<string>Save Project</string> | |||
</property> | |||
<property name="text"> | |||
<string/> | |||
</property> | |||
<property name="icon"> | |||
<iconset resource="../icons/icons.qrc"> | |||
<normaloff>:/16x16/document-save.png</normaloff>:/16x16/document-save.png</iconset> | |||
</property> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QPushButton" name="b_project_save_as"> | |||
<property name="maximumSize"> | |||
<size> | |||
<width>23</width> | |||
<height>16777215</height> | |||
</size> | |||
</property> | |||
<property name="toolTip"> | |||
<string>Save Project As</string> | |||
</property> | |||
<property name="text"> | |||
<string/> | |||
</property> | |||
<property name="icon"> | |||
<iconset resource="../icons/icons.qrc"> | |||
<normaloff>:/16x16/document-save-as.png</normaloff>:/16x16/document-save-as.png</iconset> | |||
</property> | |||
</widget> | |||
</item> | |||
</layout> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QGroupBox" name="group_patchbay"> | |||
<property name="title"> | |||
<string>Patchbay</string> | |||
</property> | |||
<layout class="QHBoxLayout" name="horizontalLayout_2"> | |||
<item> | |||
<widget class="QPushButton" name="b_group_add"> | |||
<property name="maximumSize"> | |||
<size> | |||
<width>23</width> | |||
<height>16777215</height> | |||
</size> | |||
</property> | |||
<property name="toolTip"> | |||
<string>Add Group</string> | |||
</property> | |||
<property name="text"> | |||
<string/> | |||
</property> | |||
<property name="icon"> | |||
<iconset resource="../icons/icons.qrc"> | |||
<normaloff>:/16x16/list-add.png</normaloff>:/16x16/list-add.png</iconset> | |||
</property> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QPushButton" name="b_group_remove"> | |||
<property name="maximumSize"> | |||
<size> | |||
<width>23</width> | |||
<height>16777215</height> | |||
</size> | |||
</property> | |||
<property name="toolTip"> | |||
<string>Remove Group</string> | |||
</property> | |||
<property name="text"> | |||
<string/> | |||
</property> | |||
<property name="icon"> | |||
<iconset resource="../icons/icons.qrc"> | |||
<normaloff>:/16x16/edit-delete.png</normaloff>:/16x16/edit-delete.png</iconset> | |||
</property> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QPushButton" name="b_group_rename"> | |||
<property name="maximumSize"> | |||
<size> | |||
<width>23</width> | |||
<height>16777215</height> | |||
</size> | |||
</property> | |||
<property name="toolTip"> | |||
<string>Rename Group</string> | |||
</property> | |||
<property name="text"> | |||
<string/> | |||
</property> | |||
<property name="icon"> | |||
<iconset resource="../icons/icons.qrc"> | |||
<normaloff>:/16x16/edit-rename.png</normaloff>:/16x16/edit-rename.png</iconset> | |||
</property> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="Line" name="line"> | |||
<property name="orientation"> | |||
<enum>Qt::Vertical</enum> | |||
</property> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QPushButton" name="b_port_add"> | |||
<property name="maximumSize"> | |||
<size> | |||
<width>23</width> | |||
<height>16777215</height> | |||
</size> | |||
</property> | |||
<property name="toolTip"> | |||
<string>Add Port</string> | |||
</property> | |||
<property name="text"> | |||
<string/> | |||
</property> | |||
<property name="icon"> | |||
<iconset resource="../icons/icons.qrc"> | |||
<normaloff>:/16x16/list-add.png</normaloff>:/16x16/list-add.png</iconset> | |||
</property> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QPushButton" name="b_port_remove"> | |||
<property name="maximumSize"> | |||
<size> | |||
<width>23</width> | |||
<height>16777215</height> | |||
</size> | |||
</property> | |||
<property name="toolTip"> | |||
<string>Remove Port</string> | |||
</property> | |||
<property name="text"> | |||
<string/> | |||
</property> | |||
<property name="icon"> | |||
<iconset resource="../icons/icons.qrc"> | |||
<normaloff>:/16x16/list-remove.png</normaloff>:/16x16/list-remove.png</iconset> | |||
</property> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QPushButton" name="b_port_rename"> | |||
<property name="maximumSize"> | |||
<size> | |||
<width>23</width> | |||
<height>16777215</height> | |||
</size> | |||
</property> | |||
<property name="toolTip"> | |||
<string>Rename Port</string> | |||
</property> | |||
<property name="text"> | |||
<string/> | |||
</property> | |||
<property name="icon"> | |||
<iconset resource="../icons/icons.qrc"> | |||
<normaloff>:/16x16/edit-rename.png</normaloff>:/16x16/edit-rename.png</iconset> | |||
</property> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="Line" name="line_2"> | |||
<property name="orientation"> | |||
<enum>Qt::Vertical</enum> | |||
</property> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QPushButton" name="b_ports_connect"> | |||
<property name="maximumSize"> | |||
<size> | |||
<width>23</width> | |||
<height>16777215</height> | |||
</size> | |||
</property> | |||
<property name="toolTip"> | |||
<string>Connect Ports</string> | |||
</property> | |||
<property name="text"> | |||
<string/> | |||
</property> | |||
<property name="icon"> | |||
<iconset resource="../icons/icons.qrc"> | |||
<normaloff>:/16x16/network-connect.png</normaloff>:/16x16/network-connect.png</iconset> | |||
</property> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QPushButton" name="b_ports_disconnect"> | |||
<property name="maximumSize"> | |||
<size> | |||
<width>23</width> | |||
<height>16777215</height> | |||
</size> | |||
</property> | |||
<property name="toolTip"> | |||
<string>Disconnect Ports</string> | |||
</property> | |||
<property name="text"> | |||
<string/> | |||
</property> | |||
<property name="icon"> | |||
<iconset resource="../icons/icons.qrc"> | |||
<normaloff>:/16x16/network-disconnect.png</normaloff>:/16x16/network-disconnect.png</iconset> | |||
</property> | |||
</widget> | |||
</item> | |||
</layout> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QGroupBox" name="group_canvas"> | |||
<property name="title"> | |||
<string>Canvas</string> | |||
</property> | |||
<layout class="QHBoxLayout" name="horizontalLayout_4"> | |||
<item> | |||
<widget class="QPushButton" name="b_canvas_zoom_fit"> | |||
<property name="maximumSize"> | |||
<size> | |||
<width>23</width> | |||
<height>16777215</height> | |||
</size> | |||
</property> | |||
<property name="toolTip"> | |||
<string>Zoom Auto-Fit</string> | |||
</property> | |||
<property name="text"> | |||
<string/> | |||
</property> | |||
<property name="icon"> | |||
<iconset resource="../icons/icons.qrc"> | |||
<normaloff>:/16x16/zoom-fit-best.png</normaloff>:/16x16/zoom-fit-best.png</iconset> | |||
</property> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QPushButton" name="b_canvas_zoom_in"> | |||
<property name="maximumSize"> | |||
<size> | |||
<width>23</width> | |||
<height>16777215</height> | |||
</size> | |||
</property> | |||
<property name="toolTip"> | |||
<string>Zoom In</string> | |||
</property> | |||
<property name="text"> | |||
<string/> | |||
</property> | |||
<property name="icon"> | |||
<iconset resource="../icons/icons.qrc"> | |||
<normaloff>:/16x16/zoom-in.png</normaloff>:/16x16/zoom-in.png</iconset> | |||
</property> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QPushButton" name="b_canvas_zoom_out"> | |||
<property name="maximumSize"> | |||
<size> | |||
<width>23</width> | |||
<height>16777215</height> | |||
</size> | |||
</property> | |||
<property name="toolTip"> | |||
<string>Zoom Out</string> | |||
</property> | |||
<property name="text"> | |||
<string/> | |||
</property> | |||
<property name="icon"> | |||
<iconset resource="../icons/icons.qrc"> | |||
<normaloff>:/16x16/zoom-out.png</normaloff>:/16x16/zoom-out.png</iconset> | |||
</property> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QPushButton" name="b_canvas_zoom_100"> | |||
<property name="maximumSize"> | |||
<size> | |||
<width>23</width> | |||
<height>16777215</height> | |||
</size> | |||
</property> | |||
<property name="toolTip"> | |||
<string>Zoom 100%</string> | |||
</property> | |||
<property name="text"> | |||
<string/> | |||
</property> | |||
<property name="icon"> | |||
<iconset resource="../icons/icons.qrc"> | |||
<normaloff>:/16x16/zoom-original.png</normaloff>:/16x16/zoom-original.png</iconset> | |||
</property> | |||
</widget> | |||
</item> | |||
</layout> | |||
</widget> | |||
</item> | |||
<item> | |||
<spacer name="horizontalSpacer"> | |||
<property name="orientation"> | |||
<enum>Qt::Horizontal</enum> | |||
</property> | |||
<property name="sizeHint" stdset="0"> | |||
<size> | |||
<width>163</width> | |||
<height>20</height> | |||
</size> | |||
</property> | |||
</spacer> | |||
</item> | |||
</layout> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QGraphicsView" name="graphicsView"> | |||
<property name="verticalScrollBarPolicy"> | |||
<enum>Qt::ScrollBarAlwaysOn</enum> | |||
</property> | |||
<property name="horizontalScrollBarPolicy"> | |||
<enum>Qt::ScrollBarAlwaysOn</enum> | |||
</property> | |||
</widget> | |||
</item> | |||
</layout> | |||
</widget> | |||
<widget class="QMenuBar" name="menubar"> | |||
<property name="geometry"> | |||
<rect> | |||
<x>0</x> | |||
<y>0</y> | |||
<width>651</width> | |||
<height>21</height> | |||
</rect> | |||
</property> | |||
<widget class="QMenu" name="menu_File"> | |||
<property name="title"> | |||
<string>&File</string> | |||
</property> | |||
<addaction name="act_project_new"/> | |||
<addaction name="act_project_open"/> | |||
<addaction name="separator"/> | |||
<addaction name="act_project_save"/> | |||
<addaction name="act_project_save_as"/> | |||
<addaction name="separator"/> | |||
<addaction name="act_quit"/> | |||
</widget> | |||
<widget class="QMenu" name="menu_Patchbay"> | |||
<property name="title"> | |||
<string>&Patchbay</string> | |||
</property> | |||
<addaction name="act_patchbay_add_group"/> | |||
<addaction name="act_patchbay_remove_group"/> | |||
<addaction name="act_patchbay_rename_group"/> | |||
<addaction name="separator"/> | |||
<addaction name="act_patchbay_add_port"/> | |||
<addaction name="act_patchbay_remove_port"/> | |||
<addaction name="act_patchbay_rename_port"/> | |||
<addaction name="separator"/> | |||
<addaction name="act_patchbay_connect_ports"/> | |||
<addaction name="act_patchbay_disconnect_ports"/> | |||
</widget> | |||
<widget class="QMenu" name="menu_Settings"> | |||
<property name="title"> | |||
<string>&Settings</string> | |||
</property> | |||
<addaction name="act_settings_show_toolbar"/> | |||
<addaction name="separator"/> | |||
<addaction name="act_settings_configure"/> | |||
</widget> | |||
<widget class="QMenu" name="menu_About"> | |||
<property name="title"> | |||
<string>&About</string> | |||
</property> | |||
<addaction name="act_help_about"/> | |||
<addaction name="act_help_about_qt"/> | |||
</widget> | |||
<widget class="QMenu" name="menu_Canvas"> | |||
<property name="title"> | |||
<string>&Canvas</string> | |||
</property> | |||
<widget class="QMenu" name="menu_Zoom"> | |||
<property name="title"> | |||
<string>Zoom</string> | |||
</property> | |||
<addaction name="act_canvas_zoom_fit"/> | |||
<addaction name="separator"/> | |||
<addaction name="act_canvas_zoom_in"/> | |||
<addaction name="act_canvas_zoom_out"/> | |||
<addaction name="act_canvas_zoom_100"/> | |||
</widget> | |||
<addaction name="act_canvas_arrange"/> | |||
<addaction name="act_canvas_refresh"/> | |||
<addaction name="separator"/> | |||
<addaction name="menu_Zoom"/> | |||
<addaction name="separator"/> | |||
<addaction name="act_canvas_print"/> | |||
<addaction name="act_canvas_save_image"/> | |||
</widget> | |||
<addaction name="menu_File"/> | |||
<addaction name="menu_Patchbay"/> | |||
<addaction name="menu_Canvas"/> | |||
<addaction name="menu_Settings"/> | |||
<addaction name="menu_About"/> | |||
</widget> | |||
<action name="act_save"> | |||
<property name="icon"> | |||
<iconset resource="../icons/icons.qrc"> | |||
<normaloff>:/16x16/document-save.png</normaloff>:/16x16/document-save.png</iconset> | |||
</property> | |||
<property name="text"> | |||
<string>&Save Positions</string> | |||
</property> | |||
<property name="shortcut"> | |||
<string>Ctrl+S</string> | |||
</property> | |||
</action> | |||
<action name="act_quit"> | |||
<property name="icon"> | |||
<iconset resource="../icons/icons.qrc"> | |||
<normaloff>:/16x16/application-exit.png</normaloff>:/16x16/application-exit.png</iconset> | |||
</property> | |||
<property name="text"> | |||
<string>&Quit</string> | |||
</property> | |||
<property name="shortcut"> | |||
<string>Ctrl+Q</string> | |||
</property> | |||
</action> | |||
<action name="act_patchbay_add_group"> | |||
<property name="icon"> | |||
<iconset resource="../icons/icons.qrc"> | |||
<normaloff>:/16x16/list-add.png</normaloff>:/16x16/list-add.png</iconset> | |||
</property> | |||
<property name="text"> | |||
<string>Add Group...</string> | |||
</property> | |||
</action> | |||
<action name="act_patchbay_remove_group"> | |||
<property name="icon"> | |||
<iconset resource="../icons/icons.qrc"> | |||
<normaloff>:/16x16/edit-delete.png</normaloff>:/16x16/edit-delete.png</iconset> | |||
</property> | |||
<property name="text"> | |||
<string>Remove Group...</string> | |||
</property> | |||
</action> | |||
<action name="act_patchbay_add_port"> | |||
<property name="icon"> | |||
<iconset resource="../icons/icons.qrc"> | |||
<normaloff>:/16x16/list-add.png</normaloff>:/16x16/list-add.png</iconset> | |||
</property> | |||
<property name="text"> | |||
<string>Add Port...</string> | |||
</property> | |||
</action> | |||
<action name="act_patchbay_remove_port"> | |||
<property name="icon"> | |||
<iconset resource="../icons/icons.qrc"> | |||
<normaloff>:/16x16/list-remove.png</normaloff>:/16x16/list-remove.png</iconset> | |||
</property> | |||
<property name="text"> | |||
<string>Remove Port...</string> | |||
</property> | |||
</action> | |||
<action name="act_patchbay_rename_port"> | |||
<property name="icon"> | |||
<iconset resource="../icons/icons.qrc"> | |||
<normaloff>:/16x16/edit-rename.png</normaloff>:/16x16/edit-rename.png</iconset> | |||
</property> | |||
<property name="text"> | |||
<string>Rename Port...</string> | |||
</property> | |||
</action> | |||
<action name="act_patchbay_connect_ports"> | |||
<property name="icon"> | |||
<iconset resource="../icons/icons.qrc"> | |||
<normaloff>:/16x16/network-connect.png</normaloff>:/16x16/network-connect.png</iconset> | |||
</property> | |||
<property name="text"> | |||
<string>&Connect Ports...</string> | |||
</property> | |||
</action> | |||
<action name="act_patchbay_disconnect_ports"> | |||
<property name="icon"> | |||
<iconset resource="../icons/icons.qrc"> | |||
<normaloff>:/16x16/network-disconnect.png</normaloff>:/16x16/network-disconnect.png</iconset> | |||
</property> | |||
<property name="text"> | |||
<string>&Disconnect Ports...</string> | |||
</property> | |||
</action> | |||
<action name="act_canvas_refresh"> | |||
<property name="icon"> | |||
<iconset resource="../icons/icons.qrc"> | |||
<normaloff>:/16x16/view-refresh.png</normaloff>:/16x16/view-refresh.png</iconset> | |||
</property> | |||
<property name="text"> | |||
<string>&Refresh</string> | |||
</property> | |||
<property name="shortcut"> | |||
<string>Ctrl+R</string> | |||
</property> | |||
</action> | |||
<action name="act_canvas_zoom_fit"> | |||
<property name="icon"> | |||
<iconset resource="../icons/icons.qrc"> | |||
<normaloff>:/16x16/zoom-fit-best.png</normaloff>:/16x16/zoom-fit-best.png</iconset> | |||
</property> | |||
<property name="text"> | |||
<string>Auto-Fit</string> | |||
</property> | |||
</action> | |||
<action name="act_canvas_zoom_100"> | |||
<property name="icon"> | |||
<iconset resource="../icons/icons.qrc"> | |||
<normaloff>:/16x16/zoom-original.png</normaloff>:/16x16/zoom-original.png</iconset> | |||
</property> | |||
<property name="text"> | |||
<string>Zoom 100%</string> | |||
</property> | |||
<property name="shortcut"> | |||
<string>Ctrl+1</string> | |||
</property> | |||
</action> | |||
<action name="act_canvas_zoom_out"> | |||
<property name="icon"> | |||
<iconset resource="../icons/icons.qrc"> | |||
<normaloff>:/16x16/zoom-out.png</normaloff>:/16x16/zoom-out.png</iconset> | |||
</property> | |||
<property name="text"> | |||
<string>Zoom Out</string> | |||
</property> | |||
<property name="shortcut"> | |||
<string>Ctrl+-</string> | |||
</property> | |||
</action> | |||
<action name="act_canvas_zoom_in"> | |||
<property name="icon"> | |||
<iconset resource="../icons/icons.qrc"> | |||
<normaloff>:/16x16/zoom-in.png</normaloff>:/16x16/zoom-in.png</iconset> | |||
</property> | |||
<property name="text"> | |||
<string>Zoom In</string> | |||
</property> | |||
<property name="shortcut"> | |||
<string>Ctrl++</string> | |||
</property> | |||
</action> | |||
<action name="act_settings_show_toolbar"> | |||
<property name="checkable"> | |||
<bool>true</bool> | |||
</property> | |||
<property name="text"> | |||
<string>Show Toolbar</string> | |||
</property> | |||
</action> | |||
<action name="act_help_about_qt"> | |||
<property name="text"> | |||
<string>About Qt</string> | |||
</property> | |||
</action> | |||
<action name="act_help_about"> | |||
<property name="text"> | |||
<string>About Catarina</string> | |||
</property> | |||
</action> | |||
<action name="act_show_patchbay_toolbar"> | |||
<property name="checkable"> | |||
<bool>true</bool> | |||
</property> | |||
<property name="text"> | |||
<string>Show Patchbay Toolbar</string> | |||
</property> | |||
</action> | |||
<action name="act_canvas_arrange"> | |||
<property name="icon"> | |||
<iconset resource="../icons/icons.qrc"> | |||
<normaloff>:/16x16/view-sort-ascending.png</normaloff>:/16x16/view-sort-ascending.png</iconset> | |||
</property> | |||
<property name="text"> | |||
<string>&Arrange</string> | |||
</property> | |||
<property name="shortcut"> | |||
<string>Ctrl+G</string> | |||
</property> | |||
</action> | |||
<action name="act_canvas_print"> | |||
<property name="icon"> | |||
<iconset resource="../icons/icons.qrc"> | |||
<normaloff>:/16x16/document-print.png</normaloff>:/16x16/document-print.png</iconset> | |||
</property> | |||
<property name="text"> | |||
<string>Print...</string> | |||
</property> | |||
</action> | |||
<action name="act_canvas_save_image"> | |||
<property name="text"> | |||
<string>Save Image...</string> | |||
</property> | |||
</action> | |||
<action name="act_settings_configure"> | |||
<property name="icon"> | |||
<iconset resource="../icons/icons.qrc"> | |||
<normaloff>:/16x16/configure.png</normaloff>:/16x16/configure.png</iconset> | |||
</property> | |||
<property name="text"> | |||
<string>Configure Catarina</string> | |||
</property> | |||
<property name="shortcut"> | |||
<string>Ctrl+P</string> | |||
</property> | |||
</action> | |||
<action name="act_project_new"> | |||
<property name="icon"> | |||
<iconset resource="../icons/icons.qrc"> | |||
<normaloff>:/16x16/document-new.png</normaloff>:/16x16/document-new.png</iconset> | |||
</property> | |||
<property name="text"> | |||
<string>&New</string> | |||
</property> | |||
<property name="shortcut"> | |||
<string>Ctrl+N</string> | |||
</property> | |||
</action> | |||
<action name="act_project_open"> | |||
<property name="icon"> | |||
<iconset resource="../icons/icons.qrc"> | |||
<normaloff>:/16x16/document-open.png</normaloff>:/16x16/document-open.png</iconset> | |||
</property> | |||
<property name="text"> | |||
<string>&Open...</string> | |||
</property> | |||
<property name="shortcut"> | |||
<string>Ctrl+O</string> | |||
</property> | |||
</action> | |||
<action name="act_project_save"> | |||
<property name="icon"> | |||
<iconset resource="../icons/icons.qrc"> | |||
<normaloff>:/16x16/document-save.png</normaloff>:/16x16/document-save.png</iconset> | |||
</property> | |||
<property name="text"> | |||
<string>&Save</string> | |||
</property> | |||
<property name="shortcut"> | |||
<string>Ctrl+S</string> | |||
</property> | |||
</action> | |||
<action name="act_project_save_as"> | |||
<property name="icon"> | |||
<iconset resource="../icons/icons.qrc"> | |||
<normaloff>:/16x16/document-save-as.png</normaloff>:/16x16/document-save-as.png</iconset> | |||
</property> | |||
<property name="text"> | |||
<string>Save &As...</string> | |||
</property> | |||
<property name="shortcut"> | |||
<string>Ctrl+Shift+S</string> | |||
</property> | |||
</action> | |||
<action name="act_patchbay_rename_group"> | |||
<property name="icon"> | |||
<iconset resource="../icons/icons.qrc"> | |||
<normaloff>:/16x16/edit-rename.png</normaloff>:/16x16/edit-rename.png</iconset> | |||
</property> | |||
<property name="text"> | |||
<string>Rename Group...</string> | |||
</property> | |||
</action> | |||
</widget> | |||
<resources> | |||
<include location="../icons/icons.qrc"/> | |||
</resources> | |||
<connections> | |||
<connection> | |||
<sender>act_quit</sender> | |||
<signal>triggered()</signal> | |||
<receiver>CatarinaMainW</receiver> | |||
<slot>close()</slot> | |||
<hints> | |||
<hint type="sourcelabel"> | |||
<x>-1</x> | |||
<y>-1</y> | |||
</hint> | |||
<hint type="destinationlabel"> | |||
<x>325</x> | |||
<y>243</y> | |||
</hint> | |||
</hints> | |||
</connection> | |||
<connection> | |||
<sender>act_settings_show_toolbar</sender> | |||
<signal>toggled(bool)</signal> | |||
<receiver>frame_toolbar</receiver> | |||
<slot>setVisible(bool)</slot> | |||
<hints> | |||
<hint type="sourcelabel"> | |||
<x>-1</x> | |||
<y>-1</y> | |||
</hint> | |||
<hint type="destinationlabel"> | |||
<x>325</x> | |||
<y>60</y> | |||
</hint> | |||
</hints> | |||
</connection> | |||
</connections> | |||
</ui> |
@@ -0,0 +1,94 @@ | |||
<?xml version="1.0" encoding="UTF-8"?> | |||
<ui version="4.0"> | |||
<class>CatarinaAddGroupW</class> | |||
<widget class="QDialog" name="CatarinaAddGroupW"> | |||
<property name="geometry"> | |||
<rect> | |||
<x>0</x> | |||
<y>0</y> | |||
<width>302</width> | |||
<height>144</height> | |||
</rect> | |||
</property> | |||
<property name="windowTitle"> | |||
<string>Add Group</string> | |||
</property> | |||
<layout class="QVBoxLayout" name="verticalLayout_2"> | |||
<item> | |||
<widget class="QGroupBox" name="groupBox"> | |||
<property name="title"> | |||
<string>New Group</string> | |||
</property> | |||
<layout class="QVBoxLayout" name="verticalLayout"> | |||
<item> | |||
<layout class="QHBoxLayout" name="horizontalLayout"> | |||
<item> | |||
<widget class="QLabel" name="label"> | |||
<property name="text"> | |||
<string>Group Name:</string> | |||
</property> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QLineEdit" name="le_group_name"/> | |||
</item> | |||
</layout> | |||
</item> | |||
<item> | |||
<widget class="QCheckBox" name="cb_split"> | |||
<property name="text"> | |||
<string>Hardware Mode (Split Input/Outputs)</string> | |||
</property> | |||
</widget> | |||
</item> | |||
</layout> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QDialogButtonBox" name="buttonBox"> | |||
<property name="orientation"> | |||
<enum>Qt::Horizontal</enum> | |||
</property> | |||
<property name="standardButtons"> | |||
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> | |||
</property> | |||
</widget> | |||
</item> | |||
</layout> | |||
</widget> | |||
<resources/> | |||
<connections> | |||
<connection> | |||
<sender>buttonBox</sender> | |||
<signal>accepted()</signal> | |||
<receiver>CatarinaAddGroupW</receiver> | |||
<slot>accept()</slot> | |||
<hints> | |||
<hint type="sourcelabel"> | |||
<x>248</x> | |||
<y>254</y> | |||
</hint> | |||
<hint type="destinationlabel"> | |||
<x>157</x> | |||
<y>274</y> | |||
</hint> | |||
</hints> | |||
</connection> | |||
<connection> | |||
<sender>buttonBox</sender> | |||
<signal>rejected()</signal> | |||
<receiver>CatarinaAddGroupW</receiver> | |||
<slot>reject()</slot> | |||
<hints> | |||
<hint type="sourcelabel"> | |||
<x>316</x> | |||
<y>260</y> | |||
</hint> | |||
<hint type="destinationlabel"> | |||
<x>286</x> | |||
<y>274</y> | |||
</hint> | |||
</hints> | |||
</connection> | |||
</connections> | |||
</ui> |
@@ -0,0 +1,217 @@ | |||
<?xml version="1.0" encoding="UTF-8"?> | |||
<ui version="4.0"> | |||
<class>CatarinaAddPortW</class> | |||
<widget class="QDialog" name="CatarinaAddPortW"> | |||
<property name="geometry"> | |||
<rect> | |||
<x>0</x> | |||
<y>0</y> | |||
<width>273</width> | |||
<height>424</height> | |||
</rect> | |||
</property> | |||
<property name="windowTitle"> | |||
<string>Add Port</string> | |||
</property> | |||
<layout class="QVBoxLayout" name="verticalLayout_2"> | |||
<item> | |||
<widget class="QGroupBox" name="groupBox_3"> | |||
<property name="title"> | |||
<string>Parent</string> | |||
</property> | |||
<layout class="QHBoxLayout" name="horizontalLayout"> | |||
<item> | |||
<widget class="QLabel" name="label_4"> | |||
<property name="text"> | |||
<string>Port Group:</string> | |||
</property> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QComboBox" name="cb_group"/> | |||
</item> | |||
</layout> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QGroupBox" name="groupBox_2"> | |||
<property name="title"> | |||
<string>Port Info</string> | |||
</property> | |||
<layout class="QGridLayout" name="gridLayout"> | |||
<item row="0" column="0"> | |||
<widget class="QLabel" name="label"> | |||
<property name="text"> | |||
<string>Port ID:</string> | |||
</property> | |||
</widget> | |||
</item> | |||
<item row="0" column="1"> | |||
<widget class="QSpinBox" name="sb_port_id"> | |||
<property name="readOnly"> | |||
<bool>true</bool> | |||
</property> | |||
<property name="maximum"> | |||
<number>9999</number> | |||
</property> | |||
</widget> | |||
</item> | |||
<item row="1" column="0"> | |||
<widget class="QLabel" name="label_2"> | |||
<property name="text"> | |||
<string>Port Name</string> | |||
</property> | |||
</widget> | |||
</item> | |||
<item row="1" column="1"> | |||
<widget class="QLineEdit" name="le_port_name"/> | |||
</item> | |||
<item row="2" column="0"> | |||
<widget class="QLabel" name="label_3"> | |||
<property name="text"> | |||
<string>Port Type:</string> | |||
</property> | |||
</widget> | |||
</item> | |||
<item row="2" column="1"> | |||
<widget class="QComboBox" name="cb_port_type"> | |||
<item> | |||
<property name="text"> | |||
<string>JACK Audio</string> | |||
</property> | |||
</item> | |||
<item> | |||
<property name="text"> | |||
<string>JACK MIDI</string> | |||
</property> | |||
</item> | |||
<item> | |||
<property name="text"> | |||
<string>A2J MIDI</string> | |||
</property> | |||
</item> | |||
<item> | |||
<property name="text"> | |||
<string>ALSA MIDI</string> | |||
</property> | |||
</item> | |||
</widget> | |||
</item> | |||
</layout> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QGroupBox" name="groupBox"> | |||
<property name="title"> | |||
<string>Port Flags</string> | |||
</property> | |||
<layout class="QVBoxLayout" name="verticalLayout"> | |||
<item> | |||
<widget class="QRadioButton" name="rb_flags_input"> | |||
<property name="text"> | |||
<string>Input</string> | |||
</property> | |||
<property name="checked"> | |||
<bool>true</bool> | |||
</property> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QRadioButton" name="rb_flags_output"> | |||
<property name="text"> | |||
<string>Output</string> | |||
</property> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QCheckBox" name="cb_flags_physical"> | |||
<property name="text"> | |||
<string>Physical</string> | |||
</property> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QCheckBox" name="checkBox_2"> | |||
<property name="text"> | |||
<string>Can Monitor</string> | |||
</property> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QCheckBox" name="checkBox_3"> | |||
<property name="text"> | |||
<string>Terminal</string> | |||
</property> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QCheckBox" name="checkBox_4"> | |||
<property name="text"> | |||
<string>Active</string> | |||
</property> | |||
</widget> | |||
</item> | |||
</layout> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QDialogButtonBox" name="buttonBox"> | |||
<property name="orientation"> | |||
<enum>Qt::Horizontal</enum> | |||
</property> | |||
<property name="standardButtons"> | |||
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> | |||
</property> | |||
</widget> | |||
</item> | |||
</layout> | |||
</widget> | |||
<tabstops> | |||
<tabstop>le_port_name</tabstop> | |||
<tabstop>cb_port_type</tabstop> | |||
<tabstop>rb_flags_input</tabstop> | |||
<tabstop>rb_flags_output</tabstop> | |||
<tabstop>cb_flags_physical</tabstop> | |||
<tabstop>checkBox_2</tabstop> | |||
<tabstop>checkBox_3</tabstop> | |||
<tabstop>checkBox_4</tabstop> | |||
<tabstop>cb_group</tabstop> | |||
<tabstop>sb_port_id</tabstop> | |||
<tabstop>buttonBox</tabstop> | |||
</tabstops> | |||
<resources/> | |||
<connections> | |||
<connection> | |||
<sender>buttonBox</sender> | |||
<signal>accepted()</signal> | |||
<receiver>CatarinaAddPortW</receiver> | |||
<slot>accept()</slot> | |||
<hints> | |||
<hint type="sourcelabel"> | |||
<x>248</x> | |||
<y>254</y> | |||
</hint> | |||
<hint type="destinationlabel"> | |||
<x>157</x> | |||
<y>274</y> | |||
</hint> | |||
</hints> | |||
</connection> | |||
<connection> | |||
<sender>buttonBox</sender> | |||
<signal>rejected()</signal> | |||
<receiver>CatarinaAddPortW</receiver> | |||
<slot>reject()</slot> | |||
<hints> | |||
<hint type="sourcelabel"> | |||
<x>316</x> | |||
<y>260</y> | |||
</hint> | |||
<hint type="destinationlabel"> | |||
<x>286</x> | |||
<y>274</y> | |||
</hint> | |||
</hints> | |||
</connection> | |||
</connections> | |||
</ui> |
@@ -0,0 +1,128 @@ | |||
<?xml version="1.0" encoding="UTF-8"?> | |||
<ui version="4.0"> | |||
<class>CatarinaConnectPortsW</class> | |||
<widget class="QDialog" name="CatarinaConnectPortsW"> | |||
<property name="geometry"> | |||
<rect> | |||
<x>0</x> | |||
<y>0</y> | |||
<width>592</width> | |||
<height>308</height> | |||
</rect> | |||
</property> | |||
<property name="windowTitle"> | |||
<string>Connect Ports</string> | |||
</property> | |||
<layout class="QGridLayout" name="gridLayout"> | |||
<item row="1" column="0"> | |||
<widget class="QGroupBox" name="groupBox"> | |||
<property name="title"> | |||
<string>Outputs</string> | |||
</property> | |||
<layout class="QVBoxLayout" name="verticalLayout_2"> | |||
<item> | |||
<widget class="QListWidget" name="lw_outputs"/> | |||
</item> | |||
</layout> | |||
</widget> | |||
</item> | |||
<item row="1" column="1"> | |||
<widget class="QGroupBox" name="groupBox_2"> | |||
<property name="title"> | |||
<string>Inputs</string> | |||
</property> | |||
<layout class="QVBoxLayout" name="verticalLayout"> | |||
<item> | |||
<widget class="QListWidget" name="lw_inputs"/> | |||
</item> | |||
</layout> | |||
</widget> | |||
</item> | |||
<item row="2" column="0" colspan="2"> | |||
<widget class="QDialogButtonBox" name="buttonBox"> | |||
<property name="orientation"> | |||
<enum>Qt::Horizontal</enum> | |||
</property> | |||
<property name="standardButtons"> | |||
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> | |||
</property> | |||
</widget> | |||
</item> | |||
<item row="0" column="0" colspan="2"> | |||
<widget class="QGroupBox" name="groupBox_7"> | |||
<property name="title"> | |||
<string>Connection Type</string> | |||
</property> | |||
<layout class="QHBoxLayout" name="horizontalLayout_4"> | |||
<item> | |||
<widget class="QRadioButton" name="rb_audio_jack"> | |||
<property name="text"> | |||
<string>Audio</string> | |||
</property> | |||
<property name="checked"> | |||
<bool>true</bool> | |||
</property> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QRadioButton" name="rb_midi_jack"> | |||
<property name="text"> | |||
<string>JACK MIDI</string> | |||
</property> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QRadioButton" name="rb_midi_a2j"> | |||
<property name="text"> | |||
<string>A2J MIDI</string> | |||
</property> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QRadioButton" name="rb_midi_alsa"> | |||
<property name="text"> | |||
<string>ALSA MIDI</string> | |||
</property> | |||
</widget> | |||
</item> | |||
</layout> | |||
</widget> | |||
</item> | |||
</layout> | |||
</widget> | |||
<resources/> | |||
<connections> | |||
<connection> | |||
<sender>buttonBox</sender> | |||
<signal>accepted()</signal> | |||
<receiver>CatarinaConnectPortsW</receiver> | |||
<slot>accept()</slot> | |||
<hints> | |||
<hint type="sourcelabel"> | |||
<x>248</x> | |||
<y>254</y> | |||
</hint> | |||
<hint type="destinationlabel"> | |||
<x>157</x> | |||
<y>274</y> | |||
</hint> | |||
</hints> | |||
</connection> | |||
<connection> | |||
<sender>buttonBox</sender> | |||
<signal>rejected()</signal> | |||
<receiver>CatarinaConnectPortsW</receiver> | |||
<slot>reject()</slot> | |||
<hints> | |||
<hint type="sourcelabel"> | |||
<x>316</x> | |||
<y>260</y> | |||
</hint> | |||
<hint type="destinationlabel"> | |||
<x>286</x> | |||
<y>274</y> | |||
</hint> | |||
</hints> | |||
</connection> | |||
</connections> | |||
</ui> |
@@ -0,0 +1,154 @@ | |||
<?xml version="1.0" encoding="UTF-8"?> | |||
<ui version="4.0"> | |||
<class>CatarinaDisconnectPortsW</class> | |||
<widget class="QDialog" name="CatarinaDisconnectPortsW"> | |||
<property name="geometry"> | |||
<rect> | |||
<x>0</x> | |||
<y>0</y> | |||
<width>521</width> | |||
<height>300</height> | |||
</rect> | |||
</property> | |||
<property name="windowTitle"> | |||
<string>Disconnect Ports</string> | |||
</property> | |||
<layout class="QVBoxLayout" name="verticalLayout_2"> | |||
<item> | |||
<widget class="QGroupBox" name="groupBox"> | |||
<property name="title"> | |||
<string>Connection Type</string> | |||
</property> | |||
<layout class="QHBoxLayout" name="horizontalLayout_2"> | |||
<item> | |||
<widget class="QRadioButton" name="rb_audio_jack"> | |||
<property name="text"> | |||
<string>JACK Audio</string> | |||
</property> | |||
<property name="checked"> | |||
<bool>true</bool> | |||
</property> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QRadioButton" name="rb_midi_jack"> | |||
<property name="text"> | |||
<string>JACK MIDI</string> | |||
</property> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QRadioButton" name="rb_midi_a2j"> | |||
<property name="text"> | |||
<string>A2J MIDI</string> | |||
</property> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QRadioButton" name="rb_midi_alsa"> | |||
<property name="text"> | |||
<string>ALSA MIDI</string> | |||
</property> | |||
</widget> | |||
</item> | |||
</layout> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QGroupBox" name="groupBox_3"> | |||
<property name="title"> | |||
<string>Connection List</string> | |||
</property> | |||
<layout class="QVBoxLayout" name="verticalLayout"> | |||
<item> | |||
<widget class="QTableWidget" name="tw_connections"> | |||
<property name="editTriggers"> | |||
<set>QAbstractItemView::NoEditTriggers</set> | |||
</property> | |||
<property name="showDropIndicator" stdset="0"> | |||
<bool>false</bool> | |||
</property> | |||
<property name="dragDropOverwriteMode"> | |||
<bool>false</bool> | |||
</property> | |||
<property name="dragDropMode"> | |||
<enum>QAbstractItemView::NoDragDrop</enum> | |||
</property> | |||
<property name="selectionMode"> | |||
<enum>QAbstractItemView::SingleSelection</enum> | |||
</property> | |||
<property name="selectionBehavior"> | |||
<enum>QAbstractItemView::SelectRows</enum> | |||
</property> | |||
<attribute name="horizontalHeaderStretchLastSection"> | |||
<bool>true</bool> | |||
</attribute> | |||
<attribute name="verticalHeaderVisible"> | |||
<bool>false</bool> | |||
</attribute> | |||
<attribute name="verticalHeaderDefaultSectionSize"> | |||
<number>22</number> | |||
</attribute> | |||
<column> | |||
<property name="text"> | |||
<string>Output</string> | |||
</property> | |||
</column> | |||
<column> | |||
<property name="text"> | |||
<string>Input</string> | |||
</property> | |||
</column> | |||
</widget> | |||
</item> | |||
</layout> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QDialogButtonBox" name="buttonBox"> | |||
<property name="orientation"> | |||
<enum>Qt::Horizontal</enum> | |||
</property> | |||
<property name="standardButtons"> | |||
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> | |||
</property> | |||
</widget> | |||
</item> | |||
</layout> | |||
</widget> | |||
<resources/> | |||
<connections> | |||
<connection> | |||
<sender>buttonBox</sender> | |||
<signal>accepted()</signal> | |||
<receiver>CatarinaDisconnectPortsW</receiver> | |||
<slot>accept()</slot> | |||
<hints> | |||
<hint type="sourcelabel"> | |||
<x>248</x> | |||
<y>254</y> | |||
</hint> | |||
<hint type="destinationlabel"> | |||
<x>157</x> | |||
<y>274</y> | |||
</hint> | |||
</hints> | |||
</connection> | |||
<connection> | |||
<sender>buttonBox</sender> | |||
<signal>rejected()</signal> | |||
<receiver>CatarinaDisconnectPortsW</receiver> | |||
<slot>reject()</slot> | |||
<hints> | |||
<hint type="sourcelabel"> | |||
<x>316</x> | |||
<y>260</y> | |||
</hint> | |||
<hint type="destinationlabel"> | |||
<x>286</x> | |||
<y>274</y> | |||
</hint> | |||
</hints> | |||
</connection> | |||
</connections> | |||
</ui> |
@@ -0,0 +1,116 @@ | |||
<?xml version="1.0" encoding="UTF-8"?> | |||
<ui version="4.0"> | |||
<class>CatarinaRemoveGroupW</class> | |||
<widget class="QDialog" name="CatarinaRemoveGroupW"> | |||
<property name="geometry"> | |||
<rect> | |||
<x>0</x> | |||
<y>0</y> | |||
<width>383</width> | |||
<height>393</height> | |||
</rect> | |||
</property> | |||
<property name="windowTitle"> | |||
<string>Remove Group</string> | |||
</property> | |||
<layout class="QVBoxLayout" name="verticalLayout_2"> | |||
<item> | |||
<widget class="QGroupBox" name="groupBox"> | |||
<property name="title"> | |||
<string>Remove Group</string> | |||
</property> | |||
<layout class="QVBoxLayout" name="verticalLayout"> | |||
<item> | |||
<widget class="QTableWidget" name="tw_group_list"> | |||
<property name="editTriggers"> | |||
<set>QAbstractItemView::NoEditTriggers</set> | |||
</property> | |||
<property name="showDropIndicator" stdset="0"> | |||
<bool>false</bool> | |||
</property> | |||
<property name="dragDropOverwriteMode"> | |||
<bool>false</bool> | |||
</property> | |||
<property name="alternatingRowColors"> | |||
<bool>true</bool> | |||
</property> | |||
<property name="selectionMode"> | |||
<enum>QAbstractItemView::SingleSelection</enum> | |||
</property> | |||
<property name="selectionBehavior"> | |||
<enum>QAbstractItemView::SelectRows</enum> | |||
</property> | |||
<property name="sortingEnabled"> | |||
<bool>true</bool> | |||
</property> | |||
<attribute name="verticalHeaderVisible"> | |||
<bool>false</bool> | |||
</attribute> | |||
<column> | |||
<property name="text"> | |||
<string>ID</string> | |||
</property> | |||
</column> | |||
<column> | |||
<property name="text"> | |||
<string>Name</string> | |||
</property> | |||
</column> | |||
<column> | |||
<property name="text"> | |||
<string>Split</string> | |||
</property> | |||
</column> | |||
</widget> | |||
</item> | |||
</layout> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QDialogButtonBox" name="buttonBox"> | |||
<property name="orientation"> | |||
<enum>Qt::Horizontal</enum> | |||
</property> | |||
<property name="standardButtons"> | |||
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> | |||
</property> | |||
</widget> | |||
</item> | |||
</layout> | |||
</widget> | |||
<resources/> | |||
<connections> | |||
<connection> | |||
<sender>buttonBox</sender> | |||
<signal>accepted()</signal> | |||
<receiver>CatarinaRemoveGroupW</receiver> | |||
<slot>accept()</slot> | |||
<hints> | |||
<hint type="sourcelabel"> | |||
<x>248</x> | |||
<y>254</y> | |||
</hint> | |||
<hint type="destinationlabel"> | |||
<x>157</x> | |||
<y>274</y> | |||
</hint> | |||
</hints> | |||
</connection> | |||
<connection> | |||
<sender>buttonBox</sender> | |||
<signal>rejected()</signal> | |||
<receiver>CatarinaRemoveGroupW</receiver> | |||
<slot>reject()</slot> | |||
<hints> | |||
<hint type="sourcelabel"> | |||
<x>316</x> | |||
<y>260</y> | |||
</hint> | |||
<hint type="destinationlabel"> | |||
<x>286</x> | |||
<y>274</y> | |||
</hint> | |||
</hints> | |||
</connection> | |||
</connections> | |||
</ui> |
@@ -0,0 +1,186 @@ | |||
<?xml version="1.0" encoding="UTF-8"?> | |||
<ui version="4.0"> | |||
<class>CatarinaRemovePortW</class> | |||
<widget class="QDialog" name="CatarinaRemovePortW"> | |||
<property name="geometry"> | |||
<rect> | |||
<x>0</x> | |||
<y>0</y> | |||
<width>442</width> | |||
<height>389</height> | |||
</rect> | |||
</property> | |||
<property name="windowTitle"> | |||
<string>Remove Port</string> | |||
</property> | |||
<layout class="QVBoxLayout" name="verticalLayout_2"> | |||
<item> | |||
<widget class="QGroupBox" name="groupBox_2"> | |||
<property name="title"> | |||
<string>Port Mode</string> | |||
</property> | |||
<layout class="QHBoxLayout" name="horizontalLayout"> | |||
<item> | |||
<widget class="QRadioButton" name="rb_input"> | |||
<property name="text"> | |||
<string>Input</string> | |||
</property> | |||
<property name="checked"> | |||
<bool>true</bool> | |||
</property> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QRadioButton" name="rb_output"> | |||
<property name="text"> | |||
<string>Output</string> | |||
</property> | |||
</widget> | |||
</item> | |||
</layout> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QGroupBox" name="groupBox"> | |||
<property name="title"> | |||
<string>Port Type</string> | |||
</property> | |||
<layout class="QHBoxLayout" name="horizontalLayout_2"> | |||
<item> | |||
<widget class="QRadioButton" name="rb_audio_jack"> | |||
<property name="text"> | |||
<string>JACK Audio</string> | |||
</property> | |||
<property name="checked"> | |||
<bool>true</bool> | |||
</property> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QRadioButton" name="rb_midi_jack"> | |||
<property name="text"> | |||
<string>JACK MIDI</string> | |||
</property> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QRadioButton" name="rb_midi_a2j"> | |||
<property name="text"> | |||
<string>A2J MIDI</string> | |||
</property> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QRadioButton" name="rb_midi_alsa"> | |||
<property name="text"> | |||
<string>ALSA MIDI</string> | |||
</property> | |||
</widget> | |||
</item> | |||
</layout> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QGroupBox" name="groupBox_3"> | |||
<property name="title"> | |||
<string>Port List</string> | |||
</property> | |||
<layout class="QVBoxLayout" name="verticalLayout"> | |||
<item> | |||
<widget class="QTableWidget" name="tw_port_list"> | |||
<property name="editTriggers"> | |||
<set>QAbstractItemView::NoEditTriggers</set> | |||
</property> | |||
<property name="showDropIndicator" stdset="0"> | |||
<bool>false</bool> | |||
</property> | |||
<property name="dragDropOverwriteMode"> | |||
<bool>false</bool> | |||
</property> | |||
<property name="alternatingRowColors"> | |||
<bool>true</bool> | |||
</property> | |||
<property name="selectionMode"> | |||
<enum>QAbstractItemView::SingleSelection</enum> | |||
</property> | |||
<property name="selectionBehavior"> | |||
<enum>QAbstractItemView::SelectRows</enum> | |||
</property> | |||
<property name="sortingEnabled"> | |||
<bool>true</bool> | |||
</property> | |||
<attribute name="horizontalHeaderStretchLastSection"> | |||
<bool>true</bool> | |||
</attribute> | |||
<attribute name="verticalHeaderVisible"> | |||
<bool>false</bool> | |||
</attribute> | |||
<attribute name="verticalHeaderDefaultSectionSize"> | |||
<number>22</number> | |||
</attribute> | |||
<column> | |||
<property name="text"> | |||
<string>#</string> | |||
</property> | |||
<property name="textAlignment"> | |||
<set>AlignRight|AlignVCenter</set> | |||
</property> | |||
</column> | |||
<column> | |||
<property name="text"> | |||
<string>Full Port Name</string> | |||
</property> | |||
</column> | |||
</widget> | |||
</item> | |||
</layout> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QDialogButtonBox" name="buttonBox"> | |||
<property name="orientation"> | |||
<enum>Qt::Horizontal</enum> | |||
</property> | |||
<property name="standardButtons"> | |||
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> | |||
</property> | |||
</widget> | |||
</item> | |||
</layout> | |||
</widget> | |||
<resources/> | |||
<connections> | |||
<connection> | |||
<sender>buttonBox</sender> | |||
<signal>accepted()</signal> | |||
<receiver>CatarinaRemovePortW</receiver> | |||
<slot>accept()</slot> | |||
<hints> | |||
<hint type="sourcelabel"> | |||
<x>248</x> | |||
<y>254</y> | |||
</hint> | |||
<hint type="destinationlabel"> | |||
<x>157</x> | |||
<y>274</y> | |||
</hint> | |||
</hints> | |||
</connection> | |||
<connection> | |||
<sender>buttonBox</sender> | |||
<signal>rejected()</signal> | |||
<receiver>CatarinaRemovePortW</receiver> | |||
<slot>reject()</slot> | |||
<hints> | |||
<hint type="sourcelabel"> | |||
<x>316</x> | |||
<y>260</y> | |||
</hint> | |||
<hint type="destinationlabel"> | |||
<x>286</x> | |||
<y>274</y> | |||
</hint> | |||
</hints> | |||
</connection> | |||
</connections> | |||
</ui> |
@@ -0,0 +1,90 @@ | |||
<?xml version="1.0" encoding="UTF-8"?> | |||
<ui version="4.0"> | |||
<class>CatarinaRenameGroupW</class> | |||
<widget class="QDialog" name="CatarinaRenameGroupW"> | |||
<property name="geometry"> | |||
<rect> | |||
<x>0</x> | |||
<y>0</y> | |||
<width>400</width> | |||
<height>102</height> | |||
</rect> | |||
</property> | |||
<property name="windowTitle"> | |||
<string>Rename Group</string> | |||
</property> | |||
<layout class="QGridLayout" name="gridLayout"> | |||
<item row="0" column="0"> | |||
<widget class="QLabel" name="label"> | |||
<property name="text"> | |||
<string>Group to Rename:</string> | |||
</property> | |||
<property name="alignment"> | |||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> | |||
</property> | |||
</widget> | |||
</item> | |||
<item row="0" column="1"> | |||
<widget class="QComboBox" name="cb_group_to_rename"/> | |||
</item> | |||
<item row="1" column="0"> | |||
<widget class="QLabel" name="label_2"> | |||
<property name="text"> | |||
<string>New Group Name:</string> | |||
</property> | |||
<property name="alignment"> | |||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> | |||
</property> | |||
</widget> | |||
</item> | |||
<item row="1" column="1"> | |||
<widget class="QLineEdit" name="le_new_group_name"/> | |||
</item> | |||
<item row="2" column="0" colspan="2"> | |||
<widget class="QDialogButtonBox" name="buttonBox"> | |||
<property name="orientation"> | |||
<enum>Qt::Horizontal</enum> | |||
</property> | |||
<property name="standardButtons"> | |||
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> | |||
</property> | |||
</widget> | |||
</item> | |||
</layout> | |||
</widget> | |||
<resources/> | |||
<connections> | |||
<connection> | |||
<sender>buttonBox</sender> | |||
<signal>accepted()</signal> | |||
<receiver>CatarinaRenameGroupW</receiver> | |||
<slot>accept()</slot> | |||
<hints> | |||
<hint type="sourcelabel"> | |||
<x>248</x> | |||
<y>254</y> | |||
</hint> | |||
<hint type="destinationlabel"> | |||
<x>157</x> | |||
<y>274</y> | |||
</hint> | |||
</hints> | |||
</connection> | |||
<connection> | |||
<sender>buttonBox</sender> | |||
<signal>rejected()</signal> | |||
<receiver>CatarinaRenameGroupW</receiver> | |||
<slot>reject()</slot> | |||
<hints> | |||
<hint type="sourcelabel"> | |||
<x>316</x> | |||
<y>260</y> | |||
</hint> | |||
<hint type="destinationlabel"> | |||
<x>286</x> | |||
<y>274</y> | |||
</hint> | |||
</hints> | |||
</connection> | |||
</connections> | |||
</ui> |
@@ -0,0 +1,191 @@ | |||
<?xml version="1.0" encoding="UTF-8"?> | |||
<ui version="4.0"> | |||
<class>CatarinaRenamePortW</class> | |||
<widget class="QDialog" name="CatarinaRenamePortW"> | |||
<property name="geometry"> | |||
<rect> | |||
<x>0</x> | |||
<y>0</y> | |||
<width>303</width> | |||
<height>471</height> | |||
</rect> | |||
</property> | |||
<property name="windowTitle"> | |||
<string>Rename Port</string> | |||
</property> | |||
<layout class="QVBoxLayout" name="verticalLayout_3"> | |||
<item> | |||
<widget class="QGroupBox" name="groupBox_2"> | |||
<property name="title"> | |||
<string>Port Mode</string> | |||
</property> | |||
<layout class="QHBoxLayout" name="horizontalLayout"> | |||
<item> | |||
<widget class="QRadioButton" name="rb_input"> | |||
<property name="text"> | |||
<string>Input</string> | |||
</property> | |||
<property name="checked"> | |||
<bool>true</bool> | |||
</property> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QRadioButton" name="rb_output"> | |||
<property name="text"> | |||
<string>Output</string> | |||
</property> | |||
</widget> | |||
</item> | |||
</layout> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QGroupBox" name="groupBox"> | |||
<property name="title"> | |||
<string>Port Type</string> | |||
</property> | |||
<layout class="QHBoxLayout" name="horizontalLayout_2"> | |||
<item> | |||
<widget class="QRadioButton" name="rb_audio"> | |||
<property name="text"> | |||
<string>Audio</string> | |||
</property> | |||
<property name="checked"> | |||
<bool>true</bool> | |||
</property> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QRadioButton" name="rb_midi"> | |||
<property name="text"> | |||
<string>MIDI</string> | |||
</property> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QRadioButton" name="rb_outro"> | |||
<property name="text"> | |||
<string>Outro</string> | |||
</property> | |||
</widget> | |||
</item> | |||
</layout> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QGroupBox" name="groupBox_3"> | |||
<property name="title"> | |||
<string>Port List</string> | |||
</property> | |||
<layout class="QVBoxLayout" name="verticalLayout"> | |||
<item> | |||
<widget class="QTableWidget" name="tw_port_list"> | |||
<property name="editTriggers"> | |||
<set>QAbstractItemView::NoEditTriggers</set> | |||
</property> | |||
<property name="showDropIndicator" stdset="0"> | |||
<bool>false</bool> | |||
</property> | |||
<property name="dragDropOverwriteMode"> | |||
<bool>false</bool> | |||
</property> | |||
<property name="alternatingRowColors"> | |||
<bool>true</bool> | |||
</property> | |||
<property name="selectionMode"> | |||
<enum>QAbstractItemView::SingleSelection</enum> | |||
</property> | |||
<property name="selectionBehavior"> | |||
<enum>QAbstractItemView::SelectRows</enum> | |||
</property> | |||
<property name="sortingEnabled"> | |||
<bool>true</bool> | |||
</property> | |||
<attribute name="horizontalHeaderStretchLastSection"> | |||
<bool>true</bool> | |||
</attribute> | |||
<attribute name="verticalHeaderVisible"> | |||
<bool>false</bool> | |||
</attribute> | |||
<attribute name="verticalHeaderDefaultSectionSize"> | |||
<number>22</number> | |||
</attribute> | |||
<column> | |||
<property name="text"> | |||
<string>#</string> | |||
</property> | |||
<property name="textAlignment"> | |||
<set>AlignRight|AlignVCenter</set> | |||
</property> | |||
</column> | |||
<column> | |||
<property name="text"> | |||
<string>Full Port Name</string> | |||
</property> | |||
</column> | |||
</widget> | |||
</item> | |||
</layout> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QGroupBox" name="groupBox_4"> | |||
<property name="title"> | |||
<string>New Name</string> | |||
</property> | |||
<layout class="QVBoxLayout" name="verticalLayout_2"> | |||
<item> | |||
<widget class="QLineEdit" name="le_new_name"/> | |||
</item> | |||
</layout> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QDialogButtonBox" name="buttonBox"> | |||
<property name="orientation"> | |||
<enum>Qt::Horizontal</enum> | |||
</property> | |||
<property name="standardButtons"> | |||
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> | |||
</property> | |||
</widget> | |||
</item> | |||
</layout> | |||
</widget> | |||
<resources/> | |||
<connections> | |||
<connection> | |||
<sender>buttonBox</sender> | |||
<signal>accepted()</signal> | |||
<receiver>CatarinaRenamePortW</receiver> | |||
<slot>accept()</slot> | |||
<hints> | |||
<hint type="sourcelabel"> | |||
<x>248</x> | |||
<y>254</y> | |||
</hint> | |||
<hint type="destinationlabel"> | |||
<x>157</x> | |||
<y>274</y> | |||
</hint> | |||
</hints> | |||
</connection> | |||
<connection> | |||
<sender>buttonBox</sender> | |||
<signal>rejected()</signal> | |||
<receiver>CatarinaRenamePortW</receiver> | |||
<slot>reject()</slot> | |||
<hints> | |||
<hint type="sourcelabel"> | |||
<x>316</x> | |||
<y>260</y> | |||
</hint> | |||
<hint type="destinationlabel"> | |||
<x>286</x> | |||
<y>274</y> | |||
</hint> | |||
</hints> | |||
</connection> | |||
</connections> | |||
</ui> |
@@ -208,7 +208,7 @@ class XYGraphicsScene(QGraphicsScene): | |||
# XY Controller Window | |||
class XYControllerW(QMainWindow, ui_xycontroller.Ui_XYControllerW): | |||
def __init__(self, parent): | |||
def __init__(self, parent=None): | |||
QMainWindow.__init__(self, parent) | |||
self.setupUi(self) | |||
@@ -589,7 +589,7 @@ if __name__ == '__main__': | |||
jacklib.activate(jack_client) | |||
# Show GUI | |||
gui = XYControllerW(None) | |||
gui = XYControllerW() | |||
gui.show() | |||
# Set-up custom signal handling | |||