OESF Portal | OESF Forum | OESF Wiki | LinuxPDA | ELSI (coming soon) | Ibiblio


Welcome Guest ( Log In | Register )

> My first application: Done. A few questions
post Mar 13 2004, 06:45 PM
Post #1

Group: Members
Posts: 33
Joined: 28-February 04
Member No.: 2,078

I am new to Qt and C++ and only progran as a hobby. I got my Z one month ago. I just finished my first application thankx to some help from members of this board.

The app is just a Unit Conversion Program. Wrote it as a training exercise, not because anyone needed another conversion program! In any case I attached the source code to this message. (don't expect it to be pretty). I tested the file and it will compile and run under dev-x86-qpe environment, dev-arm-qpe and transferred to Z works fine; also under winXP envronment works fine. The program uses customizable text files as the conversion database. I included these data files in the attachment too. They should be in the same directory where you run the program from.

Here are my questions:

1) What is the best way to get the application to start full screen. What screen size should be used? My app seems to start a little bit less than full size and then I can maximize it.

2) I use a QLabel and a QLineedit. How can I set the color for those backgrounds?

3) The Lineedit accepts keyboard entry from the Sharp hardware. I tried to do a connect of the textChanged signal to a Slot in mysoftware but this never works. Maybe some one could look at that connect statement.

4) I used a setCaption, but the title doesn't appear in the title bar?

Sorry if some of these questions may be obvious, but I have spent hours searching and trying to resolve them.

I placed the files here too:

Go to the top of the page
+Quote Post

Posts in this topic

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 20th September 2017 - 03:30 AM