// Qt toolkit headers.
#include <QDialog>
+#include <QLabel>
+#include <QTableWidget>
class RequestDetailDialog : public QDialog
{
public:
// The primary constructor.
- explicit RequestDetailDialog(QWidget *parentWidgetPointer, QByteArray &requestStructByteArray);
+ explicit RequestDetailDialog(QWidget *parentWidgetPointer, QTableWidget *tableWidgetPointer, const int initialRow);
+
+private Q_SLOTS:
+ // The private slots.
+ void next();
+ void previous();
+
+private:
+ // The private variables.
+ QLabel *appliedEntryListLabelPointer;
+ QLineEdit *appliedEntryListLineEditPointer;
+ int currentRow;
+ QLineEdit *dispositionLineEditPointer;
+ QLabel *filterListLabelPointer;
+ QLineEdit *filterListLineEditPointer;
+ QFrame *horizontalLinePointer;
+ QLineEdit *navigationTypeLineEditPointer;
+ QPalette negativeBackgroundPalette;
+ QPushButton *nextButtonPointer;
+ QPalette normalBackgroundPalette;
+ QLabel *originalEntryLabelPointer;
+ QLineEdit *originalEntryLineEditPointer;
+ QPushButton *previousButtonPointer;
+ QPalette positiveBackgroundPalette;
+ QLineEdit *requestMethodLineEditPointer;
+ QLineEdit *resourceTypeLineEditPointer;
+ QLabel *sublistLabelPointer;
+ QLineEdit *sublistLineEditPointer;
+ QTableWidget *tableWidgetPointer;
+ QLineEdit *urlLineEditPointer;
+
+ // The private functions.
+ void populateDialog(const int row);
};
#endif