mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2026-08-14 15:33:36 -04:00
Minor tweaks to GUI appearance, etc.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4210 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
+4
-4
@@ -129,10 +129,10 @@ namespace
|
||||
ui_.setupUi (this);
|
||||
|
||||
// context menu actions
|
||||
auto import_button = ui_.button_box->addButton ("&Import...", QDialogButtonBox::ActionRole);
|
||||
auto import_button = ui_.button_box->addButton ("&Import", QDialogButtonBox::ActionRole);
|
||||
connect (import_button, &QPushButton::clicked, this, &Designer::import_palette);
|
||||
|
||||
auto export_button = ui_.button_box->addButton ("&Export...", QDialogButtonBox::ActionRole);
|
||||
auto export_button = ui_.button_box->addButton ("&Export", QDialogButtonBox::ActionRole);
|
||||
connect (export_button, &QPushButton::clicked, this, &Designer::export_palette);
|
||||
|
||||
// hookup the context menu handler
|
||||
@@ -203,7 +203,7 @@ namespace
|
||||
});
|
||||
}
|
||||
|
||||
auto insert_action = context_menu_.addAction (tr ("&Insert ..."));
|
||||
auto insert_action = context_menu_.addAction (tr ("&Insert"));
|
||||
connect (insert_action, &QAction::triggered, [this] ()
|
||||
{
|
||||
auto item = ui_.colour_table_widget->itemAt (menu_pos_);
|
||||
@@ -211,7 +211,7 @@ namespace
|
||||
insert_new_item (row, QColor {0, 0, 0});
|
||||
});
|
||||
|
||||
auto insert_after_action = context_menu_.addAction (tr ("Insert &after ..."));
|
||||
auto insert_after_action = context_menu_.addAction (tr ("Insert &after"));
|
||||
connect (insert_after_action, &QAction::triggered, [this] ()
|
||||
{
|
||||
auto item = ui_.colour_table_widget->itemAt (menu_pos_);
|
||||
|
||||
Reference in New Issue
Block a user