Changeset 5d22816 for src/gui


Ignore:
Timestamp:
02/01/10 13:11:34 (12 years ago)
Author:
pavelpa <pavelpa@…>
Branches:
master, qt5
Children:
8c4d4f7
Parents:
8896336
Message:

GUI changes for N810 device

Location:
src/gui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/gui/mainwindow.cpp

    r8896336 r5d22816  
    3131{
    3232    setupUi(this);
     33
     34#ifdef N810
     35    tabWidget->setTabText(1,"Favs");
     36    //tabWidget->setTabText(2,"Day");
     37#endif
    3338
    3439    // first time run aplication: -> let's have it direct connection in this case
     
    141146    Ui::AboutDialog ui;
    142147    ui.setupUi(&dialog);
     148#ifdef N810
     149    dialog.setFixedWidth(width());
     150#endif
    143151    dialog.exec();
    144152}
  • src/gui/tabcontainer.cpp

    r8896336 r5d22816  
    5050
    5151    EventDialog dialog(static_cast<Event*>(aIndex.internalPointer())->id(),this);
     52#ifdef N810
     53    dialog.setFixedWidth(static_cast<QWidget*>(parent())->width());
     54#endif
    5255    connect(&dialog, SIGNAL(eventHasChanged(int,bool)), this, SIGNAL(eventHasChanged(int,bool)));
    5356    dialog.exec();
     
    7982{
    8083    ConflictsDialog dialog(static_cast<Event*>(aIndex.internalPointer())->id(),this);
     84#ifdef N810
     85    dialog.setFixedWidth(static_cast<QWidget*>(parent())->width());
     86#endif
    8187    connect(&dialog, SIGNAL(eventHasChanged(int,bool)), this, SIGNAL(eventHasChanged(int,bool)));
    8288    dialog.exec();
Note: See TracChangeset for help on using the changeset viewer.