Changeset 3cadf24d00 in tspsg for src/settingsdialog.cpp


Ignore:
Timestamp:
Jun 22, 2010, 3:38:24 PM (14 years ago)
Author:
Oleksii Serdiuk
Branches:
0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
Children:
e9db3e216b
Parents:
bcd2a3b47a
git-author:
Oleksii Serdiuk <contacts@…> (06/22/10 15:38:24)
git-committer:
Oleksii Serdiuk <contacts@…> (06/29/12 19:41:43)
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/settingsdialog.cpp

    rbcd2a3b47a r3cadf24d00  
    3535        setupUi(this);
    3636
    37         buttonBox->button(QDialogButtonBox::Save)->setIcon(QIcon(":/images/icons/dialog-ok.png"));
    38         buttonBox->button(QDialogButtonBox::Save)->setStatusTip(tr("Save new preferences"));
    39         buttonBox->button(QDialogButtonBox::Save)->setCursor(QCursor(Qt::PointingHandCursor));
    40         buttonBox->button(QDialogButtonBox::Cancel)->setIcon(QIcon(":/images/icons/dialog-cancel.png"));
     37        setWindowIcon(QIcon::fromTheme("preferences-system", QIcon(":/images/icons/preferences-system.png")));
     38
     39        buttonBox->button(QDialogButtonBox::Ok)->setIcon(QIcon::fromTheme("dialog-ok", QIcon(":/images/icons/dialog-ok.png")));
     40        buttonBox->button(QDialogButtonBox::Ok)->setStatusTip(tr("Save new preferences"));
     41        buttonBox->button(QDialogButtonBox::Ok)->setCursor(QCursor(Qt::PointingHandCursor));
     42        buttonBox->button(QDialogButtonBox::Cancel)->setIcon(QIcon::fromTheme("dialog-cancel", QIcon(":/images/icons/dialog-cancel.png")));
    4143        buttonBox->button(QDialogButtonBox::Cancel)->setStatusTip(tr("Close without saving preferences"));
    4244        buttonBox->button(QDialogButtonBox::Cancel)->setCursor(QCursor(Qt::PointingHandCursor));
     45
     46        buttonColor->setIcon(QIcon::fromTheme("format-text-color", QIcon(":/images/icons/format-text-color.png")));
     47        buttonFont->setIcon(QIcon::fromTheme("preferences-desktop-font", QIcon(":/images/icons/preferences-desktop-font.png")));
     48        buttonHelp->setIcon(QIcon::fromTheme("help-hint", QIcon(":/images/icons/help-hint.png")));
    4349
    4450QPalette p = bgWhite->palette();
     
    108114        imgIcon->setSizePolicy(QSizePolicy::Fixed,QSizePolicy::Expanding);
    109115        imgIcon->setFrameShape(QFrame::NoFrame);
    110         imgIcon->setPixmap(QPixmap(":/images/icons/preferences-system.png"));
     116        imgIcon->setPixmap(QIcon::fromTheme("preferences-system", QIcon(":/images/icons/preferences-system.png")).pixmap(128, 128));
    111117        imgIcon->setStyleSheet("background-color: #0080C0; padding-top: 11px;");
    112118        imgIcon->setAlignment(Qt::AlignTop | Qt::AlignHCenter);
Note: See TracChangeset for help on using the changeset viewer.