464 QVBoxLayout *layout =
new QVBoxLayout(
this);
465 layout->setMargin(4);
466 layout->setSpacing(8);
467 QLabel *
l =
new QLabel(
this);
468 l->setText(tr(
"Provide some information " 469 "about the project you are documenting"));
470 layout->addWidget(l);
471 QWidget *
w =
new QWidget(
this );
472 QGridLayout *grid =
new QGridLayout(w);
473 grid->setSpacing(10);
476 QLabel *projName =
new QLabel(
this);
477 projName->setText(tr(
"Project name:"));
480 QLabel *projBrief =
new QLabel(
this);
481 projBrief->setText(tr(
"Project synopsis:"));
484 QLabel *projVersion =
new QLabel(
this);
485 projVersion->setText(tr(
"Project version or id:"));
488 QLabel *projLogo =
new QLabel(
this);
489 projLogo->setMinimumSize(1,55);
490 projLogo->setText(tr(
"Project logo:"));
493 grid->addWidget(projName,0,0);
494 grid->addWidget(projBrief,1,0);
495 grid->addWidget(projVersion,2,0);
496 grid->addWidget(projLogo,3,0);
501 QPushButton *projIconSel =
new QPushButton(
this);
502 projIconSel->setText(tr(
"Select..."));
508 grid->addWidget(projIconSel,3,1);
511 grid->setColumnStretch(2,1);
515 layout->addWidget(w);
518 QFrame *
f =
new QFrame(
this );
519 f->setFrameStyle( QFrame::HLine | QFrame::Sunken );
520 layout->addWidget(f);
522 l =
new QLabel(
this);
523 l->setText(tr(
"Specify the directory to scan for source code"));
524 layout->addWidget(l);
525 QWidget *
row =
new QWidget;
526 QHBoxLayout *rowLayout =
new QHBoxLayout(row);
527 rowLayout->setSpacing(10);
528 l =
new QLabel(
this);
529 l->setText(tr(
"Source code directory:"));
530 rowLayout->addWidget(l);
536 layout->addWidget(row);
544 f =
new QFrame(
this );
545 f->setFrameStyle( QFrame::HLine | QFrame::Sunken );
546 layout->addWidget(f);
548 l =
new QLabel(
this);
549 l->setText(tr(
"Specify the directory where doxygen should " 550 "put the generated documentation"));
551 layout->addWidget(l);
553 rowLayout =
new QHBoxLayout(row);
554 rowLayout->setSpacing(10);
555 l =
new QLabel(
this);
556 l->setText(tr(
"Destination directory:"));
557 rowLayout->addWidget(l);
563 layout->addWidget(row);
564 layout->addStretch(1);
567 connect(projIconSel,SIGNAL(clicked()),
void setDestinationDir(const QString &dir)
void setProjectName(const QString &name)
void setProjectBrief(const QString &desc)
The QString class provides an abstraction of Unicode text and the classic C null-terminated char arra...
const QHash< QString, Input * > & m_modelData
def connect(nxgraph, k1, k2, p1=0, p2=0, kwds)
QPushButton * m_dstSelectDir
QPushButton * m_srcSelectDir
void setProjectNumber(const QString &num)
void setRecursiveScan(int)
void selectDestinationDir()
void setSourceDir(const QString &dir)