14 * |
14 * |
15 * You should have received a copy of the GNU General Public License |
15 * You should have received a copy of the GNU General Public License |
16 * along with this program. If not, see <http://www.gnu.org/licenses/>. |
16 * along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 */ |
17 */ |
18 |
18 |
|
19 #ifndef SETCONTENTSDIALOG_H |
|
20 |
19 #include <qdialog.h> |
21 #include <qdialog.h> |
20 #include <qlineedit.h> |
22 #include <qlineedit.h> |
21 #include <qlabel.h> |
23 #include <qlabel.h> |
22 #include <qdialogbuttonbox.h> |
24 #include <qdialogbuttonbox.h> |
23 #include "common.h" |
25 #include "common.h" |
29 // are exposed to the user and is reinterpreted if the user accepts the new |
31 // are exposed to the user and is reinterpreted if the user accepts the new |
30 // contents. |
32 // contents. |
31 // ============================================================================= |
33 // ============================================================================= |
32 class SetContentsDialog : public QDialog { |
34 class SetContentsDialog : public QDialog { |
33 public: |
35 public: |
34 QLabel* qContentsLabel, *qErrorIcon, *qErrorLabel; |
36 QLabel* lb_contents, *lb_errorIcon, *lb_error; |
35 QLineEdit* qContents; |
37 QLineEdit* le_contents; |
36 QDialogButtonBox* qButtons; |
38 QDialogButtonBox* bbx_buttons; |
37 |
39 |
38 SetContentsDialog (LDObject* obj, QWidget* parent = null); |
40 SetContentsDialog (LDObject* obj, QWidget* parent = null); |
39 static void staticDialog (LDObject* obj); |
41 static void staticDialog (LDObject* obj); |
40 |
42 |
41 private slots: |
43 private slots: |
42 void slot_handleButtons (QAbstractButton* qButton); |
44 void slot_handleButtons (QAbstractButton* qButton); |
43 }; |
45 }; |
|
46 |
|
47 #endif // SETCONTENTSDIALOG_H |