File tree Expand file tree Collapse file tree 2 files changed +0
-9
lines changed
Expand file tree Collapse file tree 2 files changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -63,10 +63,3 @@ GreetingWindow::GreetingWindow(QWidget* parent) : QWidget(parent)
6363 setLayout (ltMain);
6464}
6565
66- // / @brief Calculate size of long description text block.
67- int GreetingWindow::GetGreetingTextAverageSize (const QString& text) const
68- {
69- QLabel lblSizeCounting (text);
70- lblSizeCounting.setWordWrap (true );
71- return (int )((lblSizeCounting.sizeHint ().height () + lblSizeCounting.sizeHint ().width ()) / 2 .);
72- }
Original file line number Diff line number Diff line change @@ -7,8 +7,6 @@ class GreetingWindow : public QWidget
77 Q_OBJECT
88public: // Methods
99 GreetingWindow (QWidget* parent = nullptr );
10- private:
11- int GetGreetingTextAverageSize (const QString& text) const ;
1210
1311signals:
1412 void btnLoadFromFileClicked ();
You can’t perform that action at this time.
0 commit comments