mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-11 09:03:40 +02:00
2019-10-07 Fred Gleason <fredg@paravelsystems.com>
* Refactored rdpopup(1) to use the 'RDDialog' and 'RDWidget' base classes.
This commit is contained in:
@@ -18,19 +18,16 @@
|
||||
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
//
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <syslog.h>
|
||||
|
||||
#include <qapplication.h>
|
||||
#include <qwindowsstyle.h>
|
||||
#include <qmessagebox.h>
|
||||
#include <qdatetime.h>
|
||||
#include <qwindowsstyle.h>
|
||||
|
||||
#include <rd.h>
|
||||
#include <rdapplication.h>
|
||||
#include <rdcmd_switch.h>
|
||||
#include <rdconfig.h>
|
||||
#include <rdfontset.h>
|
||||
|
||||
#include "rdpopup.h"
|
||||
|
||||
@@ -123,9 +120,9 @@ int main(int argc,char *argv[])
|
||||
break;
|
||||
}
|
||||
mb->setWindowIcon(QPixmap(rivendell_22x22_xpm));
|
||||
QFont font("helvetica",16,QFont::Bold);
|
||||
font.setPixelSize(16);
|
||||
mb->setFont(font);
|
||||
|
||||
RDFontSet *fs=new RDFontSet(config);
|
||||
mb->setFont(fs->progressFont());
|
||||
mb->exec();
|
||||
delete mb;
|
||||
|
||||
|
@@ -2,7 +2,7 @@
|
||||
//
|
||||
// A utility for displaying messages on the desktop
|
||||
//
|
||||
// (C) Copyright 2009-2018 Fred Gleason <fredg@paravelsystems.com>
|
||||
// (C) Copyright 2009-2019 Fred Gleason <fredg@paravelsystems.com>
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License version 2 as
|
||||
|
Reference in New Issue
Block a user