Changeset accae6b in confclerk_git


Ignore:
Timestamp:
04/19/12 23:42:57 (10 years ago)
Author:
Philipp Spitzer <philipp@…>
Branches:
master, qt5
Children:
2d11958
Parents:
a697dc1
Message:

Changed the alarm icon due to ticket #40. I haven't tried it because I don't have an N900 device.

Location:
src
Files:
3 added
2 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • src/gui/eventdialog.cpp

    ra697dc1 raccae6b  
    6060    if(event.hasAlarm())
    6161    {
    62         alarmButton->setIcon(QIcon(":/icons/appointment-soon.png"));
     62        alarmButton->setIcon(QIcon(":/icons/alarm-on.png"));
    6363    }
    6464}
     
    103103    {
    104104        event.setHasAlarm(false); // update DB
    105         alarmButton->setIcon(QIcon(":/icons/appointment-soon-off.png"));
     105        alarmButton->setIcon(QIcon(":/icons/alarm-off.png"));
    106106#ifdef MAEMO
    107107        // remove alarm from the 'alarmd' alrms list
     
    114114    {
    115115        event.setHasAlarm(true);
    116         alarmButton->setIcon(QIcon(":/icons/appointment-soon.png"));
     116        alarmButton->setIcon(QIcon(":/icons/alarm-on.png"));
    117117#ifdef MAEMO
    118118        // add alarm to the 'alarmd'
  • src/gui/eventdialog.ui

    ra697dc1 raccae6b  
    289289         <property name="icon">
    290290          <iconset resource="../icons.qrc">
    291            <normaloff>:/icons/appointment-soon-off.png</normaloff>:/icons/appointment-soon-off.png</iconset>
     291           <normaloff>:/icons/alarm-off.png</normaloff>:/icons/alarm-off.png</iconset>
    292292         </property>
    293293         <property name="iconSize">
  • src/icons.qrc

    ra697dc1 raccae6b  
    44        <file>icons/remove.png</file>
    55        <file>icons/reload.png</file>
    6         <file>icons/appointment-soon-off.png</file>
    7         <file>icons/appointment-soon.png</file>
    86        <file>icons/dialog-warning.png</file>
    97        <file>icons/search.png</file>
     
    119        <file>icons/favourite-off.png</file>
    1210        <file>icons/favourite-on.png</file>
     11        <file>icons/alarm-on.png</file>
     12        <file>icons/alarm-off.png</file>
    1313    </qresource>
    1414</RCC>
  • src/mvc/delegate.cpp

    ra697dc1 raccae6b  
    314314    // on
    315315    mControls.insert(AlarmControlOn,
    316                     new Control(AlarmControlOn, QString(":icons/appointment-soon.png"), mControls[FavouriteControlOn]));
     316                    new Control(AlarmControlOn, QString(":icons/alarm-on.png"), mControls[FavouriteControlOn]));
    317317    // off
    318318    mControls.insert(AlarmControlOff,
    319                     new Control(AlarmControlOff, QString(":icons/appointment-soon-off.png"), mControls[FavouriteControlOff]));
     319                    new Control(AlarmControlOff, QString(":icons/alarm-off.png"), mControls[FavouriteControlOff]));
    320320    // WARNING ICON
    321321    mControls.insert(WarningControl,
Note: See TracChangeset for help on using the changeset viewer.