-
-
Notifications
You must be signed in to change notification settings - Fork 968
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #412 from p4p1/dev
Reworked widget code structure added progress dialog, colorpicker dialog, Logs Widget
- Loading branch information
Showing
9 changed files
with
396 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
#ifndef HAVOC_PYLOGGERCLASS_H | ||
#define HAVOC_PYLOGGERCLASS_H | ||
|
||
#include <UserInterface/HavocUI.hpp> | ||
#include <global.hpp> | ||
|
||
#include <QGridLayout> | ||
#include <QTextEdit> | ||
#include <QDialog> | ||
|
||
typedef struct | ||
{ | ||
|
||
QWidget* window; | ||
QGridLayout* layout; | ||
QTextEdit* LogSection; | ||
|
||
} PyLoggerQWindow, *PPyLoggerQWindow; | ||
|
||
typedef struct | ||
{ | ||
PyObject_HEAD | ||
|
||
// Demon Info | ||
char* title; | ||
PPyLoggerQWindow LoggerWindow; | ||
|
||
} PyLoggerClass, *PPyLoggerClass; | ||
|
||
extern PyTypeObject PyLoggerClass_Type; | ||
|
||
void LoggerClass_dealloc( PPyLoggerClass self ); | ||
PyObject* LoggerClass_new( PyTypeObject *type, PyObject *args, PyObject *kwds ); | ||
int LoggerClass_init( PPyLoggerClass self, PyObject *args, PyObject *kwds ); | ||
|
||
// Methods | ||
|
||
PyObject* LoggerClass_setBottomTab( PPyLoggerClass self, PyObject *args ); | ||
PyObject* LoggerClass_setSmallTab( PPyLoggerClass self, PyObject *args ); | ||
PyObject* LoggerClass_addText( PPyLoggerClass self, PyObject *args ); | ||
PyObject* LoggerClass_clear( PPyLoggerClass self, PyObject *args ); | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.