Changeset 3cadf24d00 in tspsg for src/settingsdialog.cpp
- Timestamp:
- Jun 22, 2010, 3:38:24 PM (14 years ago)
- 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)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/settingsdialog.cpp
rbcd2a3b47a r3cadf24d00 35 35 setupUi(this); 36 36 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"))); 41 43 buttonBox->button(QDialogButtonBox::Cancel)->setStatusTip(tr("Close without saving preferences")); 42 44 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"))); 43 49 44 50 QPalette p = bgWhite->palette(); … … 108 114 imgIcon->setSizePolicy(QSizePolicy::Fixed,QSizePolicy::Expanding); 109 115 imgIcon->setFrameShape(QFrame::NoFrame); 110 imgIcon->setPixmap(Q Pixmap(":/images/icons/preferences-system.png"));116 imgIcon->setPixmap(QIcon::fromTheme("preferences-system", QIcon(":/images/icons/preferences-system.png")).pixmap(128, 128)); 111 117 imgIcon->setStyleSheet("background-color: #0080C0; padding-top: 11px;"); 112 118 imgIcon->setAlignment(Qt::AlignTop | Qt::AlignHCenter);
Note: See TracChangeset
for help on using the changeset viewer.