void MagickFontDlgImpl::fillPointSizes()
{
int my_pointsizes[] = {4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,22,24,26,28,32,48,64,80,96,128,256};
for (int j = 0; j < 28; ++j)
{
this
->cboPoint
->insertItem
(QString::number(my_pointsizes
[j
]),j
);
}
this
->cboPoint
->setCurrentText
(QString::number(this
->getpsize
()));
}
void MagickFontDlgImpl::fillPointSizes()
{
int my_pointsizes[] = {4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,22,24,26,28,32,48,64,80,96,128,256};
for (int j = 0; j < 28; ++j)
{
this->cboPoint->insertItem(QString::number(my_pointsizes[j]),j);
}
this->cboPoint->setCurrentText(QString::number(this->getpsize()));
}
To copy to clipboard, switch view to plain text mode
comboTtf
= new QComboBox( FALSE, groupBox1,
"comboTtf" );
comboTtf
->setGeometry
( QRect( 128,
71,
111,
22 ) );
textLabel2
= new QLabel( groupBox1,
"textLabel2" );
textLabel2
->setGeometry
( QRect( 11,
111,
111,
25 ) );
textLabel2
->setMinimumSize
( QSize( 100,
25 ) );
textLabel2
->setBackgroundOrigin
( QLabel::WidgetOrigin );
cboPoint
= new QComboBox( FALSE, groupBox1,
"cboPoint" );
cboPoint
->setGeometry
( QRect( 130,
110,
110,
22 ) );
cboPoint->setEditable( TRUE );
layout105->addWidget( groupBox1 );
comboTtf = new QComboBox( FALSE, groupBox1, "comboTtf" );
comboTtf->setGeometry( QRect( 128, 71, 111, 22 ) );
textLabel2 = new QLabel( groupBox1, "textLabel2" );
textLabel2->setGeometry( QRect( 11, 111, 111, 25 ) );
textLabel2->setMinimumSize( QSize( 100, 25 ) );
textLabel2->setBackgroundOrigin( QLabel::WidgetOrigin );
cboPoint = new QComboBox( FALSE, groupBox1, "cboPoint" );
cboPoint->setGeometry( QRect( 130, 110, 110, 22 ) );
cboPoint->setEditable( TRUE );
layout105->addWidget( groupBox1 );
To copy to clipboard, switch view to plain text mode
Bookmarks