modified buttons a bit

This commit is contained in:
fourtf
2017-09-15 17:23:49 +02:00
parent 4ac811f2a9
commit 84c23a5d00
15 changed files with 193 additions and 222 deletions
+5 -4
View File
@@ -3,6 +3,7 @@
#include "resizingtextedit.hpp"
#include "widgets/basewidget.hpp"
#include "widgets/chatwidgetheaderbutton.hpp"
#include "widgets/emotepopup.h"
#include <QHBoxLayout>
#include <QLabel>
@@ -12,6 +13,8 @@
#include <QVBoxLayout>
#include <QWidget>
#include <boost/signals2.hpp>
namespace chatterino {
namespace widgets {
@@ -33,7 +36,9 @@ protected:
private:
ChatWidget *const chatWidget;
EmotePopup *emotePopup = nullptr;
boost::signals2::connection textLengthVisibleChangedConnection;
QHBoxLayout hbox;
QVBoxLayout vbox;
QHBoxLayout editContainer;
@@ -45,10 +50,6 @@ private:
virtual void refreshTheme() override;
private slots:
void setMessageLengthVisible(bool value)
{
textLengthLabel.setHidden(!value);
}
void editTextChanged();
// void editKeyPressed(QKeyEvent *event);