ui: new style for CodeView

This commit is contained in:
Eberhard Graether
2015-05-25 01:47:14 +02:00
parent d985009bff
commit f15f0de414
19 changed files with 161 additions and 138 deletions
+6 -4
View File
@@ -4,15 +4,17 @@
#include <memory>
#include <vector>
#include "utility/types.h"
#include "component/view/CodeView.h"
#include "qt/utility/QtThreadedFunctor.h"
#include "utility/types.h"
class QFrame;
class QtCodeFileList;
class QWidget;
class QtCodeView: public CodeView
class QtCodeView
: public CodeView
{
public:
QtCodeView(ViewLayout* viewLayout);
@@ -35,13 +37,13 @@ public:
private:
void doRefreshView();
void doShowCodeSnippets(const std::vector<CodeSnippetParams>& snippets);
void doShowCodeFile(const CodeSnippetParams& params);
void doFocusToken(const Id tokenId);
void doDefocusToken();
std::shared_ptr<QtCodeFileList> createQtCodeFileList() const;
void setStyleSheet(QWidget* widget) const;
QtThreadedFunctor<> m_refreshViewFunctor;