Skip to content

Commit 4f31b8e

Browse files
committed
gui: format
Signed-off-by: LucasYuki <[email protected]>
1 parent cdf7992 commit 4f31b8e

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

src/gui/src/dropdownCheckboxes.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
namespace gui {
99

1010
DropdownCheckboxes::DropdownCheckboxes(const std::string& name,
11-
const std::string& all_text,
12-
QWidget* parent)
11+
const std::string& all_text,
12+
QWidget* parent)
1313
: QComboBox(parent),
1414
name_item_(new QStandardItem(QString::fromStdString(name))),
1515
all_item_(new QStandardItem(QString::fromStdString(all_text))),
@@ -20,8 +20,8 @@ DropdownCheckboxes::DropdownCheckboxes(const std::string& name,
2020
}
2121

2222
DropdownCheckboxes::DropdownCheckboxes(const QString& name,
23-
const QString& all_text,
24-
QWidget* parent)
23+
const QString& all_text,
24+
QWidget* parent)
2525
: QComboBox(parent),
2626
name_item_(new QStandardItem(name)),
2727
all_item_(new QStandardItem(all_text)),

src/gui/src/dropdownCheckboxes.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ class DropdownCheckboxes : public QComboBox
2121
Q_OBJECT
2222
public:
2323
DropdownCheckboxes(const std::string& name,
24-
const std::string& all_text = "All",
25-
QWidget* parent = nullptr);
24+
const std::string& all_text = "All",
25+
QWidget* parent = nullptr);
2626
DropdownCheckboxes(const QString& name,
27-
const QString& all_text = "All",
28-
QWidget* parent = nullptr);
27+
const QString& all_text = "All",
28+
QWidget* parent = nullptr);
2929
void clear();
3030

3131
void setName(const std::string& name)

src/gui/src/staGui.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1113,8 +1113,8 @@ TimingControlsDialog::TimingControlsDialog(QWidget* parent)
11131113
path_count_spin_box_(new QSpinBox(this)),
11141114
corner_box_(new QComboBox(this)),
11151115
clock_box_(new DropdownCheckboxes(QString("Select Clocks"),
1116-
QString("All Clocks"),
1117-
this)),
1116+
QString("All Clocks"),
1117+
this)),
11181118
unconstrained_(new QCheckBox(this)),
11191119
one_path_per_endpoint_(new QCheckBox(this)),
11201120
expand_clk_(new QCheckBox(this)),

src/gui/src/staGui.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121
#include <string>
2222
#include <vector>
2323

24+
#include "dropdownCheckboxes.h"
2425
#include "gui/gui.h"
2526
#include "odb/db.h"
2627
#include "odb/dbBlockCallBackObj.h"
27-
#include "dropdownCheckboxes.h"
2828
#include "sta/PathExpanded.hh"
2929
#include "sta/Sta.hh"
3030
#include "staGuiInterface.h"

0 commit comments

Comments
 (0)