DialPad
-
Well... in principle, it is not much more than a grid with some buttons, right? So... perhaps a QGridLayout and a bunch of QPushButtons should get you started?
If this is not what you're looking for, you should rephrase your question to try to make it clear to us what you're after, what you have tried so far, and what it is exactly that you need help with. Of course, also make clear what device (series) you are targeting.
-
I tried using designer and creator with the principle you have given but am confused whether I should connect every button to the lineEdit to display the keypressed or is it fine to use buttongroup?
Anyway I tried both but to get the data of every key pressed how could I call a single function for that or should I include the line of code to update my lineEdit for everykey pressed?
Presently am using it on linux platform and later want to cross compile to the required target.Please help.
Edit (Andre): removed superfluous > characters. Please try to construct readable text.
-
[quote author="Revu" date="1298978718"]@Andre:Thank you for your support but,one request please be polite to me.
[/quote]You're wasting peoples time with comments like this:
bq. Sorry I could not do that.. :(
So, step back and think about yourself before crying!
-
Here is the code to create a button with the digits(found in calculator example)
@ for (int i = 0; i < NumDigitButtons; ++i) {
digitButtons[i] = createButton(QString::number(i), SLOT(digitClicked()));
}
@to create buttons with alphabets,I tried using QString::QChar ch in place of QString::number(i).Is that right way to proceed further or any other idea?
-
Hi, I posted a reply to a similar question in the Qt Center, see this "link":http://www.qtcentre.org/threads/31501-Making-a-KeyBoard-into-LCD-connected-with-the-ARM-board.how-can-i?p=149618&highlight=#post149618. I am using QGraphicsView with QGraphicsItems.