DissipatoreProcessoreAddWidget::DissipatoreProcessoreAddWidget(QWidget* parent):QWidget(parent){
    createLabels();
    createLineEdits();
    createCheckBoxes();
    createDoubleSpinBoxes();

    QGridLayout* gridLayout=new QGridLayout;
    gridLayout->addWidget(nomeLabelDissipatoreProcessore,0,0,1,1);
    gridLayout->addWidget(nomeLineEditDissipatoreProcessore,0,1,1,1);
    gridLayout->addWidget(prezzoLabelDissipatoreProcessore,1,0,1,1);
    gridLayout->addWidget(prezzoDoubleSpinBoxDissipatoreProcessore,1,1,1,1);
    gridLayout->addWidget(produttoreLabelDissipatoreProcessore,2,0,1,1);
    gridLayout->addWidget(produttoreLineEditDissipatoreProcessore,2,1,1,1);
    gridLayout->addWidget(socketSupportatiLabelDissipatoreProcessore,3,0,1,1);
    gridLayout->addWidget(socketSupportatiLineEditDissipatoreProcessore,3,1,1,1);
    gridLayout->addWidget(rpmVentolaLabelDissipatoreProcessore,4,0,1,1);
    gridLayout->addWidget(rpmVentolaLineEditDissipatoreProcessore,4,1,1,1);
    gridLayout->addWidget(altezzaLabelDissipatoreProcessore,5,0,1,1);
    gridLayout->addWidget(altezzaLineEditDissipatoreProcessore,5,1,1,1);
    gridLayout->addWidget(raffreddamentoALiquidoCheckBoxDissipatoreProcessore,6,1,1,1);
    gridLayout->addWidget(altezzaRadiatoreLabelDissipatoreProcessore,7,0,1,1);
    gridLayout->addWidget(altezzaRadiatoreLineEditDissipatoreProcessore,7,1,1,1);
    gridLayout->addWidget(livelloRumoreLabelDissipatoreProcessore,8,0,1,1);
    gridLayout->addWidget(livelloRumoreLineEditDissipatoreProcessore,8,1,1,1);
    setLayout(gridLayout);
}
Exemplo n.º 2
0
SchedaGraficaAddWidget::SchedaGraficaAddWidget(QWidget* parent):QWidget(parent){
    createLabels();
    createLineEdits();
    createDoubleSpinBoxes();

    QGridLayout* gridLayout=new QGridLayout;
    gridLayout->addWidget(nomeLabelSchedaGrafica,0,0,1,1);
    gridLayout->addWidget(nomeLineEditSchedaGrafica,0,1,1,1);
    gridLayout->addWidget(prezzoLabelSchedaGrafica,1,0,1,1);
    gridLayout->addWidget(prezzoDoubleSpinBoxSchedaGrafica,1,1,1,1);
    gridLayout->addWidget(produttoreLabelSchedaGrafica,2,0,1,1);
    gridLayout->addWidget(produttoreLineEditSchedaGrafica,2,1,1,1);
    gridLayout->addWidget(interfacciaLabelSchedaGrafica,3,0,1,1);
    gridLayout->addWidget(interfacciaLineEditSchedaGrafica,3,1,1,1);
    gridLayout->addWidget(chipsetLabelSchedaGrafica,4,0,1,1);
    gridLayout->addWidget(chipsetLineEditSchedaGrafica,4,1,1,1);
    gridLayout->addWidget(memoriaLabelSchedaGrafica,5,0,1,1);
    gridLayout->addWidget(memoriaLineEditSchedaGrafica,5,1,1,1);
    gridLayout->addWidget(tipologiaMemoriaLabelSchedaGrafica,6,0,1,1);
    gridLayout->addWidget(tipologiaMemoriaLineEditSchedaGrafica,6,1,1,1);
    gridLayout->addWidget(frequenzaCoreLabelSchedaGrafica,7,0,1,1);
    gridLayout->addWidget(frequenzaCoreLineEditSchedaGrafica,7,1,1,1);
    gridLayout->addWidget(tdpLabelSchedaGrafica,8,0,1,1);
    gridLayout->addWidget(tdpLineEditSchedaGrafica,8,1,1,1);
    gridLayout->addWidget(supportoSLILabelSchedaGrafica,9,0,1,1);
    gridLayout->addWidget(supportoSLILineEditSchedaGrafica,9,1,1,1);
    gridLayout->addWidget(supportoCrossfireLabelSchedaGrafica,10,0,1,1);
    gridLayout->addWidget(supportoCrossfireLineEditSchedaGrafica,10,1,1,1);
    gridLayout->addWidget(lunghezzaLabelSchedaGrafica,11,0,1,1);
    gridLayout->addWidget(lunghezzaLineEditSchedaGrafica,11,1,1,1);
    setLayout(gridLayout);
}
Exemplo n.º 3
0
//! [0]
Window::Window()
{
    createSpinBoxes();
    createDateTimeEdits();
    createDoubleSpinBoxes();

    QHBoxLayout *layout = new QHBoxLayout;
    layout->addWidget(spinBoxesGroup);
    layout->addWidget(editsGroup);
    layout->addWidget(doubleSpinBoxesGroup);
    setLayout(layout);

    setWindowTitle(tr("Spin Boxes"));
}
Exemplo n.º 4
0
///
///
/// \param parent
///
Window::Window(QWidget *parent) : QWidget(parent) {
  createSpinBoxes();
  createDateTimeEdits();
  createDoubleSpinBoxes();
  setMyStyleSheet();

  QHBoxLayout *layout = new QHBoxLayout;
  layout->addWidget(spinBoxesGroup);
  layout->addWidget(editsGroup);
  layout->addWidget(doubleSpinBoxesGroup);
  this->setLayout(layout);

  this->setWindowTitle(tr("Spin Boxes"));
  this->setFixedSize(sizeHint());
}
Exemplo n.º 5
0
MemoriaAddWidget::MemoriaAddWidget(QWidget* parent):QWidget(parent){
    createLabels();
    createLineEdits();
    createDoubleSpinBoxes();
    createSpinBoxes();
    QGridLayout* gridLayout=new QGridLayout;
    gridLayout->addWidget(nomeLabelMemoria,0,0,1,1);
    gridLayout->addWidget(nomeLineEditMemoria,0,1,1,1);
    gridLayout->addWidget(prezzoLabelMemoria,1,0,1,1);
    gridLayout->addWidget(prezzoDoubleSpinBoxMemoria,1,1,1,1);
    gridLayout->addWidget(produttoreLabelMemoria,2,0,1,1);
    gridLayout->addWidget(produttoreLineEditMemoria,2,1,1,1);
    gridLayout->addWidget(latenzaLabelMemoria,3,0,1,1);
    gridLayout->addWidget(latenzaSpinBoxMemoria,3,1,1,1);
    gridLayout->addWidget(velocitaLabelMemoria,4,0,1,1);
    gridLayout->addWidget(velocitaLineEditMemoria,4,1,1,1);
    gridLayout->addWidget(capacitaLabelMemoria,5,0,1,1);
    gridLayout->addWidget(capacitaLineEditMemoria,5,1,1,1);
    gridLayout->addWidget(tipologiaLabelMemoria,6,0,1,1);
    gridLayout->addWidget(tipologiaLineEditMemoria,6,1,1,1);
    setLayout(gridLayout);
}
Exemplo n.º 6
0
AltoparlantiAddWidget::AltoparlantiAddWidget(QWidget* parent):QWidget(parent){
    createLabels();
    createLineEdits();
    createDoubleSpinBoxes();

    QGridLayout* gridLayout=new QGridLayout;
    gridLayout->addWidget(nomeLabelAltoparlanti,0,0,1,1);
    gridLayout->addWidget(nomeLineEditAltoparlanti,0,1,1,1);
    gridLayout->addWidget(prezzoLabelAltoparlanti,1,0,1,1);
    gridLayout->addWidget(prezzoDoubleSpinBoxAltoparlanti,1,1,1,1);
    gridLayout->addWidget(produttoreLabelAltoparlanti,2,0,1,1);
    gridLayout->addWidget(produttoreLineEditAltoparlanti,2,1,1,1);
    gridLayout->addWidget(coloreLabelAltoparlanti,3,0,1,1);
    gridLayout->addWidget(coloreLineEditAltoparlanti,3,1,1,1);
    gridLayout->addWidget(configurazioneLabelAltoparlanti,4,0,1,1);
    gridLayout->addWidget(configurazioneLineEditAltoparlanti,4,1,1,1);
    gridLayout->addWidget(frequenzaDiRispostaLabelAltoparlanti,5,0,1,1);
    gridLayout->addWidget(frequenzaDiRispostaLineEditAltoparlanti,5,1,1,1);
    gridLayout->addWidget(potenzaTotaleLabelAltoparlanti,6,0,1,1);
    gridLayout->addWidget(potenzaTotaleLineEditAltoparlanti,6,1,1,1);
    gridLayout->addWidget(potenzeLabelAltoparlanti,7,0,1,1);
    gridLayout->addWidget(potenzeLineEditAltoparlanti,7,1,1,1);
    setLayout(gridLayout);
}