QtGui
view release on metacpan or search on metacpan
4.004 Mon Feb 04 2008
- add access to protected enums
- rewrite Makefile.PL
- fix bug in QListWidget
4.003 Tue Jan 28 2008
- rewrite meta.yml amd manifest
4.001 Mon Jan 28 2008
- fix bug with WId
- add examples/desktop/snapshot
4.000 Sun Jan 26 2007 Vadim Likhota <vadim-lvv@yandex.ru>
- first release version
0.001 Wed Jul 11 2007
- original version; created by h2xs 1.23 with options
AUTHORS
Changes
common.h
common.xs
COPYING
create_qtpm
create_xs
examples/desktop/screenshot/main.cpp
examples/desktop/screenshot/main.pl
examples/desktop/screenshot/screenshot.cpp
examples/desktop/screenshot/screenshot.h
examples/desktop/screenshot/Screenshot.pm
examples/dialog/standarddialogs/dialog.cpp
examples/dialog/standarddialogs/dialog.h
examples/dialog/standarddialogs/Dialog.pm
examples/dialog/standarddialogs/main.cpp
examples/dialog/standarddialogs/main.pl
examples/mainwindows/menus/main.cpp
examples/mainwindows/menus/main.pl
examples/mainwindows/menus/mainwindow.cpp
examples/mainwindows/menus/mainwindow.h
examples/mainwindows/menus/MainWindow.pm
examples/desktop/screenshot/Screenshot.pm view on Meta::CPAN
my $fileName = Qt::QFileDialog::getSaveFileName($this, TR("Save As"), $initialPath,
TR("%1 Files (*.%2);;All Files (*)")->arg($format->toUpper())->arg($format));
unless ( $fileName->isEmpty() ) {
$this->{originalPixmap}->save($fileName, $format->toAscii()->data());
}
}
sub shootScreen {
my $this = shift;
$qApp->beep() if $this->{delaySpinBox}->value() != 0;
$this->{originalPixmap} = Qt::QPixmap::grabWindow( Qt::QApplication::desktop()->winId() );
$this->updateScreenshotLabel();
$this->{newScreenshotButton}->setDisabled(0); # false
if ( $this->{hideThisWindowCheckBox}->isChecked() ) {
$this->show();
}
}
sub updateCheckBox {
my $this = shift;
examples/desktop/screenshot/screenshot.cpp view on Meta::CPAN
.arg(format.toUpper())
.arg(format));
if (!fileName.isEmpty())
originalPixmap.save(fileName, format.toAscii());
}
void Screenshot::shootScreen()
{
if (delaySpinBox->value() != 0)
qApp->beep();
originalPixmap = QPixmap::grabWindow(QApplication::desktop()->winId());
updateScreenshotLabel();
newScreenshotButton->setDisabled(false);
if (hideThisWindowCheckBox->isChecked())
show();
}
void Screenshot::updateCheckBox()
{
if (delaySpinBox->value() == 0)
module_list view on Meta::CPAN
#!/usr/bin/perl -w
# order have meaning !
sub Gui_module_list {
push @modules, 'QValidator'; $modules{'QValidator'} = 'QtGui/qvalidator.h';
push @modules, 'QTextOption'; $modules{'QTextOption'} = 'QtCore/qlist.h:QtGui/qtextoption.h';
push @modules, 'QDesktopServices'; $modules{'QDesktopServices'} = 'QtGui/qdesktopservices.h';
push @modules, 'QSound'; $modules{'QSound'} = 'QtGui/qsound.h';
#push @modules, 'QX11Info'; $modules{'QX11Info'} = 'QtGui/qx11info_x11.h'; todo
push @modules, 'QWindowDefs'; $modules{'QWindowDefs'} = 'QtGui/qwindowdefs.h';
push @modules, 'QSessionManager'; $modules{'QSessionManager'} = 'QtGui/qsessionmanager.h';
push @modules, 'QPaintDevice'; $modules{'QPaintDevice'} = 'QtGui/qpaintdevice.h';
push @modules, 'QPicture'; $modules{'QPicture'} = 'QtGui/qbitmap.h:QtGui/qmatrix.h:QtGui/qpicture.h';
push @modules, 'QRgb'; $modules{'QRgb'} = 'QtGui/qrgb.h';
push @modules, 'QColor'; $modules{'QColor'} = 'QtGui/qcolor.h';
push @modules, 'QColormap'; $modules{'QColormap'} = 'QtGui/qcolor.h:QtGui/qcolormap.h';
module_list view on Meta::CPAN
push @modules, 'QFrame'; $modules{'QFrame'} = 'QtGui/qframe.h';
push @modules, 'QGroupBox'; $modules{'QGroupBox'} = 'QtGui/qgroupbox.h';
push @modules, 'QLabel'; $modules{'QLabel'} = 'QtGui/qlabel.h';
push @modules, 'QProgressBar'; $modules{'QProgressBar'} = 'QtGui/qprogressbar.h';
push @modules, 'QSplitter'; $modules{'QSplitter'} = 'QtGui/qsplitter.h';
$classes{'QSplitterHandle'}{module} = 'QSplitter';
push @modules, 'QMimeSource'; $modules{'QMimeSource'} = 'QtGui/qmime.h';
push @modules, 'QClipboard'; $modules{'QClipboard'} = 'QtGui/qpixmap.h:QtGui/qclipboard.h';
push @modules, 'QDrag'; $modules{'QDrag'} = 'QtGui/qpixmap.h:QtGui/qdrag.h';
push @modules, 'QStackedWidget'; $modules{'QStackedWidget'} = 'QtGui/qstackedwidget.h';
push @modules, 'QDesktopWidget'; $modules{'QDesktopWidget'} = 'QtGui/qdesktopwidget.h';
push @modules, 'QCalendarWidget'; $modules{'QCalendarWidget'} = 'QtGui/qtextformat.h:QtGui/qcalendarwidget.h';
push @modules, 'QDockWidget'; $modules{'QDockWidget'} = 'QtGui/qdockwidget.h';
push @modules, 'QMainWindow'; $modules{'QMainWindow'} = 'QtGui/qmainwindow.h';
push @modules, 'QApplication'; $modules{'QApplication'} = 'QtCore/qlocale.h:QtGui/qicon.h:QtGui/qpalette.h:QtGui/qfontmetrics.h:QtGui/qsessionmanager.h:QtGui/qapplication.h';
push @modules, 'QAction'; $modules{'QAction'} = 'QtGui/qactiongroup.h:QtGui/qaction.h';
push @modules, 'QActionGroup'; $modules{'QActionGroup'} = 'QtGui/qactiongroup.h';
push @modules, 'QWidgetAction'; $modules{'QWidgetAction'} = 'QtGui/qwidgetaction.h';
push @modules, 'QLayoutItem'; $modules{'QLayoutItem'} = 'QtGui/qlayoutitem.h';
push @modules, 'QLayout'; $modules{'QLayout'} = 'QtGui/qlayout.h';
( run in 0.547 second using v1.01-cache-2.11-cpan-299005ec8e3 )