PyDialog [PyQt5] is a new dialog instead kdialog or zenity

Various KDE Stuff

Source i (link to git-repo or to original if based on someone elses unmodified work):

https://github.com/blackPantherOS/playground/tree/master/pydialog

0
Become a Fan
5.7

Available as/for:
Description:
My problem was that the kdialog code is still not ported previously to Qt5 and it depends on various Qt4/KDE4 components. The kdialog has big dependency sizes so we made an alternate dialogs like kdialog switches, options (Zenity is too ugly and Gtk based). We would still like full compatibility with kdialog but a few options are still not finished and although this release provides many important functions.

Working dialogs/options:
optional arguments:
-h, --help show this help message and exit
--title Dialog title
--yesnocancel YESNOCANCEL
Question message box with yes/no/cancel buttons
--yesno YESNO Question message box with yes/no buttons
--yes-label The label of the yes-button
--no-label The label of the no-button
--cancel-label
The label of the cancel-button
--continue-label
Use text as Continue button label
--icon Use icon as the application icon.
--progressbar [totalsteps] [ [totalsteps] ...]
Progress bar dialog, returns a D-Bus reference for
communication
--forkedprogressbar [totalsteps] [ [totalsteps] ...]
--dbusname [ ...]
--inputbox [ ...]
Input Box dialog
--password Password dialog
--checklist [tag item status] ... [ [tag item status] ... ...]
Check List dialog
--radiolist [tag item status] ... [ [tag item status] ... ...]
Radio List dialog
--menu [tag item] [tag item] ... [ [tag item] [tag item] ... ...]
Menu dialog
--separate-output Return list items on separate lines (for checklist
option and file open with --multiple)
--sorry Sorry message box
--warningyesno
Warning message box with yes/no buttons
--warningyesnocancel
Warning message box with yes/no/cancel buttons
--error 'Error' message box
--msgbox Message Box dialog
--detailedsorry
Sorry message box with expendable Details field
--warningcontinuecancel
Warning message box with continue/cancel buttons
--detailederror
'Error' message box with expandable Details field
--slider [minvalue] [maxvalue] [step] [ [minvalue] [maxvalue] [step] ...]
Slider dialog box, returns selected value
--tab ... [ ... ...]
Open a new tab
--getopenfilename [[startDir] [filter] [[startDir] [filter][startDir] [filter] [[startDir] [filter] ...]]
File dialog to save a file
--getexistingdirectory [[startDir] [[startDir] ...]]
File dialog to select an existing directory
--getopenurl [[startDir] [filter] [[startDir] [filter] ...]]
File dialog to open an existing URL
--getsaveurl [[startDir] [filter] [[startDir] [filter] ...]]
File dialog to save a URL
--getcolor Color dialog to select a color
--textbox [width] [height] [ [width] [height] ...]
Text Box dialog
--combobox item [item] [item] ... [ item [item] [item] ... ...]
ComboBox dialog
--textinputbox [width] [height] [ [width] [height] ...]
Text Input Box dialog
--multiple Allows the --getopenurl and --getopenfilename options
to return multiple files
--default [] Default entry to use for combobox, menu and color
--passivepopup [ ...]
Passive Popup
--dontagain
Config file and option name for saving the 'do-not-
show/ask-again' state
--print-winid PRINTWINID
Outputs the winId of each dialog
--attach Makes the dialog transient for an X app specified by
winid
--calendar Calendar dialog box, returns selected date
--geticon [[group] [context] [[group] [context] ...]]
Icon chooser dialog
--stayontop The window stays on top
--showsettings Show the settings button
--antisegfault

Patches, extensions, ideas are welcome!

Maintainer Mi
File dialog to open an existing file
--getsavefilename [[startDir] [filter] [[startDir] [filter][startDir] [[startDir] ...]]
File dialog to select an existing directory
--getopenurl [[startDir] [filter] [[startDir] [filter] ...]]
File dialog to open an existing URL
--getsaveurl [[startDir] [filter] [[startDir] [filter] ...]]
File dialog to save a URL
--getcolor Color dialog to select a color
--textbox [width] [height] [ [width] [height] ...]
Text Box dialog
--combobox item [item] [item] ... [ item [item] [item] ... ...]
ComboBox dialog
--textinputbox [width] [height] [ [width] [height] ...]
Text Input Box dialog
--multiple Allows the --getopenurl and --getopenfilename options
to return multiple files
--default [] Default entry to use for combobox, menu and color
--passivepopup [ ...]
Passive Popup
--dontagain
Config file and option name for saving the 'do-not-
show/ask-again' state
--print-winid PRINTWINID
Outputs the winId of each dialog
--attach Makes the dialog transient for an X app specified by
winid
--calendar Calendar dialog box, returns selected date
--geticon [[group] [context] [[group] [context] ...]]
Icon chooser dialog
--stayontop The window stays on top
--showsettings Show the settings button
--antisegfault

Patches, extensions, ideas are welcome!

Maintainer Miklos
File dialog to save a file
--getexistingdirectory [[startDir] [[startDir][startDir] [filter] [[startDir] [filter] ...]]
File dialog to open an existing URL
--getsaveurl [[startDir] [filter] [[startDir] [filter] ...]]
File dialog to save a URL
--getcolor Color dialog to select a color
--textbox [width] [height] [ [width] [height] ...]
Text Box dialog
--combobox item [item] [item] ... [ item [item] [item] ... ...]
ComboBox dialog
--textinputbox [width] [height] [ [width] [height] ...]
Text Input Box dialog
--multiple Allows the --getopenurl and --getopenfilename options
to return multiple files
--default [] Default entry to use for combobox, menu and color
--passivepopup [ ...]
Passive Popup
--dontagain
Config file and option name for saving the 'do-not-
show/ask-again' state
--print-winid PRINTWINID
Outputs the winId of each dialog
--attach Makes the dialog transient for an X app specified by
winid
--calendar Calendar dialog box, returns selected date
--geticon [[group] [context] [[group] [context] ...]]
Icon chooser dialog
--stayontop The window stays on top
--showsettings Show the settings button
--antisegfault

Patches, extensions, ideas are welcome!

Maintainer
File dialog to select an existing directory
--getopenurl [[startDir] [filter] [[startDir] [filter][startDir] [filter] [[startDir] [filter] ...]]
File dialog to save a URL
--getcolor Color dialog to select a color
--textbox [width] [height] [ [width] [height] ...]
Text Box dialog
--combobox item [item] [item] ... [ item [item] [item] ... ...]
ComboBox dialog
--textinputbox [width] [height] [ [width] [height] ...]
Text Input Box dialog
--multiple Allows the --getopenurl and --getopenfilename options
to return multiple files
--default [] Default entry to use for combobox, menu and color
--passivepopup [ ...]
Passive Popup
--dontagain
Config file and option name for saving the 'do-not-
show/ask-again' state
--print-winid PRINTWINID
Outputs the winId of each dialog
--attach Makes the dialog transient for an X app specified by
winid
--calendar Calendar dialog box, returns selected date
--geticon [[group] [context] [[group] [context] ...]]
Icon chooser dialog
--stayontop The window stays on top
--showsettings Show the settings button
--antisegfault

Patches, extensions, ideas are welcome!

Maintainer Miklos H
File dialog to open an existing URL
--getsaveurl [[startDir] [filter] [[startDir] [filter] ...]]
File dialog to save a URL
--getcolor Color dialog to select a color
--textbox [width] [height] [ [width] [height] ...]
Text Box dialog
--combobox item [item] [item] ... [ item [item] [item] ... ...]
ComboBox dialog
--textinputbox [width] [height] [ [width] [height] ...]
Text Input Box dialog
--multiple Allows the --getopenurl and --getopenfilename options
to return multiple files
--default [] Default entry to use for combobox, menu and color
--passivepopup [ ...]
Passive Popup
--dontagain
Config file and option name for saving the 'do-not-
show/ask-again' state
--print-winid PRINTWINID
Outputs the winId of each dialog
--attach Makes the dialog transient for an X app specified by
winid
--calendar Calendar dialog box, returns selected date
--geticon [[group] [context] [[group] [context] ...]]
Icon chooser dialog
--stayontop The window stays on top
--showsettings Show the settings button
--antisegfault

Patches, extensions, ideas are welcome!

Maintainer Miklos Horvath
Project idea, design, contributor and first code by me (Charles K. B.)
Last changelog:

New version

- More fixes
- Better compatiblity with kdialog scripts


Ratings & Comments

2 Comments

arun94

what window decoration is that ? it looks cool like W7

VectoR

This is Seven Black window decoration How to change: https://www.youtube.com/watch?v=H2HQKcZDrxI Sorry, the video text is Hungarian...

Pling
0 Affiliates
Details
license GPLv3
version 0.9.4
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 1

More Various KDE Stuff from VectoR:

Intellibar formerly KWin [idea]
VectoR
last update date: 15 years ago

Score 5.0

Other Various KDE Stuff:

Barcelona by night
jgapoxy2
last update date: 19 years ago

Score 3.5

Luxury Library
specialworld83
last update date: 13 years ago

Score 3.6

Monty's KDE Splash
baran
last update date: 18 years ago

Score 5.0

Splashy for Edgy 6.10
Ruffinius
last update date: 18 years ago

Score 5.0

My kroller1024
Adenilson
last update date: 14 years ago

Score 4.7

shamaroK
synthetik
last update date: 21 years ago

Score 5.0



System Tags