jskfan
asked on
Python forms for Database programming.
Python forms for Database programming.
In other programming languages, programmers use forms to drop labels, buttons, textboxes, drop down arrows,etc....they also create links to the database from the form.
programmers will write code for the Events created, for instance when user click on a button, or tabs to another textbox,etc....
I wonder what type of forms that Python use to achieve similar goal.
Thank you
In other programming languages, programmers use forms to drop labels, buttons, textboxes, drop down arrows,etc....they also create links to the database from the form.
programmers will write code for the Events created, for instance when user click on a button, or tabs to another textbox,etc....
I wonder what type of forms that Python use to achieve similar goal.
Thank you
Have you looked at the QT library?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I have used VB and Delphi in the old days.
The Form has Database Connection , and the Label , Text ,Box Drop down arrows, etc... can host data from Database.
You can also use Events for each component when you click on it or select it , then enter code for the event
I wonder if Python has similar one
The Form has Database Connection , and the Label , Text ,Box Drop down arrows, etc... can host data from Database.
You can also use Events for each component when you click on it or select it , then enter code for the event
I wonder if Python has similar one
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Ok I will Check QT Designer.
Thank you
Thank you
Als check what is the intendaed target platform...
QT can be used accross Linux/Mac/Windows
On Linux QT are the libraries under KDE GTK+ are used with Gnome.
QT can be used accross Linux/Mac/Windows
On Linux QT are the libraries under KDE GTK+ are used with Gnome.
ASKER
I watched few videos regard PyQT event driven programing , however I have not seen a scenario , where the event is created by acting on the component on the GUI automatically.
Example:
you have a a form and you add a button to it. when you double click on the button, it should open the code editor with the event automatically created,ex: Bttn_OnClick
then , all you have to do is to write the code that acts upon when the button is clicked.
on the scenario I have seen, the programmer , will go to the code editor and write the event Bttn_onclick and the rest of the code under it
The Event should be created automatically, the programmer should write only the code under the event
Example:
you have a a form and you add a button to it. when you double click on the button, it should open the code editor with the event automatically created,ex: Bttn_OnClick
then , all you have to do is to write the code that acts upon when the button is clicked.
on the scenario I have seen, the programmer , will go to the code editor and write the event Bttn_onclick and the rest of the code under it
The Event should be created automatically, the programmer should write only the code under the event
As far as I know there's nothing like that available for Python.
None of the IDEs I've tried for Python supported that sort of functionality.
None of the IDEs I've tried for Python supported that sort of functionality.
ASKER
so how are you going to know the name of the Event to write?
let's you have a text box on the form, and you want each time the cursor is on that box, you make a message popup.
or drop-down arrow, each time you select an item from the list, it should show information about that item from other tables.
In VB or Delphi, when you are in Design mode on the form, you double click the component that you have added to the form, it will create Event procedure for you, you just need to write the code for that event inside the procedure.
let's you have a text box on the form, and you want each time the cursor is on that box, you make a message popup.
or drop-down arrow, each time you select an item from the list, it should show information about that item from other tables.
In VB or Delphi, when you are in Design mode on the form, you double click the component that you have added to the form, it will create Event procedure for you, you just need to write the code for that event inside the procedure.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I looked at Tkinter.
I am still wondering why programmer has to programmatically create frames and buttons and events, instead of having all that done by drag and drop with the mouse and fire up events.
I remember old Visual Basic and Delphi had that (I have not used for years) , they also had a component that you can drop on the form and connect to the Database.
Simple and quick to build an Application
why not on Python.
I downloaded PAGE, but I am not sure how good it is and whether it has limitations down the road
I am still wondering why programmer has to programmatically create frames and buttons and events, instead of having all that done by drag and drop with the mouse and fire up events.
I remember old Visual Basic and Delphi had that (I have not used for years) , they also had a component that you can drop on the form and connect to the Database.
Simple and quick to build an Application
why not on Python.
I downloaded PAGE, but I am not sure how good it is and whether it has limitations down the road
ASKER
I will check that
Tanks
Tanks