Elaztek Developer Hub
Blamite Game Engine - Keystone  00317.05.31.21.2243.blamite
A library that enables the use of Qt in Blamite's editing tools.
explorer_bar.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <QDockWidget>
4 #include <Strings/components/settings/config/config.h>
5 
6 #include "ui_explorer_bar.h"
7 
8 class guerilla_window;
10 
14 class explorer_bar : public QDockWidget
15 {
16  Q_OBJECT
17 
18 private:
19  Ui::explorer_bar ui;
20  BlamConfigurationFile* guerilla_config = nullptr;
21  guerilla_window* guerilla_main_window = nullptr;
22 
26  std::vector<BlamExplorerBarTreeWidget*> tree_roots = std::vector<BlamExplorerBarTreeWidget*>();
27 
28 public:
34  explorer_bar(guerilla_window* main_window, BlamConfigurationFile* _guerilla_config, QWidget *parent = Q_NULLPTR);
35  ~explorer_bar();
36 
40  void RebuildTagTree();
41 
42 private slots:
43 
49  void ExplorerSortModeRadio_CheckChanged(bool checked);
50 
57  void ExplorerTagTreeItem_Activated(QTreeWidgetItem* item, int column);
58 
64  void ExplorerTagTreeItem_Collapsed(QTreeWidgetItem* item);
65 
71  void ExplorerTagTreeItem_Expanded(QTreeWidgetItem* item);
72 
73  void ExplorerTagTree_ContextMenuRequested(QPoint pos);
74 
75  void ModifyFiltersButton_Clicked(bool checked);
76 
77  void SearchButton_Clicked(bool checked);
78 
79  void SearchInput_TextChanged(QString text);
80 
81  void SearchInput_ReturnPressed();
82 };
explorer_bar::explorer_bar
explorer_bar(guerilla_window *main_window, BlamConfigurationFile *_guerilla_config, QWidget *parent=Q_NULLPTR)
Initializes the Explorer Bar.
Definition: explorer_bar.cpp:14
BlamExplorerBarTreeWidget
Definition: treewidget.h:13
explorer_bar::~explorer_bar
~explorer_bar()
Definition: explorer_bar.cpp:49
explorer_bar
The Guerilla Explorer Bar.
Definition: explorer_bar.h:14
explorer_bar::RebuildTagTree
void RebuildTagTree()
Rebuilds the tag tree.
Definition: explorer_bar.cpp:54
guerilla_window
The main Guerilla window.
Definition: guerilla_window.h:20