[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Qt
From: Tim Jansen <ml () tjansen ! de>
Date: 2003-07-26 12:48:27
[Download RAW message or body]
On Saturday 26 July 2003 14:25, Dinesh Babuji wrote:
> Q1: How do I run a shell command on click of the button which I have placed
> on the form/widget?
> Eg. clicking ( DATE button) should invoke Date command in bash.
Implement a slot that executes the command using KProcess (or QProcess).
> Q2: How do I get the output of the above executed command and display on a
> textbox I have on the form/widget?
Both classes allow you to capture the output. Put a label on your form and set
its content.
bye...
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic