From 0d97a7378ffe5f6be408201cd1f5595607ed5f87 Mon Sep 17 00:00:00 2001 From: Fabian Schillinger Date: Mon, 1 Nov 2010 16:53:24 +0100 Subject: Process start/stop/view functionality processWidget - shows a list of processes on one client, allows to start ans stop processes processesDialog - shows every processWidget as a tab processesStartDialog - starts process entered in messageEdit added handling of new pvscommands --- src/gui/ui/mainwindow.ui | 10 ++ src/gui/ui/mainwindowtouch.ui | 10 ++ src/gui/ui/processWidget.ui | 227 +++++++++++++++++++++++++++++++++++++ src/gui/ui/processesDialog.ui | 92 +++++++++++++++ src/gui/ui/processesStartDialog.ui | 69 +++++++++++ 5 files changed, 408 insertions(+) create mode 100644 src/gui/ui/processWidget.ui create mode 100644 src/gui/ui/processesDialog.ui create mode 100644 src/gui/ui/processesStartDialog.ui (limited to 'src/gui/ui') diff --git a/src/gui/ui/mainwindow.ui b/src/gui/ui/mainwindow.ui index 374177a..285d0f2 100644 --- a/src/gui/ui/mainwindow.ui +++ b/src/gui/ui/mainwindow.ui @@ -287,6 +287,7 @@ + @@ -544,6 +545,15 @@ Show Processes of the selected Client + + + + :/icons/gearsgo.png:/icons/gearsgo.png + + + Start Process + + diff --git a/src/gui/ui/mainwindowtouch.ui b/src/gui/ui/mainwindowtouch.ui index 8b76101..ae1d0cf 100644 --- a/src/gui/ui/mainwindowtouch.ui +++ b/src/gui/ui/mainwindowtouch.ui @@ -366,6 +366,7 @@ + @@ -649,6 +650,15 @@ Show Processes of the selected Client + + + + :/icons/gearsgo.png:/icons/gearsgo.png + + + Start Process + + diff --git a/src/gui/ui/processWidget.ui b/src/gui/ui/processWidget.ui new file mode 100644 index 0000000..3e7f55e --- /dev/null +++ b/src/gui/ui/processWidget.ui @@ -0,0 +1,227 @@ + + + ProcessWidget + + + + 0 + 0 + 646 + 504 + + + + Form + + + + + 10 + 10 + 631 + 481 + + + + + + + Prozessliste + + + + + 10 + 24 + 611 + 361 + + + + + + + QFrame::Sunken + + + QAbstractItemView::NoEditTriggers + + + false + + + false + + + true + + + QAbstractItemView::SingleSelection + + + QAbstractItemView::SelectRows + + + Qt::DotLine + + + true + + + false + + + false + + + 0 + + + true + + + false + + + false + + + true + + + true + + + true + + + true + + + true + + + false + + + true + + + false + + + true + + + + ID + + + + + Name + + + + + Commandline + + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + Aktualisieren + + + + + + + Prozess beenden + + + + + + + + + + + + + Qt::Horizontal + + + + + + + + 16777215 + 80 + + + + Prozess starten + + + + + 10 + 20 + 611 + 51 + + + + + + + + + + Prozess starten + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + + + + + + diff --git a/src/gui/ui/processesDialog.ui b/src/gui/ui/processesDialog.ui new file mode 100644 index 0000000..4ac4859 --- /dev/null +++ b/src/gui/ui/processesDialog.ui @@ -0,0 +1,92 @@ + + + ProcessesDialog + + + + 0 + 0 + 654 + 562 + + + + Prozesse + + + + + 310 + 530 + 341 + 32 + + + + Qt::Horizontal + + + QDialogButtonBox::Close + + + false + + + + + + 0 + 0 + 651 + 531 + + + + + + 0 + 0 + 651 + 521 + + + + + + + + + + buttonBox + accepted() + ProcessesDialog + accept() + + + 248 + 254 + + + 157 + 274 + + + + + buttonBox + rejected() + ProcessesDialog + reject() + + + 316 + 260 + + + 286 + 274 + + + + + diff --git a/src/gui/ui/processesStartDialog.ui b/src/gui/ui/processesStartDialog.ui new file mode 100644 index 0000000..5d8c7ee --- /dev/null +++ b/src/gui/ui/processesStartDialog.ui @@ -0,0 +1,69 @@ + + + ProcessesStartDialog + + + + 0 + 0 + 393 + 109 + + + + Start Process + + + + + 20 + 20 + 351 + 71 + + + + + + + + + + 5 + + + + + Qt::Horizontal + + + + 108 + 20 + + + + + + + + Cancel + + + + + + + Send + + + + + + + + + + + + -- cgit v1.2.3-55-g7522