fix documentation

This commit is contained in:
Christian 2006-05-23 22:36:24 +02:00
parent 6be660c3f6
commit 554fcdc6b4
2 changed files with 58 additions and 6 deletions

View File

@ -88,5 +88,54 @@
</widget>
<pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
<resources/>
<connections/>
<connections>
<connection>
<sender>buttonOk</sender>
<signal>clicked()</signal>
<receiver>Help</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel" >
<x>668</x>
<y>26</y>
</hint>
<hint type="destinationlabel" >
<x>520</x>
<y>19</y>
</hint>
</hints>
</connection>
<connection>
<sender>forward</sender>
<signal>clicked()</signal>
<receiver>textbox</receiver>
<slot>forward()</slot>
<hints>
<hint type="sourcelabel" >
<x>128</x>
<y>33</y>
</hint>
<hint type="destinationlabel" >
<x>189</x>
<y>161</y>
</hint>
</hints>
</connection>
<connection>
<sender>back</sender>
<signal>clicked()</signal>
<receiver>textbox</receiver>
<slot>backward()</slot>
<hints>
<hint type="sourcelabel" >
<x>57</x>
<y>25</y>
</hint>
<hint type="destinationlabel" >
<x>61</x>
<y>254</y>
</hint>
</hints>
</connection>
</connections>
</ui>

View File

@ -89,8 +89,8 @@ void MainWindow::about()
QString cont;
cont.sprintf("<p><h3><center><u>XCA</u></center></h3>"
"<p>Copyright 2002 - 2006 by Christian Hohnst&auml;dt - "
"version : <b>" VER "</b>"
"<p>Copyright 2002 - 2006 by Christian Hohnst&auml;dt\n"
"<p>Version : <b>" VER "</b>"
"<p>%s<br>QT: %s"
"<hr><table border=0>"
"<tr><th align=left>Christian Hohnst&auml;dt</th><td><u>&lt;christian@hohnstaedt.de&gt;</u></td></tr>"
@ -106,8 +106,8 @@ void MainWindow::about()
OPENSSL_VERSION_TEXT, QT_VERSION_STR );
about->setWindowTitle(tr(XCA_TITLE));
//ui.image->setPixmap( *keyImg );
//ui.image1->setPixmap( *certImg );
ui.image->setPixmap( *keyImg );
ui.image1->setPixmap( *certImg );
ui.textbox->setHtml(cont);
about->exec();
}
@ -117,8 +117,11 @@ void MainWindow::help()
QDialog *h = new QDialog(this, 0);
Ui::Help ui;
ui.setupUi(h);
QStringList path;
path << PREFIX "/share/xca";
//ui.textbox->setSearchPaths(path);
ui.textbox->setSource(QUrl("file://" PREFIX "/share/xca/xca.html"));
h->setWindowTitle(tr(XCA_TITLE));
ui.textbox->setSource(QUrl("file://xca.html"));
h->exec();
}