set icon for emoji button

This commit is contained in:
DenioD
2020-06-22 00:05:07 +02:00
parent ff064b2624
commit ef2d9354fd
3 changed files with 38 additions and 34 deletions

View File

@@ -2617,7 +2617,7 @@ void MainWindow::on_givemeZaddr_clicked()
});
}
void MainWindow::emojiButton_clicked()
void MainWindow::on_emojiButton_clicked()
{
QDialog emojiDialog(this);

View File

@@ -111,9 +111,7 @@ private slots:
void on_givemeZaddr_clicked();
// void on_pushButton_clicked();
void emojiButton_clicked();
void on_emojiButton_clicked();
private:
bool fileExists(QString path);

View File

@@ -6,7 +6,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>1274</width>
<width>1282</width>
<height>779</height>
</rect>
</property>
@@ -428,7 +428,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>1226</width>
<width>1234</width>
<height>509</height>
</rect>
</property>
@@ -1726,6 +1726,33 @@
<property name="bottomMargin">
<number>6</number>
</property>
<item>
<widget class="QPushButton" name="emojiButton">
<property name="minimumSize">
<size>
<width>20</width>
<height>0</height>
</size>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset>
<normalon>:/emoji/res/emoji/emoji1.png</normalon>
</iconset>
</property>
<property name="iconSize">
<size>
<width>17</width>
<height>17</height>
</size>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="sendChatButton">
<property name="sizePolicy">
@@ -1734,6 +1761,12 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>50</height>
</size>
</property>
<property name="baseSize">
<size>
<width>100</width>
@@ -1765,33 +1798,6 @@
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton">
<property name="minimumSize">
<size>
<width>20</width>
<height>0</height>
</size>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset>
<normalon>:/emoji/res/emoji/emoji1.png</normalon>
</iconset>
</property>
<property name="iconSize">
<size>
<width>17</width>
<height>17</height>
</size>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="memoSizeChat">
<property name="sizePolicy">
@@ -1828,7 +1834,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>1274</width>
<width>1282</width>
<height>22</height>
</rect>
</property>