ui: added maximize button to CodeSnippets that opens the full file in a separate window
This commit is contained in:
@@ -10,13 +10,12 @@
|
||||
#include "utility/types.h"
|
||||
|
||||
class QtCodeSnippet;
|
||||
class QtCodeView;
|
||||
class TokenLocationFile;
|
||||
|
||||
class QtCodeFile : public QWidget
|
||||
{
|
||||
public:
|
||||
QtCodeFile(QtCodeView* parentView, const std::string& fileName, QWidget *parent);
|
||||
QtCodeFile(const std::string& fileName, QWidget *parent = 0);
|
||||
virtual ~QtCodeFile();
|
||||
|
||||
const std::string& getFileName() const;
|
||||
@@ -29,7 +28,6 @@ public:
|
||||
);
|
||||
|
||||
private:
|
||||
QtCodeView* m_parentView;
|
||||
std::vector<std::shared_ptr<QtCodeSnippet> > m_snippets;
|
||||
const std::string m_fileName;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user