mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Merge pull request #2713 from thunder2/boards_elidedlabel
Use ElidedLabel for title in BoardsPostDisplayWidget
This commit is contained in:
commit
690c869444
@ -400,7 +400,7 @@ QLabel *BoardPostDisplayWidget_compact::newLabel() { return ui->ne
|
||||
QToolButton *BoardPostDisplayWidget_compact::readButton() { return ui->readButton; }
|
||||
GxsIdLabel *BoardPostDisplayWidget_compact::fromLabel() { return ui->fromLabel; }
|
||||
QLabel *BoardPostDisplayWidget_compact::dateLabel() { return ui->dateLabel; }
|
||||
QLabel *BoardPostDisplayWidget_compact::titleLabel() { return ui->titleLabel; }
|
||||
ElidedLabel *BoardPostDisplayWidget_compact::titleLabel() { return ui->titleLabel; }
|
||||
QLabel *BoardPostDisplayWidget_compact::scoreLabel() { return ui->scoreLabel; }
|
||||
QLabel *BoardPostDisplayWidget_compact::notes() { return ui->notes; }
|
||||
QToolButton *BoardPostDisplayWidget_compact::shareButton() { return ui->shareButton; }
|
||||
@ -469,7 +469,7 @@ QLabel *BoardPostDisplayWidget_card::newLabel() { return ui->newLa
|
||||
QToolButton *BoardPostDisplayWidget_card::readButton() { return ui->readButton; }
|
||||
GxsIdLabel *BoardPostDisplayWidget_card::fromLabel() { return ui->fromLabel; }
|
||||
QLabel *BoardPostDisplayWidget_card::dateLabel() { return ui->dateLabel; }
|
||||
QLabel *BoardPostDisplayWidget_card::titleLabel() { return ui->titleLabel; }
|
||||
ElidedLabel *BoardPostDisplayWidget_card::titleLabel() { return ui->titleLabel; }
|
||||
QLabel *BoardPostDisplayWidget_card::scoreLabel() { return ui->scoreLabel; }
|
||||
QLabel *BoardPostDisplayWidget_card::notes() { return ui->notes; }
|
||||
QToolButton *BoardPostDisplayWidget_card::shareButton() { return ui->shareButton; }
|
||||
|
@ -37,6 +37,7 @@ class QToolButton;
|
||||
class QTextEdit;
|
||||
class ClickableLabel;
|
||||
class GxsIdLabel;
|
||||
class ElidedLabel;
|
||||
|
||||
struct RsPostedPost;
|
||||
|
||||
@ -72,7 +73,7 @@ protected:
|
||||
virtual QToolButton *commentButton() =0;
|
||||
virtual QToolButton *voteDownButton() =0;
|
||||
virtual QLabel *newLabel() =0;
|
||||
virtual QLabel *titleLabel()=0;
|
||||
virtual ElidedLabel *titleLabel()=0;
|
||||
virtual GxsIdLabel *fromLabel()=0;
|
||||
virtual QLabel *dateLabel()=0;
|
||||
virtual QLabel *scoreLabel() =0;
|
||||
@ -123,7 +124,7 @@ public:
|
||||
QLabel *newLabel() override;
|
||||
GxsIdLabel *fromLabel() override;
|
||||
QLabel *dateLabel() override;
|
||||
QLabel *titleLabel() override;
|
||||
ElidedLabel *titleLabel() override;
|
||||
QLabel *scoreLabel() override;
|
||||
QLabel *notes() override;
|
||||
QLabel *pictureLabel() override;
|
||||
@ -162,7 +163,7 @@ public:
|
||||
QLabel *newLabel() override;
|
||||
GxsIdLabel *fromLabel() override;
|
||||
QLabel *dateLabel() override;
|
||||
QLabel *titleLabel() override;
|
||||
ElidedLabel *titleLabel() override;
|
||||
QLabel *scoreLabel() override;
|
||||
QLabel *notes() override;
|
||||
QToolButton *readButton() override;
|
||||
|
@ -305,7 +305,7 @@
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="titleLabel">
|
||||
<widget class="ElidedLabel" name="titleLabel">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
@ -464,6 +464,12 @@
|
||||
</layout>
|
||||
</widget>
|
||||
<customwidgets>
|
||||
<customwidget>
|
||||
<class>ElidedLabel</class>
|
||||
<extends>QLabel</extends>
|
||||
<header>gui/common/ElidedLabel.h</header>
|
||||
<container>1</container>
|
||||
</customwidget>
|
||||
<customwidget>
|
||||
<class>GxsIdLabel</class>
|
||||
<extends>QLabel</extends>
|
||||
|
@ -211,7 +211,7 @@
|
||||
<number>3</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QLabel" name="titleLabel">
|
||||
<widget class="ElidedLabel" name="titleLabel">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
@ -515,6 +515,12 @@
|
||||
</layout>
|
||||
</widget>
|
||||
<customwidgets>
|
||||
<customwidget>
|
||||
<class>ElidedLabel</class>
|
||||
<extends>QLabel</extends>
|
||||
<header>gui/common/ElidedLabel.h</header>
|
||||
<container>1</container>
|
||||
</customwidget>
|
||||
<customwidget>
|
||||
<class>GxsIdLabel</class>
|
||||
<extends>QLabel</extends>
|
||||
|
Loading…
Reference in New Issue
Block a user