FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
QuteSQL/QueryHistoryWidget.cpp at master · jimtendo/QuteSQL · GitHub
jimtendo
QuteSQL
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
QuteSQL
/
QueryHistoryWidget.cpp
Copy path
More file actions
More file actions
Latest commit
History
History
History
29 lines (24 loc) · 585 Bytes
Breadcrumbs
QuteSQL
/
QueryHistoryWidget.cpp
Copy path
File metadata and controls
29 lines (24 loc) · 585 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#
include
"
QueryHistoryWidget.h
"
#
include
"
ui_QueryHistoryWidget.h
"
QueryHistoryWidget::QueryHistoryWidget
(QWidget *parent) :
QWidget(parent),
ui(
new
Ui::QueryHistoryWidget)
{
ui->
setupUi
(
this
);
}
QueryHistoryWidget::~QueryHistoryWidget
()
{
delete
ui;
}
void
QueryHistoryWidget::addQuery
(QString query)
{
ui->
commandListWidget
->
addItem
(query);
}
void
QueryHistoryWidget::on_commandListWidget_itemActivated
(QListWidgetItem *item)
{
emit
querySelected
(item->
text
());
}
void
QueryHistoryWidget::on_clearButton_clicked
()
{
ui->
commandListWidget
->
clear
();
}
Back
|
FazBrowse Home
|
New Git URL