widget - QT Creator Keypad -
so have app developing in qt , have fair amount of c/c++ experience first foray gui design being said have app functioning want function repeating alot of code keypad copy , pasting each ui file corrosponding dialog windows , copy slots it
void login_dialog::on_kp1_clicked() qkeyevent key(qkeyevent::keypress, qt::key_1, qt::nomodifier, "1", false, 0 ); qapplication::sendevent(this->focuswidget(), &key); wondering how can create separate ui/cpp/h files corrosponding slots , embed in dialogs want use it
you can directly used qt virtual keyboard 1.1 keypad layout.
if want costume layout keypad. need create qwidgets of costume layouts of keypad. bellow link provided guidance create costume qwidget in qt:
Comments
Post a Comment