mirror of
https://github.com/chris2511/xca.git
synced 2026-09-14 11:06:19 +05:00
fix documentation
This commit is contained in:
parent
6be660c3f6
commit
554fcdc6b4
51
ui/Help.ui
51
ui/Help.ui
@ -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>
|
||||
|
||||
@ -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ädt - "
|
||||
"version : <b>" VER "</b>"
|
||||
"<p>Copyright 2002 - 2006 by Christian Hohnstädt\n"
|
||||
"<p>Version : <b>" VER "</b>"
|
||||
"<p>%s<br>QT: %s"
|
||||
"<hr><table border=0>"
|
||||
"<tr><th align=left>Christian Hohnstädt</th><td><u><christian@hohnstaedt.de></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();
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user