这篇教程C++ typeChanged函数代码示例写得很实用,希望能帮到您。
本文整理汇总了C++中typeChanged函数的典型用法代码示例。如果您正苦于以下问题:C++ typeChanged函数的具体用法?C++ typeChanged怎么用?C++ typeChanged使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。 在下文中一共展示了typeChanged函数的27个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。 示例1: saveSettingsvoid MiningPage::startPressed(){ initThreads = ui->threadsBox->value(); if (minerActive == false) { saveSettings(); if (getMiningType() == ClientModel::SoloMining) { minerStarted(); typeChanged(0); } else { startPoolMining(); typeChanged(1); } } else { if (getMiningType() == ClientModel::SoloMining) { minerFinished(); typeChanged(0); } else { stopPoolMining(); typeChanged(1); } }}
开发者ID:365-Coin,项目名称:365coin,代码行数:33,
示例2: connectvoid QHtspService::_connectSignals(){ connect(d.data(), SIGNAL(caidChanged()), this, SIGNAL(caidChanged())); connect(d.data(), SIGNAL(canameChanged()), this, SIGNAL(canameChanged())); connect(d.data(), SIGNAL(nameChanged()), this, SIGNAL(typeChanged())); connect(d.data(), SIGNAL(typeChanged()), this, SIGNAL(nameChanged()));}
开发者ID:RobertMe,项目名称:QHtsp,代码行数:7,
示例3: setValuevoid Drink::setType(const QString &type){ if(type == this->type()) return; setValue(DrinkProperties::TypeAttribute,QVariant::fromValue<QString>(type)); emit typeChanged(type);}
开发者ID:lbproductions,项目名称:ProjectStatsMigration,代码行数:7,
示例4: QWidgetRuleWidget::RuleWidget(QWidget *parent) : QWidget(parent){ auto layout = new QVBoxLayout(this); auto firstline = new QHBoxLayout(); auto secondline = new QHBoxLayout(); layout->addLayout(firstline); layout->addLayout(secondline); firstline->addWidget(new QLabel(ifStr(), this)); column = new QComboBox(this); auto columnList = Statements::columnList(); for(auto columnName : columnList) column->addItem(columnName); firstline->addWidget(column); type = new QComboBox(this); for(auto typestr : Rules::typeList()) type->addItem(typestr); firstline->addWidget(type); value = new QLineEdit(this); firstline->addWidget(value); firstline->addWidget(new QLabel(",", this)); secondline->addWidget(new QLabel(thenStr(), this)); setCategories(secondline); connect(column, SIGNAL(currentIndexChanged(int)), this, SLOT(columnChanged(int))); connect(type, SIGNAL(currentIndexChanged(int)), this, SLOT(typeChanged(int))); connect(value, SIGNAL(textChanged(QString)), this, SLOT(valueChanged(QString))); type->setCurrentIndex(0); typeChanged(0);}
开发者ID:agabor,项目名称:platan,代码行数:30,
示例5: typeChangedvoid ShotgunField::setType(ShotgunField::Type t){ if (m_type != t) { m_type = t; emit typeChanged(m_type); }}
开发者ID:mjmvisser,项目名称:pug,代码行数:7,
示例6: switchint DialogSiteGrabber::qt_metacall(QMetaObject::Call _c, int _id, void **_a){ _id = QDialog::qt_metacall(_c, _id, _a); if (_id < 0) return _id; if (_c == QMetaObject::InvokeMetaMethod) { switch (_id) { case 0: runProject((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< QString(*)>(_a[3])),(*reinterpret_cast< QStringList(*)>(_a[4]))); break; case 1: next(); break; case 2: back(); break; case 3: run(); break; case 4: cancel(); break; case 5: addFilter(); break; case 6: browse(); break; case 7: pageChanged((*reinterpret_cast< int(*)>(_a[1]))); break; case 8: typeChanged((*reinterpret_cast< int(*)>(_a[1]))); break; case 9: lePNameChanged((*reinterpret_cast< QString(*)>(_a[1]))); break; case 10: lePDirChanged((*reinterpret_cast< QString(*)>(_a[1]))); break; case 11: lePURLChanged((*reinterpret_cast< QString(*)>(_a[1]))); break; case 12: leFTPURLChanged((*reinterpret_cast< QString(*)>(_a[1]))); break; default: ; } _id -= 13; } return _id;}
开发者ID:baka-ai,项目名称:Q-Uma-Download-Manager,代码行数:26,
示例7: VectorRow// Set the widgets from the data object.void AccountMaster::dataToWidget(){ _name->setText(_curr.name()); _number->setText(_curr.number()); _type->setCurrentItem(_curr.type()); _parent->setId(_curr.parentId()); _parentLookup->type->setCurrentText(_curr.typeName()); _parentLookup->skipId = _curr.id(); _header->setChecked(_curr.isHeader()); _lastRecon->setDate(_curr.lastReconciled()); _nextNum->setFixed(_curr.nextNumber()); _inactive->setChecked(!_curr.isActive()); // Set groups _groups->clear(); for (unsigned int i = 0; i < _curr.groups().size(); ++i) { VectorRow* row = new VectorRow(_groups->columns()); row->setValue(0, _curr.groups()[i]); _groups->appendRow(row); } _groups->appendRow(new VectorRow(_groups->columns())); typeChanged(_curr.type());}
开发者ID:cwarden,项目名称:quasar,代码行数:26,
示例8: typeChangedvoid QQmlNetwork::setType(const QQmlNetwork::Type &type){ if(m_type == type) return; m_type = type; emit typeChanged();}
开发者ID:JosephMillsAtWork,项目名称:InstallerFrontend,代码行数:7,
示例9: typeChangedvoid QDeclarativeMessageFilter::setType(FilterType type){ if (type == d->type) return; d->type = type; emit typeChanged();}
开发者ID:bavanisp,项目名称:qtmobility-1.1.0,代码行数:7,
示例10: switchint MiningPage::qt_metacall(QMetaObject::Call _c, int _id, void **_a){ _id = QWidget::qt_metacall(_c, _id, _a); if (_id < 0) return _id; if (_c == QMetaObject::InvokeMetaMethod) { switch (_id) { case 0: startPressed(); break; case 1: startPoolMining(); break; case 2: stopPoolMining(); break; case 3: updateSpeed(); break; case 4: loadSettings(); break; case 5: saveSettings(); break; case 6: reportToList((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< QString(*)>(_a[3]))); break; case 7: minerStarted(); break; case 8: minerError((*reinterpret_cast< QProcess::ProcessError(*)>(_a[1]))); break; case 9: minerFinished(); break; case 10: readProcessOutput(); break; case 11: { QString _r = getTime((*reinterpret_cast< QString(*)>(_a[1]))); if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; } break; case 12: enableMiningControls((*reinterpret_cast< bool(*)>(_a[1]))); break; case 13: enablePoolMiningControls((*reinterpret_cast< bool(*)>(_a[1]))); break; case 14: { ClientModel::MiningType _r = getMiningType(); if (_a[0]) *reinterpret_cast< ClientModel::MiningType*>(_a[0]) = _r; } break; case 15: typeChanged((*reinterpret_cast< int(*)>(_a[1]))); break; case 16: debugToggled((*reinterpret_cast< bool(*)>(_a[1]))); break; default: ; } _id -= 17; } return _id;}
开发者ID:signat,项目名称:bsacoin,代码行数:32,
示例11: typeChangedvoid Line::setType(int type){ this->lineType = type; this->update(0, 0, this->width(), this->height()); emit typeChanged();}
开发者ID:arcean,项目名称:charts,代码行数:7,
示例12: QWidgetDofEditor::DofEditor(QWidget *_parent) : QWidget(_parent){ setupUi(this); connect(checkBox, SIGNAL(stateChanged(int)), this, SLOT(activeChanged(int))); connect(comboBox, SIGNAL(currentIndexChanged(int)), this, SLOT(typeChanged(int))); connect(minSpinBox, SIGNAL(valueChanged(double)), this, SIGNAL(valueChanged())); connect(valueSpinBox, SIGNAL(valueChanged(double)), this, SIGNAL(valueChanged())); connect(maxSpinBox, SIGNAL(valueChanged(double)), this, SIGNAL(valueChanged())); comboBox->addItem("unlimited"); comboBox->addItem("limited"); comboBox->addItem("circular"); activeChanged(Qt::Unchecked); typeChanged(0); double min = -99, max = 99, tick = 0.1; minSpinBox->setRange(min, max); minSpinBox->setSingleStep(tick); valueSpinBox->setRange(min, max); valueSpinBox->setSingleStep(tick); maxSpinBox->setRange(min, max); maxSpinBox->setSingleStep(tick);}
开发者ID:benknopp,项目名称:wombat,代码行数:29,
示例13: typeChangedvoid TestItem::setType(const QString &type){ if (type.compare(type) != 0 ) { m_type = type; emit typeChanged(); emit dataChanged(); }}
开发者ID:Roadmaster,项目名称:checkbox,代码行数:7,
示例14: typeChangedvoid CommentaryObject::setType(const QString &type){ if (m_type != type) { m_type = type; emit typeChanged(); }}
开发者ID:metamaker,项目名称:todos,代码行数:7,
示例15: LH_MonitoringUIconst char *LH_MonitoringBar::userInit(){ if( const char *err = LH_Bar::userInit() ) return err; ui_ = new LH_MonitoringUI(this, mdmNumbers, true, false); setup_max_ = new LH_Qt_int(this, "Maximum", 100, 0, 99999); setup_max_->setHelp( "<p>The bar's maximum value.</p>"); setup_max_->setOrder(-3); connect( setup_max_, SIGNAL(changed()), this, SLOT(updateBounds()) ); setup_min_ = new LH_Qt_int(this, "Minimum", 0, 0, 99999); setup_min_->setHelp( "<p>The bar's minimum value.</p>"); setup_min_->setOrder(-3); connect( setup_min_, SIGNAL(changed()), this, SLOT(updateBounds()) ); (new LH_Qt_QString(this,("image-hr2"), QString("<hr>"), LH_FLAG_NOSAVE | LH_FLAG_NOSOURCE | LH_FLAG_NOSINK | LH_FLAG_HIDETITLE,lh_type_string_html ))->setOrder(-3); updateBounds(); connect(ui_, SIGNAL(appChanged()), this, SLOT(configChanged()) ); connect(ui_, SIGNAL(typeChanged()), this, SLOT(configChanged()) ); connect(ui_, SIGNAL(groupChanged()), this, SLOT(configChanged()) ); connect(ui_, SIGNAL(itemChanged()), this, SLOT(configChanged()) ); connect(ui_, SIGNAL(initialized()), this, SLOT(configChanged()) ); return 0;}
开发者ID:AllainFortier,项目名称:lcdhost,代码行数:28,
示例16: logMenuPropertyChangedvoid MenuItem::setType(QString type) { if(m_type != type) { m_type = type; logMenuPropertyChanged(m_type, "type"); typeChanged(m_type); }}
开发者ID:jkalweit,项目名称:free-pos,代码行数:7,
示例17: typeChangedvoidAccountMaster::setType(int type){ _orig.setType(Account::Type(type)); _type->setCurrentItem(type); typeChanged(type);}
开发者ID:cwarden,项目名称:quasar,代码行数:7,
示例18: typeChangedvoid Message::setType(const Type type){ if (m_type != type) { m_type = type; emit typeChanged(); }}
开发者ID:0x6368656174,项目名称:iqTerminal,代码行数:8,
示例19: typeChangedvoid Layer::setType(const Quasi::LayerType &type){ if (type != m_type){ m_type = type; emit typeChanged(); }}
开发者ID:alvloureiro,项目名称:Quasi-Engine,代码行数:8,
示例20: typeChangedvoid SpecialKey::setType(SpecialKey::Type type){ if(type != m_type) { m_type = type; emit typeChanged(); }}
开发者ID:KDE,项目名称:ktouch,代码行数:8,
示例21: typeChangedvoid QDeclarativeNdefFilter::setType(const QString &t){ if (m_type == t) return; m_type = t; emit typeChanged();}
开发者ID:CodeDJ,项目名称:qt5-hidpi,代码行数:8,
示例22: typeChangedvoid DeviceItem::setType(QString type){ if (m_type == type) return; m_type = type; emit typeChanged(type);}
开发者ID:toha-cat,项目名称:SHControlPanel,代码行数:8,
示例23: typeChangedvoid Phrase::setType(Phrase::Type type){ if (m_type == type) { return; } m_type = type; emit typeChanged();}
开发者ID:KDE,项目名称:artikulate,代码行数:8,
示例24: typeChangedvoid PreviewButtonItem::setType(KDecoration2::DecorationButtonType type){ if (m_type == type) { return; } m_type = type; emit typeChanged();}
开发者ID:8l,项目名称:kwin,代码行数:8,
示例25: typeChangedvoid PaperManager::setType(int t){ if( p->type == t ) return; p->type = t; emit typeChanged();}
开发者ID:Aseman-Land,项目名称:Papyrus,代码行数:8,
示例26: Q_Dvoid NewsFeedFilterInterface::setType(FeedType type){ Q_D(NewsFeedFilterInterface); if (d->type != type) { d->type = type; emit typeChanged(); }}
开发者ID:Morpog,项目名称:friends-sailfish,代码行数:8,
示例27: typeChangedvoid TiledObject::setType(const QString &type){ if(m_type == type) return; m_type = type; emit typeChanged();}
开发者ID:Bacon2D,项目名称:Bacon2D,代码行数:8,
注:本文中的typeChanged函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 C++ typeId函数代码示例 C++ type2char函数代码示例 |