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