|
|
2010-06-22
, 05:54
|
|
|
Posts: 152 |
Thanked: 91 times |
Joined on Dec 2009
@ Spain
|
#2
|
|
|
2010-06-22
, 06:01
|
|
Posts: 7 |
Thanked: 1 time |
Joined on May 2010
|
#3
|
|
|
2010-06-22
, 06:26
|
|
|
Posts: 152 |
Thanked: 91 times |
Joined on Dec 2009
@ Spain
|
#4
|
|
|
2010-06-22
, 06:40
|
|
Posts: 7 |
Thanked: 1 time |
Joined on May 2010
|
#5
|
if you start fromterminal, I think you have to pass style parameter. somethnig like
./qrua -style hilton
I had similar problems, they disappered when I started my application from a desktop link
|
|
2010-06-22
, 08:03
|
|
Posts: 3,617 |
Thanked: 2,411 times |
Joined on Nov 2009
@ Cambridge, UK
|
#6
|
Yes, it works. It isn't the hildon style like in the scratchbox, but it works.
thank you.
How do you start your application from a desktop link ?
I've created a .deb and install it using dpkg -i in root modus on the terminal, but i haven't a desktop link.
Do i have to change something in the deb files they have created ?
I have developed a app who shows the data from a vcard and it runs very well on scratchbox. But, when i transfered the app to the device all the QlineEdit were black.
My english is very bad and for explain it better, i add a screenshots
the code that i have is:
void VCard_handler::splitData(char* user_data, QWidget* parent) { row = 0; main_container = new QWidget(parent); main_grid = new QGridLayout(main_container); scrollArea = new QScrollArea(); main_grid->addWidget(scrollArea, 0, 0, 2, 4, Qt::AlignCenter); container = new QWidget(); grid = new QGridLayout(container); buttoncancel = new QPushButton("Cancel"); buttonsave = new QPushButton("Save"); main_grid->addWidget(buttoncancel, 3, 2, Qt::AlignRight); main_grid->addWidget(buttonsave, 3, 3, Qt::AlignLeft); scrollArea->setWidget(container); contact = e_contact_new_from_vcard (user_data); vcard = e_vcard_new_from_string(user_data); if(e_vcard_get_attribute (vcard, EVC_N) != NULL) { name = new QLineEdit(); QLabel* N = new QLabel("Name: ", scrollArea); EContactName* field = (EContactName*) e_contact_get(contact, E_CONTACT_NAME); name->setText(QString::fromUtf8(e_contact_name_to_string(field))); } container->resize(800, 400); scrollArea->resize(800, 400); main_container->resize(800, 400); scrollArea->show(); container->show(); main_container->show(); } void VCard_handler::nameChanged() { EContactName* new_name = e_contact_name_from_string (name->text().toUtf8()); e_contact_set (contact, E_CONTACT_NAME, new_name); }