代码搜索结果
找到约 50,122 项符合
Button 的代码
button.c
#include
#include
#include
String app_resources[] = {
"*Command.Label: Click left mouse button", NULL,
};
XrmOptionDescRec options[] = {
button.hxx
// Button.hxx
//
#ifndef Button__hxx
#define Button__hxx
#include
#include "Component.hxx"
typedef void (*button_callback)(void);
class Button : public Component {
public:
Butto
button.cpp
// Button.cpp
//
#include
#include
#include
#include "Button.hxx"
static void callback(Widget w, caddr_t data1, caddr_t data2) {
Button * b
button.h
/**
* \file button.h
* \author Wei Yongming
* \date 2001/12/29
*
\verbatim
Copyright (C) 2002-2005 Feynman Software.
Copyright (C) 1998-2002 Wei Yongming.
This f
button.h
/**
* \file button.h
* \author Wei Yongming
* \date 2001/12/29
*
\verbatim
Copyright (C) 2002-2005 Feynman Software.
Copyright (C) 1998-2002 Wei Yongming.
This f
button.c
/*
** $Id: button.c,v 1.61 2005/01/31 08:52:29 clear Exp $
**
** button.c: the Button Control module.
**
** Copyright (C) 2003 Feynman Software.
** Copyright (C) 1999 ~ 2002 Wei Yongming.
**
** Curren
button.c
/*
** $Id: button.c,v 1.11 2005/01/06 07:42:09 limei Exp $
**
** Listing 20.1
**
** button.c: Sample program for MiniGUI Programming Guide
** Usage of BUTTON control.
**
** Copyright (C) 2004 Fey
button.c
/*
** $Id: button.c,v 1.12 2004/04/19 07:30:21 weiym Exp $
**
** button.c: The Button control demo program.
**
** Copyright (C) 2001 ~ 2002 Wei Yongming.
** Copyright (C) 2003 Feynman Software.
**
**
button.h
#ifndef BUTTON_H
#define BUTTON_H
#include
class Button : public QToolButton
{
Q_OBJECT
public:
Button(const QString &text, const QColor &color, QWidget *parent = 0);
QS
button.cpp
#include
#include "button.h"
Button::Button(const QString &text, const QColor &color, QWidget *parent)
: QToolButton(parent)
{
setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Pr