user interface - writing a gui application that acts a cash register in Qt -
please me answer following question: write gui acts cash register. in other words, client brings basket of items, bar-codes scanned, , total calculated. main window should have menu bar 2 menus: "sale" , "item". sale menu should have following options: "new", "cancel", "finalise" , "exit". item menu should have following options: "add" , "remove". main window should have toolbar (at bottom of window) toolbar button each of these options.
when program starts, "cancel", "finalise", "add" , "remove" options should displayed (on menus , toolbar).
i using qt. supposed code gui manually. not supposed use qt designer create user interface. have read relevant material not know how start tackling question.
this doesn't sound bad, know can it.
what want start out main function looking this...
#include <qapplication> #include <qpushbutton> int main(int argc, char **argv) { qapplication app (argc, argv); qpushbutton salebutton ("sale"); salebutton.show(); return app.exec(); }
that give window sale button on it! need customize liking, , add more buttons. biggest challenge face signals/slots connected buttons able make them things.
take @ page more guidance. https://wiki.qt.io/qt_for_beginners
Comments
Post a Comment