Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Register
Sign in
Toggle navigation
Menu
Екатерина Спорова
DZ2
Commits
0ef6481b
Commit
0ef6481b
authored
4 years ago
by
Екатерина Спорова
Browse files
Options
Download
Patches
Plain Diff
Add new file
parent
8790bff7
master
No related merge requests found
Pipeline
#1111
failed with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
mainwindow.h
+49
-0
mainwindow.h
with
49 additions
and
0 deletions
+49
-0
mainwindow.h
0 → 100644
+
49
−
0
View file @
0ef6481b
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include
<QMainWindow>
#include
<QGridLayout>
#include
<QMenuBar>
#include
<QTreeWidget>
#include
<QFileDialog>
#include
<QFile>
#include
<QXmlSimpleReader>
#include
<QTextEdit>
#include
<QDockWidget>
#include
<QTableView>
QT_BEGIN_NAMESPACE
namespace
Ui
{
class
MainWindow
;
}
QT_END_NAMESPACE
class
MainWindow
:
public
QMainWindow
{
Q_OBJECT
public:
MainWindow
(
QWidget
*
parent
=
nullptr
);
~
MainWindow
();
private
slots
:
void
open_file
();
void
clean_tree
();
void
close_window
();
void
make_query
();
void
open_query
();
void
make_active
();
void
close_file
();
void
slot_custom_menu
(
const
QPoint
&
);
private:
Ui
::
MainWindow
*
ui
;
QTreeWidget
*
tree_widget
;
QWidget
*
main_widget
;
QTextEdit
*
text_edit
;
QTextEdit
*
text_edit_dock
;
QDockWidget
*
dock
;
QGridLayout
*
main_layout
;
QMenu
*
menu_custom
;
QFile
*
current_file
;
QTreeWidgetItem
*
current_pos
;
};
#endif // MAINWINDOW_H
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets