* along with Privacy Browser PC. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef REQUESTDETAILDIALOG_H
-#define REQUESTDETAILDIALOG_H
+#ifndef REQUEST_DETAIL_DIALOG_H
+#define REQUEST_DETAIL_DIALOG_H
+
+// Application headers.
+#include "structs/RequestStruct.h"
// Qt toolkit headers.
+#include <QCheckBox>
#include <QDialog>
#include <QLabel>
#include <QTableWidget>
private:
// The private variables.
- QLabel *appliedEntryLabelPointer;
- QLineEdit *appliedEntryLineEditPointer;
+ QLineEdit *appliedEntryListLineEditPointer;
+ QLineEdit *appliedFilterOptionsLineEditPointer;
int currentRow;
QLineEdit *dispositionLineEditPointer;
- QLabel *filterListLabelPointer;
+ QLineEdit *domainLineEditPointer;
+ QLineEdit *domainListLineEditPointer;
+ QWidget *filterListEntryWidget;
QLineEdit *filterListLineEditPointer;
- QFrame *horizontalLinePointer;
+ QLineEdit *finalMatchLineEditPointer;
+ QLineEdit *fontLineEditPointer;
+ QCheckBox *hasRequestOptionsCheckBoxPointer;
+ QLineEdit *imageLineEditPointer;
+ QLineEdit *initialMatchLineEditPointer;
+ bool isAllowList;
+ QLineEdit *mainFrameLineEditPointer;
+ QLineEdit *mediaLineEditPointer;
QLineEdit *navigationTypeLineEditPointer;
QPalette negativeBackgroundPalette;
QPushButton *nextButtonPointer;
QPalette normalBackgroundPalette;
- QLabel *originalEntryLabelPointer;
+ QLineEdit *objectLineEditPointer;
QLineEdit *originalEntryLineEditPointer;
- QPushButton *previousButtonPointer;
+ QLineEdit *originalFilterOptionsLineEditPointer;
+ QLineEdit *otherLineEditPointer;
+ QLineEdit *pingLineEditPointer;
QPalette positiveBackgroundPalette;
+ QPushButton *previousButtonPointer;
QLineEdit *requestMethodLineEditPointer;
+ QLineEdit *requestUrlLineEditPointer;
+ QLineEdit *requestUrlWithSeparatorsLineEditPointer;
QLineEdit *resourceTypeLineEditPointer;
- QLabel *sublistLabelPointer;
+ QLineEdit *scriptLineEditPointer;
+ QLineEdit *styleSheetLineEditPointer;
+ QLineEdit *subFrameLineEditPointer;
QLineEdit *sublistLineEditPointer;
QTableWidget *tableWidgetPointer;
- QLineEdit *urlLineEditPointer;
+ QLineEdit *truncatedRequestUrlLineEditPointer;
+ QLineEdit *truncatedRequestUrlWithSeparatorsLineEditPointer;
+ QLineEdit *thirdPartyFilterLineEditPointer;
+ QLineEdit *thirdPartyRequestLineEditPointer;
+ QLineEdit *webPageUrlLineEditPointer;
+ QLineEdit *xmlHttpRequestLineEditPointer;
// The private functions.
void populateDialog(const int row);
+ void setFilterOptionBackgroundPalette(QLineEdit *lineEditPointer);
+ void setInitialOrFinalBackgroundPalette(QLineEdit *lineEditPointer);
+ void setRequestUrlBackgroundPalettes(RequestUrlType matchedUrlType);
};
#endif