mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-09-13 20:23:04 +02:00
Minor : remove old code
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4660 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
parent
763b031fa3
commit
ed2e2bb290
@ -31,7 +31,7 @@ class QPrinter;
|
||||
*/
|
||||
class DiagramPrintDialog : public QWidget
|
||||
{
|
||||
//@TODO Remove definitely the commented lines in this class related to post script
|
||||
|
||||
|
||||
Q_OBJECT
|
||||
// Constructors, destructor
|
||||
@ -82,11 +82,9 @@ class DiagramPrintDialog : public QWidget
|
||||
QHBoxLayout *hlayout0_;
|
||||
QLabel *printer_icon_;
|
||||
QLabel *pdf_icon_;
|
||||
// QLabel *ps_icon_;
|
||||
QButtonGroup *printtype_choice_;
|
||||
QRadioButton *printer_choice_;
|
||||
QRadioButton *pdf_choice_;
|
||||
// QRadioButton *ps_choice_;
|
||||
QLineEdit *filepath_field_;
|
||||
QPushButton *browse_button_;
|
||||
QDialogButtonBox *buttons_;
|
||||
|
@ -68,15 +68,7 @@ ElementsPanelWidget::ElementsPanelWidget(QWidget *parent) : QWidget(parent) {
|
||||
filter_textfield -> setClearButtonEnabled(true);
|
||||
filter_textfield -> setPlaceholderText(tr("Filtrer"));
|
||||
|
||||
|
||||
//@TODO remove the commented code below
|
||||
// ajoute une petite marge a la droite du champ pour filtrer lorsque le style CleanLooks est utilise
|
||||
// if (qobject_cast<QCleanlooksStyle *>(QApplication::style())) {
|
||||
// int l, t, r, b;
|
||||
// filter_toolbar -> getContentsMargins(&l, &t, &r, &b);
|
||||
// filter_toolbar -> setContentsMargins (l, t, r + 4, b);
|
||||
// }
|
||||
|
||||
|
||||
context_menu = new QMenu(this);
|
||||
|
||||
connect(open_directory, SIGNAL(triggered()), this, SLOT(openDirectoryForSelectedItem()));
|
||||
|
@ -1349,12 +1349,7 @@ void QETApp::initLanguage() {
|
||||
void QETApp::initStyle() {
|
||||
initial_palette_ = palette();
|
||||
|
||||
//@TODO remove the code below
|
||||
// // lorsque le style Plastique est active, on le remplace par une version amelioree
|
||||
// if (qobject_cast<QPlastiqueStyle *>(style())) {
|
||||
// setStyle(new QETStyle());
|
||||
// }
|
||||
//Apply or not the system style
|
||||
//Apply or not the system style
|
||||
QSettings settings;
|
||||
useSystemPalette(settings.value("usesystemcolors", true).toBool());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user