Rename ui function file

This commit is contained in:
dreamsourcelabTAI 2023-06-13 14:47:25 +08:00
parent b197a5eb49
commit 909268a2a4
21 changed files with 25 additions and 26 deletions

View File

@ -345,7 +345,7 @@ set(DSView_SOURCES
DSView/pv/utility/array.cpp
DSView/pv/deviceagent.cpp
DSView/pv/ui/langresource.cpp
DSView/pv/ui/fun.cpp
DSView/pv/ui/fn.cpp
)
set(DSView_HEADERS
@ -438,7 +438,7 @@ set(DSView_HEADERS
DSView/pv/utility/path.h
DSView/pv/utility/array.h
DSView/pv/deviceagent.h
DSView/pv/ui/fun.h
DSView/pv/ui/fn.h
)
#===============================================================================

View File

@ -30,7 +30,7 @@
#include <QAbstractButton>
#include "../dsvdef.h"
#include "../config/appconfig.h"
#include "../ui/fun.h"
#include "../ui/fn.h"
namespace pv {
namespace dialogs {

View File

@ -31,7 +31,7 @@
#include "../dsvdef.h"
#include "../ui/langresource.h"
#include "../config/appconfig.h"
#include "../ui/fun.h"
#include "../ui/fn.h"
namespace pv {
namespace dialogs {

View File

@ -36,7 +36,7 @@
#include "../log.h"
#include "../ui/msgbox.h"
#include "../config/appconfig.h"
#include "../ui/fun.h"
#include "../ui/fn.h"
using namespace boost;
using namespace std;

View File

@ -39,7 +39,7 @@
#include <QObject>
#include <QPainter>
#include "../appcontrol.h"
#include "../ui/fun.h"
#include "../ui/fn.h"
using namespace boost;

View File

@ -54,7 +54,7 @@
#include "../log.h"
#include "../ui/langresource.h"
#include "../appcontrol.h"
#include "../ui/fun.h"
#include "../ui/fn.h"
using namespace std;

View File

@ -27,7 +27,7 @@
#include <QScrollBar>
#include "../config/appconfig.h"
#include "../appcontrol.h"
#include "../ui/fun.h"
#include "../ui/fn.h"
//----------------------ComboButtonItem

View File

@ -42,7 +42,7 @@
#include "../ui/langresource.h"
#include "../ui/msgbox.h"
#include "../appcontrol.h"
#include "../ui/fun.h"
#include "../ui/fn.h"
namespace pv {
namespace dock {

View File

@ -45,7 +45,7 @@
#include "../log.h"
#include "../data/decode/annotationrestable.h"
#include "../appcontrol.h"
#include "../ui/fun.h"
#include "../ui/fn.h"
namespace pv {
namespace dock {

View File

@ -31,7 +31,7 @@
#include "../utility/path.h"
#include "../ui/langresource.h"
#include "../log.h"
#include "../ui/fun.h"
#include "../ui/fn.h"
namespace pv {
namespace toolbars {

View File

@ -46,7 +46,7 @@
#include "../log.h"
#include "../ui/langresource.h"
#include "../ui/msgbox.h"
#include "../ui/fun.h"
#include "../ui/fn.h"
namespace pv {
namespace toolbars {

View File

@ -38,7 +38,7 @@
#include "../ui/msgbox.h"
#include "../ui/langresource.h"
#include "../view/view.h"
#include "../ui/fun.h"
#include "../ui/fn.h"
#define SINGLE_ACTION_ICON "/once.svg"
#define REPEAT_ACTION_ICON "/repeat.svg"

View File

@ -34,7 +34,7 @@
#include "../config/appconfig.h"
#include "../appcontrol.h"
#include "../dsvdef.h"
#include "../ui/fun.h"
#include "../ui/fn.h"
namespace pv {
namespace toolbars {

View File

@ -33,7 +33,7 @@
#include "../dialogs/applicationpardlg.h"
#include "../ui/langresource.h"
#include "../config/appconfig.h"
#include "../ui/fun.h"
#include "../ui/fn.h"
namespace pv {
namespace toolbars {

View File

@ -19,7 +19,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "fun.h"
#include "fn.h"
#include <assert.h>
#include <QPushButton>
#include <QToolButton>

View File

@ -19,8 +19,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef _UI_FUN_H
#define _UI_FUN_H
#ifndef _UI_FN_H
#define _UI_FN_H
#include <QFont>

View File

@ -36,7 +36,7 @@
#include "../log.h"
#include "../ui/langresource.h"
#include "../appcontrol.h"
#include "../ui/fun.h"
#include "../ui/fn.h"
static const struct dev_mode_name dev_mode_name_list[] =

View File

@ -46,7 +46,7 @@
#include "../ui/langresource.h"
#include "../appcontrol.h"
#include "../config/appconfig.h"
#include "../ui/fun.h"
#include "../ui/fn.h"
using namespace std;

View File

@ -39,9 +39,9 @@
#include <QStyleOption>
#include "../appcontrol.h"
#include "../config/appconfig.h"
#include "../ui/fun.h"
#include "../ui/fn.h"
using namespace std;
using namespace Qt;

View File

@ -44,7 +44,7 @@
#include "../appcontrol.h"
#include "../log.h"
#include "../ui/langresource.h"
#include "../ui/fun.h"
#include "../ui/fn.h"
using namespace std;

View File

@ -39,9 +39,8 @@
#include "../log.h"
#include "../config/appconfig.h"
#include "../appcontrol.h"
#include "../ui/fun.h"
#include "../ui/fn.h"
using namespace std;
namespace pv {