fix_08.diff
src/gui/qgsattributedialog.cpp (working copy) | ||
---|---|---|
61 | 61 | |
62 | 62 |
QgsAttributeDialog::~QgsAttributeDialog() |
63 | 63 |
{ |
64 |
savePositionAndColumnWidth(); |
|
64 | ||
65 | 65 |
} |
66 | 66 | |
67 | 67 |
QString QgsAttributeDialog::value(int row) |
... | ... | |
105 | 105 | |
106 | 106 |
} |
107 | 107 | |
108 |
void QgsAttributeDialog::resizeEvent(QResizeEvent *event) |
|
109 |
{ |
|
110 |
savePositionAndColumnWidth(); |
|
111 |
QWidget::resizeEvent(event); |
|
112 |
} |
|
113 | ||
114 |
void QgsAttributeDialog::moveEvent(QMoveEvent *event) |
|
115 |
{ |
|
116 |
savePositionAndColumnWidth(); |
|
117 |
QWidget::moveEvent(event); |
|
118 |
} |
|
119 | ||
108 | 120 |
void QgsAttributeDialog::restorePositionAndColumnWidth() |
109 | 121 |
{ |
110 | 122 |
QSettings settings; |
src/gui/qgsattributedialog.h (working copy) | ||
---|---|---|
53 | 53 | |
54 | 54 |
void restorePositionAndColumnWidth(); |
55 | 55 | |
56 |
void resizeEvent(QResizeEvent *event); |
|
57 | ||
58 |
void moveEvent(QMoveEvent *event); |
|
59 | ||
56 | 60 |
public slots: |
57 | 61 |
//! Slot to be called when an attribute value is edited in the table. |
58 | 62 |
void setAttributeValueChanged(int row, int column); |