
Originally Posted by
jacek
When you trigger that slot using clicked() signal, then it means that updateGeometry() doesn't work for some other reason.
Why do you want to invoke it anyway?
it compliments for Your Master's Degree in Computer Science ...
Work if the screen qwidget is not fullscreen ... by fullscren is same as pictures ..
http://ppk.ciz.ch/format/images/flowlayout_line.png
void Compose_Fak::RepainterWindowNow()
{
int xh = height(); /* incomming emit ReloadPageFull() */
int xw = width();
resize(xw + 10,xh);
resize(xw,xh);
}
void Compose_Fak::AppendLine()
{
int sumflow = flow->count();
if ( sumflow < 9) {
summlinerfak++;
fiocco = new ItemLine(piano_centrale);
fiocco->setNumerate(summlinerfak);
fiocco->setTitle("Testo di descrizione");
fiocco->setQuant(2.5);
fiocco->setUnitprice(1.16);
flow->addWidget(fiocco);
/*QSize actualf = flow->sizeHint();
int hsww = actualf.height();
int wsww = actualf.width();
qDebug() << "### misura .. alto=" << hsww << " largo=" << wsww; */
lines.append( fiocco ); /* QList<ItemLine *> lines; */
} else {
aggiungilineax->setDisabled (true); /* disable button */
}
emit ReloadPageFull();
}
void Compose_Fak::RepainterWindowNow()
{
int xh = height(); /* incomming emit ReloadPageFull() */
int xw = width();
resize(xw + 10,xh);
resize(xw,xh);
}
void Compose_Fak::AppendLine()
{
int sumflow = flow->count();
if ( sumflow < 9) {
summlinerfak++;
fiocco = new ItemLine(piano_centrale);
fiocco->setNumerate(summlinerfak);
fiocco->setTitle("Testo di descrizione");
fiocco->setQuant(2.5);
fiocco->setUnitprice(1.16);
flow->addWidget(fiocco);
/*QSize actualf = flow->sizeHint();
int hsww = actualf.height();
int wsww = actualf.width();
qDebug() << "### misura .. alto=" << hsww << " largo=" << wsww; */
lines.append( fiocco ); /* QList<ItemLine *> lines; */
} else {
aggiungilineax->setDisabled (true); /* disable button */
}
emit ReloadPageFull();
}
To copy to clipboard, switch view to plain text mode
Bookmarks