⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mainwindow.h

📁 iptux是linux下面能实现类似windows里面飞鸽传书的功能
💻 H
字号:
//// C++ Interface: MainWindow//// Description:创建主面板////// Author: Jally <jallyx@163.com>, (C) 2008//// Copyright: See COPYING file that comes with this distribution////#ifndef MAINWINDOW_H#define MAINWINDOW_H#include "face.h"class MainWindow { public:	MainWindow();	~MainWindow();	void CreateWindow();	void CreateAllArea(); private:	 GtkWidget * CreateMenuBar();	GtkWidget *CreatePalView();	void CreateFileMenu(GtkWidget * menu_bar);	void CreateToolMenu(GtkWidget * menu_bar);	void CreateHelpMenu(GtkWidget * menu_bar);	GtkWidget *window;	GtkWidget *client_paned;	GtkAccelGroup *accel; public:	static void UpdateTips(); private:	static GtkWidget *CreatePopupMenu(gpointer data);	//pal	static GtkTreeModel *CreateFindModel();	static GtkWidget *CreateFindView();//回调处理部分 public:	static void SwitchWindowMode();	static void AskSharedFiles(gpointer data); private:	static void UpdatePalList();	static void DeletePal(gpointer data);	static gboolean ViewQueryTooltip(GtkWidget * view, gint x, gint y,					 gboolean key, GtkTooltip * tooltip,					 GtkTreeModel * model);	static void ViewRowActivated(GtkWidget * view, GtkTreePath * path,				     GtkTreeViewColumn * column,				     GtkTreeModel * model);	static gboolean PopupPalMenu(GtkWidget * view, GdkEventButton * event,				     GtkTreeModel * model);	static gboolean ViewChangeStatus(GtkWidget * view,					 GdkEventButton * event,					 GtkTreeModel * model);	static void DragDataReceived(GtkWidget * view, GdkDragContext * context,				     gint x, gint y, GtkSelectionData * select,				     guint info, guint time,				     GtkTreeModel * model);	static void FindSpecifyPal(gpointer data);	static gboolean FindClearEntry(GtkWidget * entry, GdkEventKey * event);	static void FindEntryChanged(GtkWidget * entry, GtkWidget * view);	static void FindViewRowActivated(GtkWidget * view, GtkTreePath * path,					 GtkTreeViewColumn * column,					 GtkTreeModel * model);	static gboolean FindPopupPalMenu(GtkWidget * view,					 GdkEventButton * event,					 GtkTreeModel * model);	static void FindDragDataReceived(GtkWidget * view,					 GdkDragContext * context, gint x,					 gint y, GtkSelectionData * select,					 guint info, guint time,					 GtkTreeModel * model);};#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -