RectControl::RectControl() : m_point(new CoordinateControl(QLatin1String("+"))) , m_size(new CoordinateControl(QLatin1String("x"))) { QHBoxLayout *l = new QHBoxLayout(this); l->setSpacing(0); l->setMargin(ControlLayoutMargin); connect(m_point, SIGNAL(pointValueChanged(QPoint)), this, SLOT(handleChanged())); connect(m_point, SIGNAL(pointValueChanged(QPoint)), this, SIGNAL(positionChanged(QPoint))); l->addWidget(m_point); l->addSpacerItem(new QSpacerItem(0, 0, QSizePolicy::MinimumExpanding, QSizePolicy::Ignored)); connect(m_size, SIGNAL(sizeValueChanged(QSize)), this, SLOT(handleChanged())); connect(m_size, SIGNAL(sizeValueChanged(QSize)), this, SIGNAL(sizeChanged(QSize))); l->addWidget(m_size); }
void HalSignal::setHandle(int arg) { if (m_handle != arg) { m_handle = arg; emit handleChanged(arg); } }
void GuiItem::setHandle(QString handle) { if (m_handle == handle) return; m_handle = handle; emit handleChanged(handle); }
SingleColumnAccountModel::SingleColumnAccountModel(AccountModel* parent,bool showBalances_,bool showAllAccounts_, QString hintText_) : QAbstractTableModel() , parentModel(parent) , showBalances(showBalances_) , showAllAccounts(showAllAccounts_) , hintText(hintText_) { connect(parent, SIGNAL(dataChanged(QModelIndex,QModelIndex)), this, SLOT(handleChanged(QModelIndex,QModelIndex))); }
void QRenderTargetSysBase::changeEvent(QEvent *Evt) { if (QEvent::ParentChange == Evt->type() && mDeviceContext != NULL) { ReleaseDC(handle(), mDeviceContext); mDeviceContext = 0; handleChanged(); } QWidget::changeEvent(Evt); }
void TabBar::tabRemoved(int index) { QTabBar::tabRemoved(index); handleChanged(currentIndex()); }
void TabBar::tabInserted(int index) { QTabBar::tabInserted(index); handleChanged(currentIndex()); }