List Info

Thread: kdialog (html) issues




kdialog (html) issues
user name
2006-10-18 08:55:41

Hello,

 I myself am trying to do the following.
Create a simple app that allows users to fill in a username, passwd, passwdAgain. then adds a user to the system. I wrote this simple script with kdialog, but it doesn't give the expected results, here is the code:

#!/bin/bash
kdialog --title "Gebruiker toevoegen"
 &nbsp;  --inputbox "<qt>
&nbsp; &nbsp; &nbsp;   <form&gt;
 &nbsp;   &nbsp;  Gebruikersnaam::
 &nbsp;   &nbsp;   &nbsp;  &nbsp; &nbsp; <input type=";text" name=";gebruikersnaam" value=";gebruikersnaam"&gt;
   ;  &nbsp;   &nbsp;   &nbsp;  <br>
 &nbsp;   &nbsp;  Wachtwoord
 &nbsp;   &nbsp;   &nbsp;  &nbsp; &nbsp; <input type=";text" name=";password&quot; value="wachtwoord">
 ; &nbsp;  &nbsp;   &nbsp;   &nbsp;  <br>
 &nbsp;   &nbsp;  Herhaal wachtwoord:
 &nbsp;   &nbsp;   &nbsp;  &nbsp; &nbsp; <input type=";text" name=";password&quot; value="wachtwoordherhaal">
 &nbsp;  </form&gt;</qt&gt;"


help would be aperciate much!


Thanks in advance
kdialog (html) issues
user name
2006-10-18 10:26:23
On Wednesday 18 October 2006 10:55, Arvind Autar wrote:
> Hello,
>
>  I myself am trying to do the following.
> Create a simple app that allows users to fill in a
username, passwd,
> passwdAgain. then adds a user to the system. I wrote
this simple script
> with kdialog, but it doesn't give the expected results,
here is the code:

The Qt widgets, at least the one from Qt3 do use a subset of
HTML, or rather a 
markup language that looks like a subset of HTML.
It is basically just for changing text appearance and
occasionally embedding 
an image, not for forms or more difficult concepts.

I recommend looking at Kommander
http://kommander.kdew
ebdev.org/

It allows you to create GUIs like with programming languages
but still can use 
shell scripting as the code.

There is a section with examples on kde-apps.org
ht
tp://www.kde-apps.org/index.php?xcontentmode=288

Cheers,
Kevin

-- 
Kevin Krammer, KDE developer
KDE user support, developer mentoring
___________________________________________________
This message is from the kde-linux mailing list.
Account management:  http
s://mail.kde.org/mailman/listinfo/kde-linux.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.h
tml.
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )