Ignore:
Timestamp:
May 2, 2010, 11:59:26 PM (15 years ago)
Author:
laleppa
Message:

Finished toolbar customization feature.
It is not available on handheld devices (mainly, because the customization dialog is too big for a small screen).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/3rdparty/qttoolbardialog-2.2_1-opensource/src/qttoolbardialog.cpp

    r117 r118  
    18211821    connect(d_ptr->ui.removeButton, SIGNAL(clicked()), this, SLOT(removeClicked()));
    18221822    connect(d_ptr->ui.renameButton, SIGNAL(clicked()), this, SLOT(renameClicked()));
    1823     connect(d_ptr->ui.defaultButton, SIGNAL(clicked()), this, SLOT(defaultClicked()));
    1824     connect(d_ptr->ui.okButton, SIGNAL(clicked()), this, SLOT(okClicked()));
    1825     connect(d_ptr->ui.applyButton, SIGNAL(clicked()), this, SLOT(applyClicked()));
    1826     connect(d_ptr->ui.cancelButton, SIGNAL(clicked()), this, SLOT(cancelClicked()));
     1823        connect(d_ptr->ui.buttonBox->button(QDialogButtonBox::RestoreDefaults), SIGNAL(clicked()), this, SLOT(defaultClicked()));
     1824        connect(d_ptr->ui.buttonBox->button(QDialogButtonBox::Save), SIGNAL(clicked()), this, SLOT(okClicked()));
     1825        connect(d_ptr->ui.buttonBox->button(QDialogButtonBox::Apply), SIGNAL(clicked()), this, SLOT(applyClicked()));
     1826        connect(d_ptr->ui.buttonBox->button(QDialogButtonBox::Close), SIGNAL(clicked()), this, SLOT(cancelClicked()));
    18271827    connect(d_ptr->ui.upButton, SIGNAL(clicked()), this, SLOT(upClicked()));
    18281828    connect(d_ptr->ui.downButton, SIGNAL(clicked()), this, SLOT(downClicked()));
Note: See TracChangeset for help on using the changeset viewer.