I am using python guidata ( https://code.google.com/p/guidata/ ) package to get user inputs. The problem is the gui window does not come on top. It stays hidden under other windows. I think there should be some windows modality argument that I can pass. I just cant find them. Not sure if it is relevant, but I am not running the python script directly, what i am running is basically a bat file which runs
python.exe myscript.py
I would like to have the window come on top (preferable) or the window to be modal ( next best solution )
Added Later : to give a sample code I am just pasting an example from the guidata website. My code is more or less similar
import guidata
_app = guidata.qapplication() # not required if a QApplication has already been created
import guidata.dataset.datatypes as dt
import guidata.dataset.dataitems as di
class Processing(dt.DataSet):
"""Example"""
a = di.FloatItem("Parameter #1", default=2.3)
b = di.IntItem("Parameter #2", min=0, max=10, default=5)
type = di.ChoiceItem("Processing algorithm",
("type 1", "type 2", "type 3"))
param = Processing()
param.edit()
The line param.edit() displays the gui but just not on the top