Skip to content

Commit

Permalink
adding Sebastian's dev panel
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian C. Aderhold committed Jul 9, 2020
1 parent 186ac03 commit 9738453
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 8 deletions.
43 changes: 43 additions & 0 deletions aderhold/devPanelAderhold.ui
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Form</class>
<widget class="QWidget" name="Form">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>300</width>
<height>300</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="PyDMShellCommand" name="TestShellCommand">
<property name="toolTip">
<string/>
</property>
<property name="text">
<string>TestShellCommandButton</string>
</property>
<property name="commands" stdset="0">
<stringlist>
<string>pydm ~/opsTools/devPanel/example/example.py</string>
</stringlist>
</property>
</widget>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>PyDMShellCommand</class>
<extends>QPushButton</extends>
<header>pydm.widgets.shell_command</header>
</customwidget>
</customwidgets>
<resources/>
<connections/>
</ui>
31 changes: 23 additions & 8 deletions opsDevPanel.ui
Original file line number Diff line number Diff line change
Expand Up @@ -14,32 +14,32 @@
<string>Form</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="3" column="0">
<widget class="PyDMRelatedDisplayButton" name="devPanelExample">
<item row="1" column="0">
<widget class="PyDMRelatedDisplayButton" name="devPanelAndy">
<property name="toolTip">
<string/>
</property>
<property name="text">
<string>Example Dev Panel</string>
<string>Andy's Top Secret Dev Panel</string>
</property>
<property name="filenames" stdset="0">
<stringlist>
<string>example/example.py</string>
<string>andy/devPanelAndy.ui</string>
</stringlist>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="PyDMRelatedDisplayButton" name="devPanelAndy">
<item row="3" column="0">
<widget class="PyDMRelatedDisplayButton" name="devPanelExample">
<property name="toolTip">
<string/>
</property>
<property name="text">
<string>Andy's Top Secret Dev Panel</string>
<string>Example Dev Panel</string>
</property>
<property name="filenames" stdset="0">
<stringlist>
<string>andy/devPanelAndy.ui</string>
<string>example/example.py</string>
</stringlist>
</property>
</widget>
Expand Down Expand Up @@ -173,6 +173,21 @@
</property>
</widget>
</item>
<item row="6" column="0">
<widget class="PyDMRelatedDisplayButton" name="PyDMRelatedDisplayButton_2">
<property name="toolTip">
<string/>
</property>
<property name="text">
<string>Sebastian's Dev Panel</string>
</property>
<property name="filenames" stdset="0">
<stringlist>
<string>aderhold/devPanelAderhold.ui</string>
</stringlist>
</property>
</widget>
</item>
</layout>
</widget>
<customwidgets>
Expand Down

0 comments on commit 9738453

Please sign in to comment.