×

Discussion Board

Search:

Type: Posts; User: hainingwu; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    14
    Views
    8,505

    Re: Resizing images on QLabel

    I don't know. That's one thing I am concerning. I would try different sizes and find the best one. I thought there should be some ways to set the size proportional to the screen size. Or I can...
  2. Replies
    14
    Views
    8,505

    Re: Resizing images on QLabel

    Sorry, I do want to fit the label on the screen. That is the most important thing to me. I was just trying to fit the label by scaling the item. So now the problem might come from QGridLayout, since...
  3. Replies
    14
    Views
    8,505

    Re: Resizing images on QLabel

    Yes! Something like this. I noticed that the image size was changed by calling label::setGeometry() in the auto-generated ui code. Is that what you are trying to tell me?
  4. Replies
    14
    Views
    8,505

    Re: Resizing images on QLabel

    I guess we need to look something more. Enabling scaledContents seems not enough.
  5. Replies
    14
    Views
    8,505

    Re: Resizing images on QLabel

    I am not using Qt designer so everything is coded by hand. :(
    I just couldn't find the function that controls the scaling of labels.
  6. Replies
    14
    Views
    8,505

    Re: Resizing images on QLabel

    I tried to enable scaledContents and then call QLabel.resize() but the images are still the same. Am I using it in the right way?
  7. Replies
    14
    Views
    8,505

    Resizing images on QLabel

    I have Qlabels on a 8*4 gridlayout. Some of the labels on the grid are texts, some of them are images. Now the size of the image is too big so not all the contents can be displayed well on the...
  8. Replies
    7
    Views
    9,174

    Re: Remove the statusbar from QMainWindow

    When the application is in full screen, the softkey menu is hidden. Is there anyway to solve this problem?
  9. Replies
    7
    Views
    9,174

    Remove the statusbar from QMainWindow

    Is it possible to remove the information on the top of the screen from a QMainWindow class? I mean like the battery info, the program title, time, and signal info. I don't want those stuff to appear...
  10. Replies
    5
    Views
    4,803

    How to add image icon & background

    I have some .png files to be used as backgrounds and icons. How to add the image resources into my project? The example code on the forum reads images like this: "QPixmap pixmap("c://image.png");"....
  11. Replies
    9
    Views
    4,674

    Re: "OK" key event

    Now I am sure the code of the OK key is 63557. I think the problem is that when the focus is on a QListWidget, I couldn't catch the event. The event was caught by QListWidget and it jumps into a new...
  12. Thread: GCCE build

    by hainingwu
    Replies
    21
    Views
    6,573

    Re: GCCE build

    I installed the following files on my device:

    openc_ssl_s60_1_5_5b.sis
    pips_s60_1_5_5b.sis
    stdcpp_s60_1_5_5b.sis
    qt_libs.sis

    I am not sure what version of qt_libs.sis is. I assume this is...
  13. Thread: GCCE build

    by hainingwu
    Replies
    21
    Views
    6,573

    Re: GCCE build

    Ok, thanks all you guys, finally I created the .sis file and installed the application on my E65. Then when I execute the program, there's a message saying something like "The function is not...
  14. Thread: GCCE build

    by hainingwu
    Replies
    21
    Views
    6,573

    Re: GCCE build

    Yes!! It worked on my machine! Thanks!!!
  15. Thread: GCCE build

    by hainingwu
    Replies
    21
    Views
    6,573

    Re: GCCE build

    After I manually set the environment variable EPOCROOT to my Symbian SDK path, the error above disappeared and it seemed like doing something. But still it's not like a successful compilation. I only...
  16. Thread: GCCE build

    by hainingwu
    Replies
    21
    Views
    6,573

    Re: GCCE build

    I got the same error:

    ABLD ERROR: "\S60\devices\S60_3rd_FP2_SDK_v1.1\EPOC32\BUILD\Symbian\Carbide\workspace\MobileCaddy\GCCE.make" not yet created
  17. Thread: GCCE build

    by hainingwu
    Replies
    21
    Views
    6,573

    Re: GCCE build

    Do you mean I need to start the Qt command from the start menu, and then change the directory to my project folder and then just type "make release-gcce" under my project folder?
  18. Thread: GCCE build

    by hainingwu
    Replies
    21
    Views
    6,573

    Re: GCCE build

    Actually, I am using "tower". I downloaded the binary package, and just executed the file to install the SDK. And I am sure CSL ARM toolchain was installed. Should I do something more in order to get...
  19. Thread: GCCE build

    by hainingwu
    Replies
    21
    Views
    6,573

    GCCE build

    Hello,

    I followed the instructions on the document to build my project for real devices. However, I couldn't find the option "Phone Debug(GCCE)" or "Phone Release(GCCE)" in the build...
  20. Replies
    0
    Views
    4,410

    sqlite insert problem

    I created a table with this statement:



    QSqlQuery query;
    query.exec("CREATE TABLE IF NOT EXISTS teeee(teeee_id INT, distance INTEGER, type TEXT, PRIMARY KEY (teeee_id))");


    And then I...
  21. Replies
    9
    Views
    4,674

    Re: "OK" key event

    No. I've tried EKeyEnter, EKeyTab as well, but none of them worked.

    haining
  22. Replies
    5
    Views
    3,692

    Re: File processing

    Regarding the file upload problem, I know what's going on. The file path of the emulator is located here: "C:\S60\devices\S60_3rd_FP2_SDK_v1.1\epoc32\winscw\c". So I just need to copy my file to this...
  23. Replies
    5
    Views
    3,692

    Re: File processing

    Yes, I want to read/write a file on S60. Now I have a file on my desktop, and if I want to test my application with the emulator, I need to somehow put the file into the emulator?

    How about the...
  24. Replies
    9
    Views
    4,674

    "OK" key event

    I want to catch the key event of the "ok" key. (The key in the middle of the four arrow keys.) The document here...
  25. Replies
    5
    Views
    3,692

    File processing

    How can I upload a file to the emulator and use QFile to access the file? Also, I am wondering if it is possible to print messages on the console of Carbide C++ when running the S60 application. Now...
Results 1 to 25 of 34
Page 1 of 2 1 2