mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-05 07:35:12 -04:00
Remorked GUI layout a little bit:
- made all pages have a bar with full width - added help button to each of them (needs adding text) - improved help system so that it's easy to register a new help button FriendsDialog still needs some cleaning. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6518 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
9c40fb878f
commit
d7e25e24e5
13 changed files with 848 additions and 714 deletions
|
@ -27,6 +27,7 @@
|
|||
#include <QTextBrowser>
|
||||
|
||||
class UserNotify;
|
||||
class QPushButton ;
|
||||
|
||||
class MainPage : public QWidget
|
||||
{
|
||||
|
@ -42,13 +43,13 @@ class MainPage : public QWidget
|
|||
// Overload this to add some help info to the page. The way the info is
|
||||
// shown is handled by showHelp() below;
|
||||
//
|
||||
virtual const QString& helpHtmlText() const { static QString s ; return s ; }
|
||||
void registerHelpButton(QPushButton *button, const QString& help_html_text) ;
|
||||
|
||||
public slots:
|
||||
private slots:
|
||||
void showHelp(bool b) ;
|
||||
|
||||
private:
|
||||
QTextBrowser *help_browser ;
|
||||
QTextBrowser *help_browser ;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue