mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-22 06:09:09 -04:00
Replaced font handling by FontSizeHandler and reenabled deactivated item delegates
This commit is contained in:
parent
93154fddc4
commit
973246624f
31 changed files with 196 additions and 383 deletions
|
@ -26,6 +26,7 @@
|
|||
#include "gui/common/RSTreeWidgetItem.h"
|
||||
#include "ChatDialog.h"
|
||||
#include "PopupChatWindow.h"
|
||||
#include "util/FontSizeHandler.h"
|
||||
|
||||
// Q_DECLARE_METATYPE(RsGxsId)
|
||||
// Q_DECLARE_METATYPE(QList<RsGxsId>)
|
||||
|
@ -54,8 +55,6 @@ public:
|
|||
|
||||
inline bool isWindowed() const { return dynamic_cast<PopupChatWindow*>(this->window()) != nullptr; }
|
||||
|
||||
virtual void showEvent(QShowEvent *) ;
|
||||
|
||||
public slots:
|
||||
void leaveLobby() ;
|
||||
private slots:
|
||||
|
@ -66,7 +65,6 @@ private slots:
|
|||
void showInPeopleTab();
|
||||
void toggleWindowed(){setWindowed(!isWindowed());}
|
||||
void setWindowed(bool windowed);
|
||||
void updateFontSize();
|
||||
|
||||
signals:
|
||||
void typingEventReceived(ChatLobbyId) ;
|
||||
|
@ -118,6 +116,8 @@ private:
|
|||
bool mWindowedSetted;
|
||||
PopupChatWindow* mPCWindow;
|
||||
|
||||
FontSizeHandler mFontSizeHandler;
|
||||
|
||||
/** Qt Designer generated object */
|
||||
Ui::ChatLobbyDialog ui;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue