This commit is contained in:
Sergio Martins
2020-04-05 13:52:06 +01:00
parent 4be5b72208
commit a5a7019d5a
4 changed files with 12 additions and 17 deletions

View File

@@ -306,8 +306,7 @@ public:
Q_SIGNALS:
///@brief emitted when the number of widgets changes
///@param count the new widget count
void widgetCountChanged(int count);
void widgetCountChanged();
void visibleWidgetCountChanged(int count);
@@ -372,13 +371,6 @@ private:
*/
QSize availableSize() const;
/**
* Returns the width (if orientation = Horizontal), or height that is occupied by anchors.
* For example, an horizontal anchor has 2 or 3 px of width, so that's space that can't be
* occupied by child widgets.
*/
int wastedSpacing(Qt::Orientation) const;
// convenience for the unit-tests
// Moves the widget's bottom or right anchor, to resize it.
void resizeItem(Frame *frame, int newSize, Qt::Orientation);