Skip to content

Commit

Permalink
GUI Quellcode hinzugefügt
Browse files Browse the repository at this point in the history
  • Loading branch information
matt3o committed Jun 2, 2014
1 parent 2c405db commit 1145549
Show file tree
Hide file tree
Showing 3 changed files with 899 additions and 0 deletions.
247 changes: 247 additions & 0 deletions Widgets/ItemList.ui
Original file line number Diff line number Diff line change
@@ -0,0 +1,247 @@
<?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>756</width>
<height>404</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>Filter:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineEdit"/>
</item>
<item>
<widget class="QPushButton" name="pushButton">
<property name="text">
<string>Apply</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QCheckBox" name="checkBox_2">
<property name="text">
<string>Show Hosts</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="checkBox">
<property name="text">
<string>Show Nodes</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="checkBox_3">
<property name="text">
<string>Only erroneous</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="pushButton_3">
<property name="text">
<string/>
</property>
<property name="icon">
<iconset>
<normaloff>../../Documents/Minus-32.png</normaloff>../../Documents/Minus-32.png</iconset>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_2">
<property name="text">
<string/>
</property>
<property name="icon">
<iconset>
<normaloff>../../Documents/Plus-32.png</normaloff>../../Documents/Plus-32.png</iconset>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QTreeWidget" name="treeWidget">
<column>
<property name="text">
<string>Type</string>
</property>
</column>
<column>
<property name="text">
<string>Name</string>
</property>
</column>
<column>
<property name="text">
<string>Status</string>
</property>
</column>
<column>
<property name="text">
<string>Data</string>
</property>
</column>
<item>
<property name="text">
<string>Host</string>
</property>
<property name="text">
<string>host1</string>
</property>
<property name="text">
<string>ok</string>
</property>
<property name="text">
<string>cpu: 55%; ram: 50%; network: 55 Mb/s; latency: 10 ms</string>
</property>
<item>
<property name="text">
<string>Node</string>
</property>
<property name="text">
<string>node1</string>
</property>
<property name="text">
<string>ok</string>
</property>
<property name="text">
<string>number of topics: 2; name of topics: topic1, topic2; </string>
</property>
</item>
<item>
<property name="text">
<string>Node</string>
</property>
<property name="text">
<string>node2</string>
</property>
<property name="text">
<string>warning</string>
</property>
<property name="background">
<brush brushstyle="SolidPattern">
<color alpha="130">
<red>236</red>
<green>255</green>
<blue>106</blue>
</color>
</brush>
</property>
<property name="text">
<string>number of topics: 1; name of topics: topic1;</string>
</property>
</item>
</item>
<item>
<property name="text">
<string>Host</string>
</property>
<property name="text">
<string>host2</string>
</property>
<property name="text">
<string>ok</string>
</property>
<property name="text">
<string>cpu: 5%; ram: 10%; network: 5 Mb/s; latency: 100 ms</string>
</property>
</item>
<item>
<property name="text">
<string>Host</string>
</property>
<property name="text">
<string>host3</string>
</property>
<property name="text">
<string>ok</string>
</property>
<property name="text">
<string>cpu: 100%; ram: 80%; network: 15 Mb/s; latency: 1000 ms</string>
</property>
<item>
<property name="text">
<string>Node</string>
</property>
<property name="text">
<string>node3</string>
</property>
<property name="text">
<string>error</string>
</property>
<property name="background">
<brush brushstyle="SolidPattern">
<color alpha="130">
<red>255</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</property>
<property name="foreground">
<brush brushstyle="NoBrush">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</property>
<property name="text">
<string>No data avaiable!</string>
</property>
</item>
</item>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>
Loading

0 comments on commit 1145549

Please sign in to comment.